On 2012-04-06 at 11:56 +0200, Arkadiusz Miśkiewicz wrote:
> > > Date: Wed, 4 Apr 2012 08:14:35 -0500
> > > From: <[email protected]>,
> > > <[email protected]>
> > > 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"@bbbb.pl>
----------------------------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------------------------------
<[email protected]>:
----------------------------8< cut here >8------------------------------
and '<[email protected]>' 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.

-Phil

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to