This is the 'm4' source file for my sendmail.cf configuration file.
I keep all sendmail config files in /etc/sendmail, with symbolic links where other software requires a file in another location. For instance, sendmail expects to see /etc/sendmail.cf, which is a symlink to /etc/sendmail/sendmail.cf.
include(`/usr/local/src/sendmail-8.8.7/cf/m4/cf.m4') VERSIONID(`@(#)spade.mc') OSTYPE(linux)dnl DOMAIN(generic)dnl define(`confDOMAIN_NAME',`spade.com')dnl define(`confTRUSTED_USERS',`majordom')dnl define(`confCW_FILE',`/etc/sendmail/sendmail.cw')dnl define(`ALIAS_FILE', `/etc/sendmail/aliases')dnl MASQUERADE_AS(spade.com)dnl FEATURE(masquerade_entire_domain)dnl FEATURE(masquerade_envelope)dnl FEATURE(always_add_domain)dnl FEATURE(`virtusertable',`dbm -o /etc/sendmail/virtusertable')dnl FEATURE(`genericstable',`dbm -o /etc/sendmail/genericstable')dnl MAILER(local)dnl MAILER(smtp)dnl
The alias file contains the normal set of standard and personal aliases, and, as a helper for fetchmail, any mailing list that any of my users is subscribed to gets an aliase to the list of subscribers.
# Put any sendmail aliases in here # Standard aliases... postmaster: root # Personal aliases... The_Nice_guy: spade bspade: spade # Any subscribed mailing lists, with their subscribers... ex_adac: spade, ada linux-diald: spade pilot-unix: spade svlug: spade
@spade.com spade spade@spade.com spade ada@spade.com ada
ben spade@spade.com
Index,
Back
On to Fetchmail