Change FQDN of EFA

Questions and answers about how to do stuff
Post Reply
ramtech
Posts: 56
Joined: 20 Sep 2013 01:31

Change FQDN of EFA

Post by ramtech »

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.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Change FQDN of EFA

Post by shawniverson »

(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:

Code: Select all

sudo hostname <myhostname>
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.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Change FQDN of EFA

Post by shawniverson »

ramtech
Posts: 56
Joined: 20 Sep 2013 01:31

Re: Change FQDN of EFA

Post by ramtech »

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...
Thanks heaps Shawn. Duly noted that it is untested.
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.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Change FQDN of EFA

Post by shawniverson »

:text-welcomewave:
Post Reply