Re: [Exim] Force maximum recipients number in ACL

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: exim-users
Subject: Re: [Exim] Force maximum recipients number in ACL
>> I want to regulate the number of maximum recipients in the h_to
>> field let's say to three whithin the smtp-session (via acl's).
>
># deny if more than 3 recipients
>deny condition = ${if >{$recipients_count}{3}{yes}{no}}
>    message = $sender_address sent mail to $local_part@$domain \
>                       ($recipients_count) which is above the 3 count limit


You probably want to use recipients_max rather than an ACL.

Tony.
--
f.a.n.finch <dot@???> http://dotat.at/
RATTRAY HEAD TO BERWICK ON TWEED: VARIABLE 2 TO 4. FAIR. GOOD. SLIGHT OR
SMOOTH.