Noel Jones skrev den 2013-04-11 18:29:

No, header_checks are performed on all incoming mail.

+1

As already explained, the problem above is that "-o
header_checks=..." has no effect on smtpd(5).

yes it included as it used all incomming, but not directly with smtpd

so you must change to to smtp_header_checks

smtp_header_checks are performed on outgoing mail during smtp(5)
delivery.

is submission not using smtp_header_checks ?

But you're sort of on the right track.  You can use
smtp_header_checks to remove the Received: headers from
authenticated mail before external delivery with something like:
/^Received: .*by myserver.example.com \(Postfix\) with ESMTPS?A
id.*$/  IGNORE

yep will soon try to apply it here

Geoff, please note I've seen some overanxious anti-spam systems that
consider mail with no Received: headers as spam.

can one show an example main.cf that remove all recieved headers on remote senders ?, there would allways be one last hop imho

--
senders that put my email into body content will deliver it to my own trashcan, so if you like to get reply, dont do it

Reply via email to