I'm trying to set things up so that mail set from
<anyuser>@domain1.com uses a relay of smtp.mailgun.org with a certain user/passwword
<anyuser>@domain1.com uses a relay of smtp.mailgun.org with a different user/passwword
So I have main.cf
smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = regexp:/etc/postfix/relayhost_map
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/passwd
But how do I define passwd file ? as the smtp host is the same?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.