Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postfix client-side smtp authentication (sasl) against one relay host

Status
Not open for further replies.

macgyvero

Technical User
Feb 2, 2009
2
DE
Hi,
my local Postfix server relays any incoming mail to the ISP's mailserver. That relayserver requires smtp-authentication, so i built the sasldb2.db with "mailserver.isp.com user@example.org:password" to do do. That works for one mailaccount.
The Postfix manual says that you can define different relayhosts with different login each (mail.isp1.com login:passwd / mail.isp2.org login:passwd etc.)
BUT now i have multiple Users to authenticate against one relayhost. He won't accept a mail from authenticated user1 when there is a user2 in the 'mail from:'.
Is my Postfix server not able to parse the 'mail from:' line and use this for a lookup on an sasl-login-table or something like that.
How can I solve this problem?


Greetings
Hauke
 
smtp_sasl_password_maps and smtp_sender_dependent_authentication = yes
thats it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top