Re: Nulls not being stripped from incoming mail

2011-04-13 Thread Jeroen Geilman
On 04/13/2011 07:43 AM, Rich Wales wrote: Thanks, Jeroen, for your critique of my master.cf file. Per your suggestions, I'm removing the no_header_body_checks from my smtp configuration. I'm also moving the smtpd_recipient_restrictions into my main.cf, and making sure it's overridden as needed

Re: Nulls not being stripped from incoming mail

2011-04-12 Thread Wietse Venema
Rich Wales: I'm running Postfix 2.8.1 and Cyrus 2.3.16 on an Ubuntu 10.04 (Lucid) server. I'm having trouble with incoming mail from Google's Postini help forum. The messages I'm getting contain null characters in the body, so Cyrus is saying 554 5.6.0 Message contains NUL characters (in

Re: Nulls not being stripped from incoming mail

2011-04-12 Thread Wietse Venema
Wietse Venema: I added message_strip_characters = \0 to my Postfix's main.cf and did a reload of Postfix, but this doesn't seem to have had any effect on the problem. I did a Google search and found various complaints over the years from people claiming message_strip_characters = \0

Re: Nulls not being stripped from incoming mail

2011-04-12 Thread Wietse Venema
Rich sent me a couple files as requested. Of these, File mailnull.txt (UNIX mailbox format) has a null byte at the end of the last line. I send this into Postfix $ tail +2 nullmail.txt | sendmail wietse@localhost When I view my mailbox with less, the last line looks like:

Re: Nulls not being stripped from incoming mail

2011-04-12 Thread Jeroen Geilman
On 04/12/2011 08:59 PM, Rich Wales wrote: Wietse wrote: However, message_strip_characters has no effect when mail is received with receive_override_options = no_header_body_checks ... This is set either in master.cf or main.cf. And indeed, I have no_header_body_checks

Re: Nulls not being stripped from incoming mail

2011-04-12 Thread Rich Wales
Thanks, Jeroen, for your critique of my master.cf file. Per your suggestions, I'm removing the no_header_body_checks from my smtp configuration. I'm also moving the smtpd_recipient_restrictions into my main.cf, and making sure it's overridden as needed for all other parts of my master.cf file.

Nulls not being stripped from incoming mail

2011-04-11 Thread Rich Wales
I'm running Postfix 2.8.1 and Cyrus 2.3.16 on an Ubuntu 10.04 (Lucid) server. I'm having trouble with incoming mail from Google's Postini help forum. The messages I'm getting contain null characters in the body, so Cyrus is saying 554 5.6.0 Message contains NUL characters (in reply to end of DATA