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

Top Pagina
Delete this message
Reply to this message
Auteur: Fabian Buss
Datum:  
Aan: Wolfgang Breyha, exim-users@exim.org
Onderwerp: Re: [exim] count TO+CC+BCC and logwrite
Hi Wolfgang, hi Todd,

thank you very much for your reply.
I was writing a long story to Todd and just before I clicked Send your message arrived, Wolfgang.
Works fine, I think my mistake was to write it in the recipient-ACL.

Best regards,
Fabian
________________________________________
Von: exim-users-bounces+fabian=mybusymouse.de@??? [exim-users-bounces+fabian=mybusymouse.de@???]" im Auftrag von "Wolfgang Breyha [wbreyha@???]
Gesendet: Donnerstag, 10. Oktober 2013 21:11
An: exim-users@???
Betreff: 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

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/