"554 Message contains NUL characters"

Rob Siemborski rjs3 at andrew.cmu.edu
Tue Jun 29 12:06:45 EDT 2004


On Tue, 29 Jun 2004, Akihiro KAYAMA wrote:

> I want to receive them, because:
>
> 1. old rfc822(not 2822) does not forbid to use NUL chars. Many MTAs
>   and MDAs can deal with NUL chars without complaining. I don't want
>   to explain the details why I can't receive mails which others can
>   receive.

Since IMAP is forbidden from ever transmitting a NUL, the IMAP server 
would have to translate the message into a usable format before forwarding 
it on to the client anyway.  It is much easier to just reject the badly 
formed (according to RFC2822) message outright (especially given the work 
that would have to be done to make NULs acceptable in a C program).

> 2. they are almost SPAM which have forged sender. So bouncing them
>   will be ill-mannered behavior.

Then configure your MTA to reject them before forwarding them onto cyrus. 
Or, as others have suggested, have your MTA strip them.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

---
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