Re: problem getting reject_sender_login_mismatch to work
- Eric Haszlakiewicz:
>Yes, you missed the instructions in the mailing list welcome message.
> I'm trying to set up my mail server so it blocks emails that appears to
> come from the same address that they are going to. i.e.
> From: user@...
> To: user@...
> I figured a good way to do this would be with the reject_sender_login_mismatch
> which, according to the docs, not only prevents the above case, but can also
> avoid any other bogus from addresses from outside my network:
> Reject the request when $smtpd_sender_owner_maps specifies an owner for the MAIL
> FROM address, but the client is not (SASL) logged in as that MAIL FROM address
> owner; or when the client is (SASL) logged in, but the client login name
> doesn't own the MAIL FROM address according to $smtpd_sender_login_maps.
> Unfortunately, it doesn't seem to work as described. The
> smtpd_sender_owner_maps setting doesn't seem to do anything. Setting it
> doesn't cause an error, so it seems like it's a valid option. If I set
> smtpd_sender_login_maps instead, it *does* do something, but it applies to
> non-SASL authenticated clients, which is contrary to what the doc says.
> I managed to get it working in a way that seems to do what I need, but the
> mismatch between the docs and the behavior makes me a bit uneasy. Is there
> something I'm missing?
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html
Thank you for using Postfix.