Re: [exim] count TO+CC+BCC and logwrite

Góra strony
Delete this message
Reply to this message
Autor: Wolfgang Breyha
Data:  
Dla: exim-users
Temat: Re: [exim] count TO+CC+BCC and logwrite
On 2013-10-10 19:38, Fabian Buss wrote:
> If count is > 100 per message I would like to logwrite the sender's email address.


In the DATA_ACL do:

warn  condition = ${if >{$recipients_count}{100}}
      log_write = recipients_count>100: sender_address=$sender_address; \
                  h_from=$h_from:


Greetings, Wolfgang
--
Wolfgang Breyha <wbreyha@???> | http://www.blafasel.at/
Vienna University Computer Center | Austria