How do I set up an external SMTP relay server for outgoing mail for Qmail?

Refers to:

  • Plesk for Linux

Created:

2016-11-16 12:51:27 UTC

Modified:

2016-12-21 19:23:09 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How do I set up an external SMTP relay server for outgoing mail for Qmail?

Question

I use Qmail and need to set up an external SMTP relay server for outgoing mail, how can I perform this?

Resolution

An external SMTP relay for Qmail can be set up in the $QMAIL\_ROOT\_D /control/smtproutes file. Add the relay server with the following command:

# echo ":RELAY_SERVER_NAME" > /var/qmail/control/smtproutes

(where RELAY\_SERVER\_NAME is the name of the SMTP relay server).

Then restart Qmail.

Have more questions? Submit a request
Please sign in to leave a comment.