Operating System - HP-UX
1752786 Members
5753 Online
108789 Solutions
New Discussion

how to config Sendmail routing depends on receipent domain

 
Joseph Luk
Occasional Advisor

how to config Sendmail routing depends on receipent domain

Hi All,
I am running HPUX11v2 with sendmail configed . It working well to send all mail to one SMTP relay system. But now I need to make it send the mail to 2 difference SMTP relay STMP1 and STMP2 depends on the receipment domain.

I need if the mail is send to users@domainlocal then route to SMTP1 all other mail send to SMTP2.

Is it possible to configure the sendmail to do that?

Your help is much appreciated.
1 REPLY 1
Sameer_Nirmal
Honored Contributor

Re: how to config Sendmail routing depends on receipent domain

You can make use of "mailertable" functionality in sendmail for the purpose.

Take a look at this doc at

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080029412