Sendmail and multiple mail server

Richard Smith rdls at rdls.net
Mon Jan 15 14:23:50 GMT 2001


David Richards wrote:
> 
> Hi
>    is there any way for sendmail to route mail for domainA to mailserverA
> and route mail for domainB to mailserverB

The `mailertable' feature enables you to nail down routes without using
MX, particularly useful if you want to route to internal nodes through a
filewall.

The feature is enabled by default, but if you've edited the .mc file,
this is the line that enables it:

FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl


The `/etc/mail/mailertable' file contains one line for each route, such
as:

domainA    smtp:[mailserverA]
domainB    smtp:[mailserverB]


See `/usr/src/contrib/sendmail/cf/README' for a detailed description of
mailertables.

Hope this helps,
Richard.

________________________________________________________________________
This message has been checked for all known viruses, by Star Internet, 
delivered through the MessageLabs Virus Control Centre. 
For further information visit:
http://www.star.net.uk/stats.asp





More information about the Ukfreebsd mailing list