可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
I have noticed that although I pass a custom return-path header in mails going through my postfix server, the header gets re-written. I would like to pass my own header or at least construct a header dynamically. This is cause I want to get bounced emails on a specific email address (hence I need to pass in the return-path).
Is this possible?
回答1:
You have to override message_drop_headers
to not include the return-path
.
message_drop_headers = "bcc, content-length"
http://www.postfix.org/postconf.5.html#message_drop_headers
回答2:
Have you set envelope sender address?
[-f
command line option for sendmail look alike provided by postfix]
Many MTAs copy envelope sender address into (overwritten) Return-Path:
header.