On 8/25/2010 10:49 AM, Xavier Beaudouin wrote:
Hello there,

Maybe this is already spoken here, but it seems that more and more spam system 
looks into Received headers to score the mails.

Those stupid things doesn't honor such SMTP auth and then I really need to 
remove the Received line when SMTP Auth is used (and succesfull).

Is there anybody here that has already done that (yet I know this doesn't help 
when there is spam issues etc..).

I currently use Postfix 2.7.x... on freebsd :)

Regards,
Xavier


You can use header_checks REPLACE action, with some variation of

IF /^Received: .*Authenticated sender: .* by mail??\.oav\.net .* with ESTMPS?A/
/^Received: (.*)$/  REPLACE X-Auth-Submitted: $1
ENDIF


(my expression is untested, you may need to tweak it)


If you want to remove the header, you can use IGNORE rather than REPLACE. But best to keep it there.



  -- Noel Jones

Reply via email to