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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Wolfgang Breyha
Date:  
À: exim-users
Sujet: 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