MailScanner changes from address to local hostname

Bugs in eFa 4
Post Reply
detm_54
Posts: 2
Joined: 04 Dec 2017 09:30

MailScanner changes from address to local hostname

Post by detm_54 »

Hey guys,

I did a migration from version 3 (CentOS 6) to version 4 (CentOS 8) yesterday and so far everything works fine (almost out of the box).
Thank you for the step by step migration guide!

However there is this strange behaviour where the from header of mails routed from another internal postfix through eFa are changed from "root@domain1.com" to "root@efa.domain1.com". So eFa overrides the domain part with its own hostname and domain. Which makes it difficult for recipients to identify where mails actually came from.
This happens only when sending from root@ and only if sender and eFa domain are the same.

e.g.

Code: Select all

from "root@domain1.com" will be changed to "root@efa.domain1.com"
from "root2@domain1.com" - works
from "root@domain2.com" - works
It seems kinda similar but not the same issue as mentioned here, as

Code: Select all

masquerade_domains
is no longer part of main.cf and thereof no masquerading should occur.

The only thing I realized: it stops when removing msmilter from smtpd_milters.

Code: Select all

#smtpd_milters = inet:localhost:8891, inet:localhost:8893, inet:127.0.0.1:33333
smtpd_milters = inet:localhost:8891, inet:localhost:8893
Thanks for any help
Post Reply