Re: smtpd_delay_reject and smtpd_data_restrictions

From: Victor Duchovni (no email)
Date: Wed Dec 01 2004 - 15:04:45 EST


On Wed, Dec 01, 2004 at 08:49:06PM +0100, Ralf Hildebrandt wrote:

> I guess the smtpd_data_restrictions are always evaluated after the client's
> <CR><LF>.<CR><LF>
>
> Am I right?
>

No, the DATA restrictions are evaluated when "DATA" is sent, and the
response is "354 Go ahead..." if OK/DUNOO or "[45]XX ..." if REJECT/DEFER.

The 2.2 release has a new feature "smtpd_end_of_data_restrictions",
which is evaluated just before the response to "." is sent. This allows
for the message size to be scrutinized by a policy service.

-- 
	Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:?body=unsubscribe%20postfix-users>







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD