After over a year of trouble free operation I ran into a problem today.
I needed to change the server name / host name of the machine and did this in the usual places - /etc/hostname, /etc/hosts, /home/admispconfig/ispconfig/lib/config.inc.php and /root/ispconfig/httpd/conf/httpd.conf
This change was also reflected in ISPConfig|Management|Server|Settings
Now, Postfix still seems to be trying to use the old hostname. I added the new details in /etc/postfix/main.cf (I didn't need them there for the old host name) and reloaded postfix (even did a server restart)
postconf - d correctly lists the new host but postconf -n lists the old
When mail comes in Postfix is trying to map messages to
username@oldhostname.mydomain.com instead of
username@oldhostname.mydomain.com and the Postfix banner still refers to the old host name.
As Postfix was attempting to resolve the old host name (no longer listed in DNS) it was just delaying and queuing mail. I've had to do a temporary workaround of adding oldhostname.mydomain.com to /etc/local-host-names to keep mail flowing.
I can't figure out where Postfix is pulling the old setting from and why changes made in main.cf aren't being processed.
Any ideas guys?
Many thanks in anticipation .....
Recent comments
1 day 6 hours ago
1 day 6 hours ago
1 day 11 hours ago
1 day 18 hours ago
1 day 18 hours ago
1 day 20 hours ago
2 days 23 min ago
2 days 7 hours ago
2 days 10 hours ago
2 days 12 hours ago