[Mailman-Users] Configuring mailman to send email via another port (not port 25)

Brad Knowles brad at shub-internet.org
Wed Jan 16 08:54:17 CET 2008

On 1/16/08, Spyro Polymiadis wrote:

>  Is there a way to configure mailman to not send mail to lists members via
>  the default SMTP port?
>  Can I force it to use a second smtp port on the mail server, ie port 2500
>  for instance?

 From /usr/local/mailman/Mailman/Defaults.py:

# 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 = 'localhost'
SMTPPORT = 0                                      # default from smtplib

Of course, if you want to make any changes to use alternative 
hostnames or ports, you'd make those in your mm_cfg.py file and then 
restart Mailman.

Take a long look through this file.  There's lots of good stuff here. 
Consider this file to be part of the documentation you should be 
looking at.

Brad Knowles <brad at shub-internet.org>
LinkedIn Profile: <http://tinyurl.com/y8kpxu>

More information about the Mailman-Users mailing list