Le 16/09/2013 12:41, Wietse Venema a écrit :
Emmanuel Fust?:
Hello,
I did not find a way to "emulate" the behavior of
reject_sender_login_mismatch for authenticated connexions as for
unauthenticated connexions.
reject_authenticated_sender_login_mismatch
Enforces the reject_sender_login_mismatch restriction for
authenticated clients only. This feature is available in Postfix
version 2.1 and later.
reject_unauthenticated_sender_login_mismatch
Enforces the reject_sender_login_mismatch restriction for unau-
thenticated clients only. This feature is available in Postfix
version 2.1 and later.
Wietse
Sorry, I think I was not clear.
With reject_sender_login_mismatch :
- In the case of unauthenticated connexions, if the envelope sender
address is not in the map (no know SASL owner), the mail is accepted.
- In the case of authenticated connexions, if the envelope sender
address is not in the map (no know SASL owner), the mail is rejected.
I want to reject the mail for authenticated and unauthenticated
connexions if a SASL owner for the envelope sender address is know and
in the case of an authenticated connexion does not match.
reject_sender_login_mismatch is good for that.
But in either case, I want to accept the email if the envelope address
is not in the map. With the described behavior of
reject_sender_login_mismatch (which is in conformance with the
documentation), it is not the case.
Are you saying that instead of using "reject_sender_login_mismatch",
using "reject_authenticated_sender_login_mismatch,
reject_unauthenticated_sender_login_mismatch" will give me what I want ?
Thank you,
Emmanuel.