Hello,

for SRS testing I set up rewriting of e-mail headers in outgoing e-mail:

sender_canonical_maps=tcp:localhost:10001
sender_canonical_classes=envelope_sender,header_sender
remote_header_rewrite_domain=fantomas.sk

hoping that From: with foreign domain will be rewriten to SRS form.

Unfortunately it seems that this rewrites even Mail-Followup-To: header used by mutt for list mail and describes on https://cr.yp.to/proto/replyto.html

Mail-Followup-To: us...@spamassassin.apache.org

got rewritten to:

Mail-Followup-To: SRS0+a5ORj=V6=spamassassin.apache.org=us...@fantomas.sk

can I limit or set headers which are or are NOT to be overwritten via canonical_maps?

I see that Mail-Followup-To is defined in src/global/header_opts.c as

    "Mail-Followup-To", HDR_MAIL_FOLLOWUP_TO, HDR_OPT_SENDER,

but in this case I want to keep it as it is.

I'm using postfix 3.5.6-1+b1 on Debian 11.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese.

Reply via email to