On Tue, Aug 22, 2006 at 11:04:18AM +0200, Michael Fischer v. Mollard wrote:
    [...]
> recently there is a lot of spam containing 8-bit garbage before the message 
> id.
> 
> This stuff is rejected by cyrus ("LMTP error after DATA: 554 5.6.0 Message 
> contains invalid header"), but accepted by exim. "verify = header_syntax" 
> won't help, as it only checks the 'syntax of all header lines that can 
> contain lists of addresses'. What can I do to reject messages with 8-bit 
> characters in the header (and not in the address or subject header, as this 
> will reject legitimate mails)?

a condition in the DATA acl based on $hdr_Message-ID
matching [\200-\377]?

-- 
Q - What warning was given by you?              A - Horn
Q - What warning was given by the other party?  A - Moo 
(insurance claim form)

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

Reply via email to