[Mailman-Users] Mail stuck in Exim queue

Mark Sapiro msapiro at value.net
Mon Nov 1 01:03:29 CET 2004

Adrian Cooper wrote:
>Can Mailman be configured to use Sendmail to send and Exim to receive?

Default Mailman uses SMTPDirect.py to send. This in turn uses the
python smtplib to establish connection to SMTPHOST and SMTPPORT for
sending. The defaults for these in Defaults.py are 'localhost' and 0
respectively. Port 0 tells smtplib to use its default which presumably
is 25.

Thus if you set SMTPPORT in mm_cfg.py to some value other than 0 or 25
which won't conflict with other ports and set up Sendmail on localhost
to listen on that port while leaving Exim as your incoming MTA on port
25, I think that would do it.

Or you could use Sendmail on a different host by setting SMTPHOST.

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list