Re: [exim] How to set exim to manage the number of CC or BCC…

Top Page
Delete this message
Reply to this message
Author: Jasen Betts
Date:  
To: exim-users
Subject: Re: [exim] How to set exim to manage the number of CC or BCC addresses?
On 2015-02-04, Reinier Carmona Lizana <reinier.carmona@???> wrote:
> Hello, excuse me for my defficient english, I am not a native speaker. I
> have 3 mx servers and I am trying to set the limit the quantity of email
> destination, I have this in my exim.conf
>
>
> MAX_RCPT = 10
>
> begin acl
>
> acl_check_rcpt:
>
> deny   message       = Too many recipients
>          log_message   = Too many recipients. "$rcpt_count" rcpts
>          condition     = ${if >{$rcpt_count}{MAX_RCPT} {1}{0}}
>          senders       = ! FILTERDIR/senders_with_no_rcpt_limit


> and that work but only for TO addresses. I need the same for CC or BCC
> addresses, anyone have and idea that how I can do that?


that will work for CC and BCC addresses too, but only on the
originating server

BCC can only be checked on the originating server


TO, and CC can be checked in the DATA acl "acl_check_data:"

--
umop apisdn