Tom Goring - 2013-10-21


I'm trying to set things up so that mail set from
<anyuser> uses a relay of with a certain user/passwword
<anyuser> uses a relay of with a different user/passwword

So I have

relayhost =
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

and relayhost_map

/$/ []:465
/$/ []:465

But how do I define passwd file ? as the smtp host is the same?