On 24.10.23 14:00, Mark Constable via Postfix-users wrote:
Hi folks, I have googled for this but not found a definitive answer.

I have two IPs for my postfix server and want to send out most emails
from one IP but a few via the alternate IP. I'm using this in main.cf...

sender_dependent_default_transport_maps = lmdb:/etc/postfix/sender_transport

and have a /etc/postfix/sender_transport file with...

@domain1   smtp1-out:
@domain2   smtp1-out:
@domain3   smtp2-out:
@domain4   smtp2-out:
@domain5   smtp2-out:
etc, with many more going out through smtp2-out.

Is it possible to use something like this?..

@domain1   smtp1-out:
@domain2   smtp1-out:
*          smtp2-out:

If possible then what is the exact config entry for a "wildcard" in this
situation?

is there any reason not to use smtp2-out as your default_transport?

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: "Let God Debug It!".
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to