Re: [Exim] message_size_limit

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Nico Erfurth
Date:  
À: Exim-users
Sujet: Re: [Exim] message_size_limit
Matthew Byng-Maddick wrote:
> On Tue, Apr 29, 2003 at 07:45:28PM +0200, Nico van der Dussen wrote:
>
>>I'm not sure if I understand this correctly:
>>acl_smtp_data kicks into action before the bulk of the message has
>>been transferred. Somewhere at the start of this "data" part of the
>
>
> Nope, you don't understand correctly.
>
> acl_smtp_data kicks in after the final dot. The $message_size variable
> then contains an accurate representation of how big the message is.


Well, but MOST MTAs I know of, are using the SIZE= extension of
MAIL FROM: and exim sets message_size according to this.

That means we can check the size in the smtp_mail_acl and later, but,
one should not depend on it! So, the best is to make the check in the
mail/rcpt-acl AND in smtp_data_acl. The first two will kick in when the
sending mta send the SIZE-argument, thet data_acl check will do a final
check, for all the others.

Nico