1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Postfix main.cf being overwritten

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by matt-clements, Aug 6, 2011.

  1. matt-clements

    matt-clements Guest

    0
     
    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
     
  2. ArkadiC

    ArkadiC New Pleskian

    13
    60%
    Joined:
    Apr 5, 2012
    Messages:
    23
    Likes Received:
    0
    Matt

    Have you found a solution already?

    Thx!
    Arkadi
     
Loading...