Operating System - HP-UX
1837338 Members
3530 Online
110116 Solutions
New Discussion

Re: sendmail configuration

 
Sachin Patel
Honored Contributor

sendmail configuration

How do I configure my sendmail server so it will send internal email i.e sachin@dgc.com to one smtp1 server and all rest of them to second smtp2 server.

Sachin
Is photography a hobby or another way to spend $
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: sendmail configuration

I'd first try genericstable virtusertable

/etc/mail/genericstable
/etc/mail/virtusertable


generics
sachin@gdc.com someaccount@smtp2


vitusertable
someaccount@smtp2 sachin@gdc.com

smtp2 can have .forward set for that user to forward to its internal mail server.


Another idea:

Set smtp2 to allow RELAY in /etc/mail/access for your IP address only. Then set your mail clients to relay off smtp2

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com