Hi,

I know this is simple, but I never had to do it, so wanna check myself...

For outbound mail, do transport entries supersede the relayhost parameter in main.cf?

The reason I ask is, currently, I relay all outbound mail through our outsourced anti-spam service (smtp.example1.com).

We are having a problem sending to one domain, and until we get this resolved, I want to relay just mail destined for that one domain through our ISP (example2.com) - the rest should still go through our current relay, smtp.example1.com.

Currently, in main.cf I simply have:

relayhost = [smtp.example1.com]

I think all I need to do is add a single entry to my transport file, as:

problem-destination.com   relay:[smtp.example2.com]

Is this correct?

Or should I comment out the relayhost parameter altogether, and add two entries to my transport table, as:

problem-destination.com   relay:[smtp.example2.com]
*                         relay:[smtp.example1.com]

?

Tia...

--

Best regards,

Charles

Reply via email to