Re: [exim] counting number of adresses in From

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Arkadiusz Miśkiewicz
Data:  
Para: exim-users
CC: Todd Lyons
Asunto: Re: [exim] counting number of adresses in From
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: <some@???>,
> > <someother@???>
> > User-Agent: Mozilla/5.0
>
> A continuation line *MUST* start with whitespace. This is fundamental
> to email parsing.
>
> If you insert a space at the start of the "<someother".. line, then
> $rh_from: and $h_from: both include the full data. If you don't, then
> neither does.
>
> Neither one sees more content than the other.


How to catch emails with such invalid header?

> -Phil


-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/