Hi,
When i set up EFA 3 I was stupid enough to give it a FQDN on a local domain. So it is currently abc.xyz.local. Hence if anyone clicks on a link to report spam (great feature BTW) it works if they are on the LAN segment, but not if they access their mail through OWA or externally.
How do I change it now? I now want it to be the same FQDN as the MX record that points there.
Cheers in advance.
Change FQDN of EFA
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Change FQDN of EFA
(Note that this procedure has not been tested...use at your own risk!)
1) Change the hostname.domainname in /etc/sysconfig/network
2) Change the hostname.domainname and hostname in /etc/hosts
3) Execute:
Where <myhostname> is your hostname without the domain and without < >.
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
I will open an enhancement for this to be integrated into EFA-Configure in release 3.0.0.4.
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
I will open an enhancement for this to be integrated into EFA-Configure in release 3.0.0.4.
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Change FQDN of EFA
Thanks heaps Shawn. Duly noted that it is untested.shawniverson wrote:(Note that this procedure has not been tested...use at your own risk!)
...
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...
As it is only really the signature that matters, I might just change it for the time being to be the same as it's actual FQDN. This will achieve all that is needed for the time being. The remote users and the internal users will then be able to use the working links.
I will look out for the 3.0.0.4 update before I change everything else I think.
Thanks again.
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact: