Robert011497
asked on
Using Sendmail as a mail router
How do i set up sendmail (8.7) so that incoming smtp mail to a linux box will automatically be routed on to other smtp mail servers. Using the following rules
Incoming mail XXX@domain1.com is to be routed on to another smtp mail server (local to the network) based on XXXX
ie Fred@domain1.com -> fred@mailserver1.domain1.c om
Bob@domain1.com -> Bob@mailserver2.demon1.com
Any other mail eg XXXX@anyolddomain.com is forwarded to a smarthost run by our internet provider.
Can this be achieved without a local dns server to look up the mailserver1 and mailserver2 ip addresses. Can sendmail be told to route to a ip address
eg fred@domain1.com -> Fred@192.168.1.1
where 192.168.1.1 is a local mail server
Robert
Incoming mail XXX@domain1.com is to be routed on to another smtp mail server (local to the network) based on XXXX
ie Fred@domain1.com -> fred@mailserver1.domain1.c
Bob@domain1.com -> Bob@mailserver2.demon1.com
Any other mail eg XXXX@anyolddomain.com is forwarded to a smarthost run by our internet provider.
Can this be achieved without a local dns server to look up the mailserver1 and mailserver2 ip addresses. Can sendmail be told to route to a ip address
eg fred@domain1.com -> Fred@192.168.1.1
where 192.168.1.1 is a local mail server
Robert
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.