Red Hat Bugzilla – Bug 253147
SMTP Authentication support
Last modified: 2007-11-30 17:12:13 EST
Description of problem:
This is not a bug report, but rather a feature request, which I wish it makes
its way upstream.
This software, although its biggest requirement is a SMTP service, it has not
been designed (SMTPdirect.py) to be able to use an SMTP server that requires
This might sound like a feature that would be needed only by 'weird' email
server setups. However, taking into account the numerous currently implemented
unwanted/unnecessary/weird features in the mailman suite, one could say that
smtp auth would be by far more useful than many of those features.
Version-Release number of selected component (if applicable):
Created attachment 161960 [details]
A patch for mailman-2.1.9
Here's a patch that seems not to break anything (at least). I don't know
whether a new feature would be accepted upstream since Mailman 3 is under
development and this is Mailman 2. I'll try to test this and if it will work
I'll send it upstream.
Created attachment 162017 [details]
SMTP Authentication with TLS support (not tested)
Tomas, thanks for the quick fix. I decided to build upon your patch and add
support for TLS connections, as many SMTP servers do not allow authentication
without establishing a TLS connection first.
I should mention that I have *not* tested the patch as I don't have a mailman
installation any more and I don't have the time to set Mailman for a test. I
had the code ready from another project of mine. I am sorry for submitting a
patch without testing it previously, but I hope that it works.
I'll try to test it soon.
Tested both the authentication and TLS and seem to be OK. I'll try to port it
to Mailman 3 and send the patches upstream.
Sorry, but Mailman 3 handles configuration and SMTP in a completely different
way. I've sent the Mailman 2 patch and we'll see.
Tomas, thanks. I saw the patch at the mailman patch manager on SourceForge.
Let's hope that Mailman 3 supports 'SMTP authentication' and 'SMTP
authentication over TLS' by default.