This is a simple mail server configuration. The machine is threering.clowns.org, but it is the mail server for clowns.org. In addition, is acts as a mail server for three domains and allows relay for a domain that people use for POP access.
OSTYPE(`linux')
DOMAIN(`generic')
FEATURE(dnsbl)
FEATURE(`virtusertable',`/etc/mail/virtusertable');
FEATURE(`genericstable',`/etc/mail/genericstable');
GENERICS_DOMAIN_FILE(`/etc/mail/sendmail.cw');
MASQUERADE_AS(`clowns.org')
FEATURE(masquerade_envelope)
MAILER(local) MAILER(smtp)
This file contains the incoming mail domains that need to be relayed to locally hosted domains.
bigtop.org retired-clowns.org circus.com bigisp.com
This file contains the local mail domains that are hosted by this host. to locally hosted domains.
bigtop.org retired-clowns.org circus.com
This file contains the local users that need to be rewritten when sent. Only this file controls the rewriting of both domain names and user names.
oldbozo bozo@retired-clowns.org ptbarnum owner@circus.com bailey bossman@bigtop.com patriciap tickets@bigtop.com
This file controls the conversion of incoming addresses to local users. Also, it allows the opportunity to handle some multiplexing of addresses and to handle address changes in a more friendly manner.
@retired-clowns.org oldbozo owner@circus.com ptsecretary bossman@bigtop.com baileysecretary tickets@bigtop.com patriciap clownapp@clowns.org bozo selzerwater@clowns.org winkydinky@bigtop.com bignose@clowns.org error:User has moved
The aliases file can be used to set up mailing lists and to perform some of the functions that are performed by the virtusertable.
help: sweetieface webmaster: admin,ringmaster clowns-list: :include:/usr/local/lists/allclowns stooges: larry,moe,curly
The access file is used to limit access to the sendmail capabilities. In this case, there are some domains that we don't want to accept mail from as well as some specific users.
publishersclearinghouse.com DISCARD bigbird@sesamestreet.com REJECT bigtop.org RELAY retired-clowns.org RELAY circus.com RELAY bigisp.com RELAY