How do I configure Mailman to use a remote SMTP server?

Created:

2016-11-16 13:19:49 UTC

Modified:

2017-08-16 14:11:31 UTC

1

Was this article helpful?


Have more questions?

Submit a request

How do I configure Mailman to use a remote SMTP server?

Applicable to:

  • Plesk 12.0 for Linux

Question

How do I configure Mailman to use a remote SMTP server?

Answer

A remote SMTP server can be configured in /var/mailman/Mailman/Defaults.py or /usr/lib/mailman/Mailman/Defaults.py using the following directives:

# SMTP host and port, when DELIVERY\\_MODULE is 'SMTPDirect'. Make sure the
# host exists and is resolvable (i.e., if it's the default of "localhost" be
# sure there's a localhost entry in your /etc/hosts file!)

SMTPHOST = 'example.com'
SMTPPORT = 25

Mailman hasn't any ability to authorize itself on mail servers, so the server IP should be white listed on the remote mail server.

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