Συντάκτης: Phil Pennock Ημερομηνία: Προς: Arkadiusz Miśkiewicz Υ/ο: exim-users, Todd Lyons Αντικείμενο: Re: [exim] counting number of adresses in From
On 2012-04-06 at 11:56 +0200, Arkadiusz Miśkiewicz wrote: > > > Date: Wed, 4 Apr 2012 08:14:35 -0500
> > > From: <some@???>,
> > > <someother@???>
> > > 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 upon this.
Beware that this:
----------------------------8< cut here >8------------------------------
<"some:other"@???>
----------------------------8< cut here >8------------------------------
would be a valid header line, with a header name of '<"some'.
The valid characters for a header-name are the printable US-ASCII
characters. This is dictated by RFC 5322. That line could as well be:
----------------------------8< cut here >8------------------------------
<someother@???>:
----------------------------8< cut here >8------------------------------
and '<someother@???>' would be the header name. If Exim didn't
accept it, then Exim would be buggy.
I think you may want to consider using separate spam-filtering software
to accomplish your goals.