EFA incorrect hostname
Posted: 12 Dec 2023 21:25
Hello,
I find in the header of emails that come from one of our EFA boxes it has the wrong hostname in certain areas.
Return-Path: <no-reply@efaz.ourdomain.com>
Received: from efax.localdomain (UnknownHost [172.22.xx.xx])
The efaz is the correct server name, so I cannot find were it is getting the efax.
And where is "localdomain" defined in the cofiguration?
I went through these host name settings from Shawn and they all show efaz, efax is nowhere in these config files.
1) Change the hostname.domainname in /etc/sysconfig/network
2) Change the hostname.domainname and hostname in /etc/hosts
3) Execute: Code: Select all sudo hostname <myhostname>
4) Change Hostname = hostname.domainname in /etc/MailScanner/MailScanner.conf
5) Change Hostname and Domainname in /etc/EFA-Config
6) Modify Postfix Transports using EFA-Configure to correct the domain name
7) Modify Inline Signature rules using EFA-Configure to correct the domain name
8) Modify /var/www/html/mailscanner/conf.php and change the domain name of the QUARANTINE_FROM_ADDR definition
Reboot the system
How do I change the to the correct host and domain name?
Thanks,
Todd
I find in the header of emails that come from one of our EFA boxes it has the wrong hostname in certain areas.
Return-Path: <no-reply@efaz.ourdomain.com>
Received: from efax.localdomain (UnknownHost [172.22.xx.xx])
The efaz is the correct server name, so I cannot find were it is getting the efax.
And where is "localdomain" defined in the cofiguration?
I went through these host name settings from Shawn and they all show efaz, efax is nowhere in these config files.
1) Change the hostname.domainname in /etc/sysconfig/network
2) Change the hostname.domainname and hostname in /etc/hosts
3) Execute: Code: Select all sudo hostname <myhostname>
4) Change Hostname = hostname.domainname in /etc/MailScanner/MailScanner.conf
5) Change Hostname and Domainname in /etc/EFA-Config
6) Modify Postfix Transports using EFA-Configure to correct the domain name
7) Modify Inline Signature rules using EFA-Configure to correct the domain name
8) Modify /var/www/html/mailscanner/conf.php and change the domain name of the QUARANTINE_FROM_ADDR definition
Reboot the system
How do I change the to the correct host and domain name?
Thanks,
Todd