# # /etc/mail/mailertable # can be used to override routing for particular domains # # primarily used for conversion to different mail systems, such as UUCP and DECnet # # # Original File # ------------- # http://www.Linux-Sec.net/Mail/etc.mail/mailertable # # Other Docs # ---------- # http://www.sendmail.org/m4/mailertables.html # http://www.suse.de/~mha/swat-sendmail/example/example-help.html # http://www.cs.montana.edu/harkin/courses/cs409/outline/15-email/outline.html # http://www.lisa.franken.de/horshack/linux/mail_sendmail_etc.html # # # To Install # ----------- # cd /etc/mail # makemap hash mailertable < mailertable # # restart sendmail # # # # 13-Dec-02 amo Added Examples in Comments, montana.edu # # # mailer: domain # local: user # local: # error: Error Msg # # # default mailhub # . smtp:mailhub.domain.com # # # send all email for a special host to another host or to a specific IP # host.sub.org smtp:host.domain.com # host.sub.org smtp:[192.168.0.1] # # # send email for all hosts below .sub.org to another host # .sub.org smtp:host.domain.com # # # send all email for a specific host to one local user called "foo" # host.sub.org local:foo # # end of file