Message contains NUL characters ...

Andrzej Adam Filip anfi at xl.wp.pl
Mon May 9 06:14:36 EDT 2005


John Fawcett wrote:
> Andrzej Adam Filip wrote:
> 
>>Marc G. Fournier wrote:
>>
>>
>>>On Sun, 8 May 2005, Greg A. Woods wrote:
>>>
>>>
>>>>If you can't re-configure or fix your MTA to reject messages that
>>>>contain NUL bytes (in either the headers or body -- it's all the same to
>>>>SMTP), then get a better mailer!!!!
>>>
>>> 
>>>Any idea on how wto set this up with postix?
>>
>>
>>Postfix may be compiled with support for PCRE reqular expressions.
>>
>>Use PCRE in body_check, header_checks to detect and reject NULs.
> 
> that's not possible at the moment, unless postfix has changed in
> the meantime. See for example in the postfix
> archives <20040928191559.GT12244 at piias899.ms.com>
> 
> http://marc.theaimsgroup.com/?l=postfix-users&m=109639901020327&w=2

As I understand regular expression will get to check everything *BEFORE* 
the first nul :-)

Sorry, I overestimated postfix capabilities.

-- 
Andrzej [en:Andrew] Adam Filip anfi at priv.onet.pl anfi at xl.wp.pl
---
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