----- Original Message ----- 

> From: "Ray" <[email protected]>
> To: [email protected]
> Sent: Wednesday, October 14, 2015 3:27:01 PM
> Subject: Is it possible to have different systems for sending email (send
> directly, relay host) configurable via tables?

> Hello List,

> on occasions I get problems with sending emails to our clients, and we sent a
> moderate amount (some 10th of thousands of mails) a day. This is strictly
> transactional, no comercial email.

> Sometimes I have delivery problems which are very localised. Right now we
> seem to have difficulties only in one country and from one speficic from
> domain.

> What I would like to implement is a loose table based system to be able to
> choose how I sent emails. Right now I would like to say that all mails with
> a from of no [email protected] should be sent with relay host XXXX. And the rest
> should be delivered normally via smtp.

> I also would like to say: if destination is @hotmail.com send with relay host
> XXXX, or would it be even possible to say: if mx server are COUNTRY, use
> relay host XXXX?

> Right now the only thing I am able to do is use dnsmasq and create fake MX
> records for destination domains. Which works, but It would be nice to have
> it directly within postfix too, as not to relay on another piece of
> software.

I think I just found the answer myself. It seems 
sender_dependent_default_transport_maps or sender_dependent_relayhost_maps is 
the way to go. 

I guess I should have checked the postfix docu earlier, seems as google does 
not have lot's of infos on that special subject. 

Best
Ray

Reply via email to