exim-4.41 and NUL characters

Philip Chambers P.A.Chambers at exeter.ac.uk
Fri Jul 30 11:16:40 EDT 2004

Cyrus users who also use Exim may be interested to know that the latest release of 
Exim (4.41) has a facility for rejecting messages which have NUL characters in the 
body.  This means such messages can be rejected before Exim tries to pass them to 
cyrus.  In my case this cuts down on quite a lot of dross in the exim queue, since 
most such messages are spam.

Exim-4.41 has a variable ($body_zerocount) which can be used in a DATA acl:

  deny  message = Message contains a NUL character
        condition = ${if >{$body_zero_count}{0} {yes}{no}}

Phil Chambers (postmaster at exeter.ac.uk)
University of Exeter

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

More information about the Info-cyrus mailing list