|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Can't block specific sender email address
From: Craig Sanders (cas
taz.net.au)
Date: Thu May 25 2006 - 09:26:21 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, May 25, 2006 at 09:57:41AM -0400, Victor Duchovni wrote:
> No. For a message to be delivered to a recipient, each and *every* one of:
>
> smtpd_client_restrictions
> smtpd_helo_restrictions
> smtpd_sender_restrictions
> smtpd_recipient_restrictions
> smtpd_data_restrictions
> smtpd_end_of_data_restrictions
>
> must return OK (explicit permit) or DUNNO (explicit or fall of the list).
> An OK in one of the stages, only short-circuits *that* stage. The remaining
> stages are still evaluated.
then please explain why the OP's configuration wasn't rejecting mail
from xyz
yahoo.com when he had that address in the sender restrictions
map, and testing it with 'postmap -q' was correctly flagging it as a
reject.
my first thought was that he was confusing headers with envelope, but
the logs he provided showed that wasn't the case.
i didn't spend a huge amount of time poring over it, but the only
slightly odd thing i could see with his main.cf was the explicit permit
rule at the end of smtpd_client_restrictions. fair enough, sounds like
that may not be the cause - so what is?
craig
--
craig sanders <cas
taz.net.au> (part time cyborg)
my postfix scripts are at http://taz.net.au/postfix/scripts/
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]