Re: [exim] mime_part_count acl

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Sherman
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] mime_part_count acl
Michael Haardt wrote:
>
> This acl rule should work, using a ACL variable to count parts:
>
>   deny    set acl_c1 = ${eval: $acl_c1+1}
>           message = "Too many attachments"
>           condition = ${if >= {$acl_c1}{200}{1}{0}}


That'll fail if I send 51 different messages to your site in a single
connection, each with four attachements. You want to use acl_m1 for this.

- Marc