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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Wolfgang Breyha
Dátum:  
Címzett: exim-users
Tárgy: 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