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