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

Spyro Polymiadis spyropolymiadis at kromestudios.com
Wed Jan 16 15:16:44 CET 2008

Awesome, did the trick exactly :)

-----Original Message-----
From: Brad Knowles [mailto:brad at shub-internet.org]
Sent: Wednesday, 16 January 2008 6:24 PM
To: Spyro Polymiadis; mailman-users at python.org
Subject: Re: [Mailman-Users] Configuring mailman to send email via another port (not port 25)

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>

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.4/1227 - Release Date: 16/01/2008 1:40 AM

This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.

More information about the Mailman-Users mailing list