LMTPD error on NUL characters

Andrzej Filip anfi at priv.onet.pl
Mon Jun 23 08:35:13 EDT 2003


Ramprasad A Padmanabhan wrote:
> Sometimes I get such Kind of errors,
> 
> <fozbaca at rss.blogstreet.com <mailto:fozbaca at rss.blogstreet.com>>: host 
> /var/imap/socket/lmtp[/var/imap/socket/lmtp]
>     said: 554 5.6.0 Message contains NUL characters (in reply to end of DATA
>     command)
> 
> Looked up on google ( I dont Know How will I survive without google)
> 
> People have said  run 'tr -d \\000' on the file before delivery
> But Only a small percentage of my mails give this error and it is not 
> worth scanning all mails for NUL chars
> Is there a better way

If you use sendmail as your MTA then you can add F=1 flag to cyrusv2 mailer 
specification.

MODIFY_MAILER_FLAGS(`CYRUSV2',`+1')dnl

-- 
Andrzej [pl>en: Andrew] Adam Filip http://www.polbox.com/a/anfi/
anfi at priv.onet.pl anfi at xl.wp.pl [former: anfi at Box43.pl]





More information about the Info-cyrus mailing list