• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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