Re: [exim] counting number of adresses in From

2012-04-06 Thread Phil Pennock
On 2012-04-05 at 13:55 +0200, Arkadiusz Miśkiewicz wrote: $h_from failed on something, so now using $rh_from and that works well but there are emails like this: Date: Wed, 4 Apr 2012 08:14:35 -0500 From: s...@aaa.pl, someot...@.pl User-Agent: Mozilla/5.0 A continuation line *MUST*

Re: [exim] counting number of adresses in From

2012-04-06 Thread Arkadiusz Miśkiewicz
On Friday 06 of April 2012, Phil Pennock wrote: On 2012-04-05 at 13:55 +0200, Arkadiusz Miśkiewicz wrote: $h_from failed on something, so now using $rh_from and that works well but there are emails like this: Date: Wed, 4 Apr 2012 08:14:35 -0500 From: s...@aaa.pl, someot...@.pl

Re: [exim] counting number of adresses in From

2012-04-06 Thread Phil Pennock
On 2012-04-06 at 11:56 +0200, Arkadiusz Miśkiewicz wrote: Date: Wed, 4 Apr 2012 08:14:35 -0500 From: s...@aaa.pl, someot...@.pl User-Agent: Mozilla/5.0 How to catch emails with such invalid header? Edit the source code, receive.c, around line 1775, to set some variable based

Re: [exim] counting number of adresses in From

2012-04-05 Thread Arkadiusz Miśkiewicz
On Tuesday 06 of September 2011, Todd Lyons wrote: On Tue, Sep 6, 2011 at 1:11 AM, Arkadiusz Miskiewicz ar...@maven.pl wrote: exim doesn't have any builtin way to count number of elements. Yeah, would be nice. For your particular query, there is a recipient count, but not a sender count,

[exim] counting number of adresses in From

2011-09-06 Thread Arkadiusz Miskiewicz
exim doesn't have any builtin way to count number of elements. Recently there are spams with From like this: From: a...@1.pl, b...@2.pl, c...@3.pl To: a...@1.pl, b...@2.pl, c...@3.pl so few addresses in From list. Looking for something like: deny message = you are bad condition = ${if

Re: [exim] counting number of adresses in From

2011-09-06 Thread Todd Lyons
On Tue, Sep 6, 2011 at 1:11 AM, Arkadiusz Miskiewicz ar...@maven.pl wrote: exim doesn't have any builtin way to count number of elements. Yeah, would be nice. For your particular query, there is a recipient count, but not a sender count, which is what you want. Looking for something like: