• 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

Question Use plesk mail server AND relay ALL outgoing emails to other SMTP Server

SamH87

New Pleskian
I am trying to use plesk as a mail server, so IMAP and Webmail, but want all my outgoing mail to go through a 3rd party SMTP Service who filter our incoming mail also. I am getting mixed thoughts online as to whether you can do this. I know that on the plesk CP you have to select either SMTP relay or use postfix, but is it possible to modify the config in postfix to use as a full email server but also relay all outgoing mail to another server?
 
I have Plesk running as a normal mail server. I added the following line to /etc/postfix/main.cf to send all outgoing mail to another server.

relayhost = pmg.deine-domain.de:26

in this case server pmg.deine-domain.de on port 26.

As I do not want Plesk to accept smtp directly, I have blocked port 25 in the firewall, except from the server that receives my mail.

Pop3/imap/webmail are still open and usuable on the Plesk server.
 
Back
Top