Re: [Exim] filter out multiple forwards

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tamas TEVESZ
Datum:  
To: rossz
CC: exim-users
Betreff: Re: [Exim] filter out multiple forwards
On Wed, 18 Dec 2002, Rossz Vamos-Wentworth wrote:

> I'd also like to implement a filter that counts the number of addresses in the To: line and bounces
> if there are too many. I'm just not sure how to go about doing that (I'm new at exim, give me


what about checking for the number of atsigns in the to header ? sth
like


${if eq{${length_10:${sg{$h_to:}{[^@]}{}}}}{@@@@@@@@@@}{yes}{no}}

so that you get a 'yes' here if there are 10+ recipients :)

this is not perfect, but might raise some thoughts out there.


--
[-]
... and the rest is silence.