• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Postfix main.cf being overwritten

M

matt-clements

Guest
Hello,
I have a number of servers on Plesk 9.X and 10.X and due to some recent problems with our ISP etc we now pipe all our email through an external server. All these servers use Postfix as their MTA, as does our Mail Relay.

I can get this working perfectly by adding the line:
relayhost = xxx.yyy.com


However - tonight I had reports that our old problem was back (before we started to use a Relay Host), so I had a look to find out that mail from this server was no longer filtering through the relay host, I look inside /etc/postfix/main.cf and the line with the relayhost has vanished.

So my queries:
1. Why would this line have disappeared (Plesk Update [Which I don't believe has been done], Server reboot [again I don't believe this has been done], Random Config Rebuild, etc etc)
2. Is there anyway of "officially" adding the relayhost line within the main.cf so that this will always be in place.

Thanks in advance!

Matt
 
Back
Top