Sendmail

Typical Server Macro File
divert(-1) divert(0) include(`/usr/share/sendmail-cf/m4/cf.m4') VERSIONID(`$Id: sendmail-procmail.mc 2010-10-28 plittlefield Exp $') OSTYPE(linux) DOMAIN(generic) DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA') DAEMON_OPTIONS(`Port=smtp,Addr=192.168.0.200,Name=MTA') define(`ALIAS_FILE', `/etc/mail/aliases') define(`STATUS_FILE',`/etc/mail/statistics') define(`SMART_HOST',`[smtp.myisp.co.uk]') FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db') FEATURE(`access_db') FEATURE(`genericstable') FEATURE(`relay_entire_domain') FEATURE(`accept_unresolvable_domains') FEATURE(`smrsh',`/usr/sbin/smrsh') FEATURE(`local_lmtp',`/usr/sbin/mail.local') FEATURE(`local_procmail') FEATURE(`no_default_msa') FEATURE(`limited_masquerade') FEATURE(`masquerade_envelope') MASQUERADE_AS(`mydomain.co.uk') MASQUERADE_DOMAIN(`server1.mydomain.co.uk') EXPOSED_USER(`root') MAILER(local) MAILER(smtp) MAILER(procmail)