[CentOS] sendmail routing

Clint Dilks clintd at scms.waikato.ac.nz
Wed Sep 2 05:15:07 UTC 2009


Hugh E Cruickshank wrote:
> From: Les Mikesell Sent: September 1, 2009 21:18
>   
>> But what it actually said was:
>>
>> "What I would like to do is route (relay?) any outgoing emails that
>> are from emails addresses using only one of those domains to a
>> separate SMPT server."
>>
>> Which didn't sound like routing _to_ one of the domains.  So 
>> maybe neither 
>> approach will work.
>>     
>
> Hi Les:
>
> You are correct. I was referring to routing email _from_ one of our
> domain names through a separate mail server then out to the 'net.
> Upon rereading the mailertable doc it appears that this is for routing
> email _to_ on of our domain names so it will not work for what I was
> looking for.
>
> The reason I was trying to do this is that we have our production
> sever sending out automated emails from one location and our sales
> and support staff sending out emails from another location both using
> one domain name. I was trying to consolidate all email for this 
> domain name to/from one mail server.
>
> It is not critical but it would have been nice to do. I am not going
> to waste too much more effort on this as I have more critical things
> that need my time.
>
> Thanks to all that replied!
>
> Regards, Hugh
>
>   
Hi Again

Unless I am completely confused won't using mailer table with the option

.domain		smtp:[gateway.domain]

where .domain is the domain you are concerned with do what you wish ?




More information about the CentOS mailing list