On Wed, Mar 19, 2014 at 10:06:38PM +0100, Patrick Ben Koetter wrote:

> Would it be technically feasible to transmit the following states too?
> 
> - SASL login attempted to use a non-permitted envelope-sender

This is only detected when one of "reject_sender_login_mismatch"
and friends fails, generally during "RCPT TO" because of
"smtpd_delay_reject".

If you place the policy check in the recipient restrictions, and
there is only one recipient, then either the policy check is before
this is detected (so no signal) or the policy check is not performed
(REJECT terminates restriction processing).

Since this check is the same for all recipients, none succeed, and
thus "DATA" is also rejected, so likely again no call to the policy
service.

-- 
        Viktor.

Reply via email to