OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: sender_dependent_relayhost_maps on Postfix 2.4.0

From: Robert Schetterer (robertschetterer.org)
Date: Tue Jul 03 2007 - 18:17:23 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sandy Drobic schrieb:
> 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
> user1gmx.de [mail.gmx.de]
> user2gmx.de [mail.gmx.de]
>
> /etc/postfix/smtp_relayhost_auth:
> #format: sender-address username:password
> user1gmx.de user1gmx.de:password1
> user2gmx.de user2gmx.de:password2
>
> Now I am scratching my head trying to find a real-world application for it...
>
>
Hi Sandy, i use it for a kind of hiding
a mailserver after anonther one,
youre right , this is only usefull
in rare situations,
In my case it has perfomance reasons cause one domain is heavy
bombed by spam connects.

- --
Mit freundlichen Gruessen
Best Regards

Robert Schetterer

https://www.schetterer.org
Germany
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGitkDfGH2AvR16oERAgFeAJ44k4/aQGZ5pSx4Bl5ML0eaBr4j7wCffFAC
eHBLUl9wPmLWxZWgTpsrHsQ=
=vtEC
-----END PGP SIGNATURE-----