Re: postfix strip æøå (highbit chars)
Benny Pedersen wrote: i like to have postfix strip these chars in headers so amavisd does not block the mails with bad header, well maybe it kill dkim :/ but is there better options ? reject and let senders solve it ? The better option is to configure amavisd-new to accept bad headers. I'm pretty sure amavisd-new accepts bad headers by default, but here are some settings you can look for. # amavisd.conf $final_bad_header_destiny = D_PASS; @bypass_header_checks_maps = (1); You could configure postfix to reject such mail, but then you'll lose otherwise legit mail. -- Noel Jones
Re: postfix strip æøå (highbit chars)
On Wed, July 22, 2009 17:50, Noel Jones wrote: Benny Pedersen wrote: i like to have postfix strip these chars in headers so amavisd does not block the mails with bad header, well maybe it kill dkim :/ but is there better options ? reject and let senders solve it ? The better option is to configure amavisd-new to accept bad headers. if sender do this, it wont catch there problem I'm pretty sure amavisd-new accepts bad headers by default, but here are some settings you can look for. yes, maybe # amavisd.conf $final_bad_header_destiny = D_PASS; @bypass_header_checks_maps = (1); if i do this my amavisd wont catch my own problem at remote when some send mail from my server to another server, chicken and egg problem to solve You could configure postfix to reject such mail, but then you'll lose otherwise legit mail. yes legit problem also if all accepts, then its no problem :/ -- xpoint
Re: postfix strip æøå (highbit chars)
On Wed, July 22, 2009 21:27, Stefan Förster wrote: * Benny Pedersen m...@junc.org wrote: On Wed, July 22, 2009 17:50, Noel Jones wrote: You could configure postfix to reject such mail, but then you'll lose otherwise legit mail. yes legit problem also This is probably a stupid question, but are those characters really allowed in email headers? rfc strictly no, header need to be 7bit clean, but default postfix accept 8bit -- xpoint
Re: postfix strip æøå (highbit chars)
Stefan Förster wrote: * Benny Pedersen m...@junc.org wrote: On Wed, July 22, 2009 17:50, Noel Jones wrote: You could configure postfix to reject such mail, but then you'll lose otherwise legit mail. yes legit problem also This is probably a stupid question, but are those characters really allowed in email headers? No, raw 8 bit characters are not allowed in headers. They must be encoded such as they are in this message. Subject: Re: postfix strip =?utf-8?B?w6bDuA==?= =?utf-8?B?w6U=?= (highbit chars) Most MUA's take care of encoding the headers automatically, but it's a common enough problem that blocking mail with 8 bit characters in the header is not recommended. At any rate, unless 8 bit characters in headers are causing some specific problem, it's not worth blocking them. -- Noel Jones
Re: postfix strip æøå (highbit chars)
On Wed, July 22, 2009 21:41, Noel Jones wrote: At any rate, unless 8 bit characters in headers are causing some specific problem, it's not worth blocking them. back to my first question on how to -- xpoint
Re: postfix strip æøå (highbit chars)
Benny Pedersen wrote: On Wed, July 22, 2009 21:41, Noel Jones wrote: At any rate, unless 8 bit characters in headers are causing some specific problem, it's not worth blocking them. back to my first question on how to http://www.postfix.org/postconf.5.html#strict_7bit_headers -- Noel Jones
Re: postfix strip æøå (highbit chars)
On Wed, July 22, 2009 22:00, Noel Jones wrote: http://www.postfix.org/postconf.5.html#strict_7bit_headers if postfix changed defaults to yes, then i belive problematic senders would change there problem php mail() is imho not mime compliant -- xpoint
Re: postfix strip æøå (highbit chars )
On Jul 22, 2009, at 4:06 PM, Benny Pedersen m...@junc.org wrote: On Wed, July 22, 2009 22:00, Noel Jones wrote: http://www.postfix.org/postconf.5.html#strict_7bit_headers if postfix changed defaults to yes, then i belive problematic senders would change there problem Oh please. The functionality exists for you to be strict on this. By all means, go for it. The rest of us still care about ensuring delivery of legitimate mail, however 'broken' it might appear to you. :)
Re: postfix strip æøå (highbit chars)
On Wed, July 22, 2009 22:12, Sahil Tandon wrote: On Jul 22, 2009, at 4:06 PM, Benny Pedersen m...@junc.org wrote: On Wed, July 22, 2009 22:00, Noel Jones wrote: http://www.postfix.org/postconf.5.html#strict_7bit_headers if postfix changed defaults to yes, then i belive problematic senders would change there problem Oh please. The functionality exists for you to be strict on this. By all means, go for it. The rest of us still care about ensuring delivery of legitimate mail, however 'broken' it might appear to you. :) its all the same when uribl.com is down and cant handle one more domain ?, block localy it will solve all your problem too -- xpoint