• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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