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:

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

Phil.
---------------------------------------
Phil Chambers ([EMAIL PROTECTED])
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

Reply via email to