Szerző: Phil Pennock Dátum: Címzett: Arkadiusz Miśkiewicz CC: exim-users, Todd Lyons Tárgy: Re: [exim] counting number of adresses in From
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.
For testing, you can put the above lines into a file "foo" and then run
"exim -bem foo" -- this is like "exim -be", but with many variables
initialised based on the email in file specified on the command-line.