I'm trying to configure postfix to send e-mail over multiple hosts per sender domain. In general, the following guide is OK: https://documentation.n-able.com/sp...utgoing-filtering/postfix-sender-bsd-rout.htm
It works as expected.
But... I would like to have multiple hosts for sending and I couldn't make it! It works well as long as I have 1 sendrelay per domain:
I have tried various combinations for multiple domains, ex:
So, I want to get server rotation, first mail to be sent from host1a, second from host1b... e.t.c.
Any hints?
Also, next stage... very complicated: to combine sender and receiver domain (ex: @domain1 sending to @domain2 to use host1a, host1b, host1c; @domain1 sending to @domain3 to use host1d,host1e...)
It works as expected.
But... I would like to have multiple hosts for sending and I couldn't make it! It works well as long as I have 1 sendrelay per domain:
Code:
@domain1 host1
@domain2 host2
I have tried various combinations for multiple domains, ex:
Code:
@domain1 host1a, host1b
@domain2 host2a, host2b
So, I want to get server rotation, first mail to be sent from host1a, second from host1b... e.t.c.
Any hints?
Also, next stage... very complicated: to combine sender and receiver domain (ex: @domain1 sending to @domain2 to use host1a, host1b, host1c; @domain1 sending to @domain3 to use host1d,host1e...)