> Le 22 août 2015 à 15:46, Viktor Dukhovni <postfix-us...@dukhovni.org> a écrit 
> :
> 
> Is the policy service check in "smtpd_recipient_restrictions", in
> "smtpd_end_of_data_restrictions" or both?
The policy server is called at smtpd_end_of_data_restrictions stage.

> The message size is not always known at "RCPT TO" time, the real
> size is known only at "end of data" time.  However Postfix does
> not store the full recipient list in memory, so your policy service
> would have the compute the lowest per-recipient message size as
> each recipient goes by, and then apply that limit at "end of data"
> time (using "instance" attribute to correlate the recipients with
> each other and the final end-of-data check).
> 
So if I understand correctly, the problem I actually have appears only when 
there are multiple recipient. And this is because this is not correctly handle 
by the policy server.

Reply via email to