• 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 Relay to external SMTP servers requiring SMTP authentication

GOTO Daisuke

New Pleskian
Server operating system version
CentOS 7
Plesk version and microupdate number
18.0.70
We are using the following environment.
In this environment, is it possible to relay only mail from a specific domain to an external SMTP server that requires SMTP authentication?

When relaying to an SMTP server that does not require SMTP authentication, the following is described in the /var/qmail/control/smtproutes file.

/var/qmail/control/smtproutes SAMPLE
gmail.com:example.com

The external SMTP server I want to use requires SMTP authentication. Therefore, this description cannot be used.
 
This article describes a simple method for qmail in which you'll need to apply the "qmail remote auth patch". I am not sure if that's compatible with the qmail setup in Plesk, but it might be worth a try.

An alternative would be to use Postfix instead. Which would also allow you to define sender relays on a per domain basis. This Serverfault answer touches on the basics and gives an example that you can use.

Hope this helps.
 
Last edited:
Back
Top