|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Sandy Drobic (postfix-users
japantest.homelinux.com)
Date: Tue Jul 03 2007 - 17:02:51 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mark Watts wrote:
>>
maildomainname servername
>>
>> i.e.
>>
>>
example.com serverrelay.example.net
>>
>> in sender_dependent_relayhost_maps
>>
>> this works like charme
>
> Seems as though I tried everything except the obvious :)
Are you sure that you really need sender_dependent_relayhost_maps?
It is usually only needed, if you have more than one sender address that
wants to auth against one destination server.
This is the configuration that I tested just today:
/etc/postfix/main.cf:
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhost
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_relayhost_auth
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes
/etc/postfix/sender_relayhost
#format: sender-address relayhost
user1
gmx.de [mail.gmx.de]
user2
gmx.de [mail.gmx.de]
/etc/postfix/smtp_relayhost_auth:
#format: sender-address username:password
user1
gmx.de user1
gmx.de:password1
user2
gmx.de user2
gmx.de:password2
Now I am scratching my head trying to find a real-world application for it...
--
Sandy
List replies only please!
Please address PMs to: news-reply2 (
) japantest (.) homelinux (.) com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]