Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 162017 Details for
Bug 253147
SMTP Authentication support
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
SMTP Authentication with TLS support (not tested)
mailman-2.1.9-smtpauthtls-nottested.patch (text/plain), 2.13 KB, created by
George Notaras
on 2007-08-21 22:30:09 UTC
(
hide
)
Description:
SMTP Authentication with TLS support (not tested)
Filename:
MIME Type:
Creator:
George Notaras
Created:
2007-08-21 22:30:09 UTC
Size:
2.13 KB
patch
obsolete
>--- mailman-2.1.9/Mailman/Defaults.py.in >+++ mailman-2.1.9/Mailman/Defaults.py.in.smtpauthtls >@@ -424,6 +424,16 @@ > # sure there's a localhost entry in your /etc/hosts file!) > SMTPHOST = 'localhost' > SMTPPORT = 0 # default from smtplib >+ >+# SMTP authentication >+SMTP_AUTH = False >+SMTP_LOGIN = None >+SMTP_PASSWD = None >+SMTP_USE_TLS = False >+# The following should be set to the hostname that should be used in order to >+# identify the Mailman to the SMTP server. By default, it uses DEFAULT_URL_HOST >+# Normally, you should not change this. >+SMTP_HELO_HOST = DEFAULT_URL_HOST > > # Command for direct command pipe delivery to sendmail compatible program, > # when DELIVERY_MODULE is 'Sendmail'. >--- mailman-2.1.9/Mailman/Handlers/SMTPDirect.py >+++ mailman-2.1.9/Mailman/Handlers/SMTPDirect.py.smtpauthtls >@@ -62,6 +62,30 @@ > def __connect(self): > self.__conn = smtplib.SMTP() > self.__conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT) >+ if mm_cfg.SMTP_AUTH: >+ if mm_cfg.SMTP_USE_TLS: >+ try: >+ self.__conn.starttls() >+ except SMTPException, e: >+ syslog('smtp-failure', 'SMTP TLS error: %s', e) >+ self.quit() >+ try: >+ self.__conn.ehlo(mm_cfg.SMTP_HELO_HOST) >+ except SMTPException, e: >+ syslog('smtp-failure', 'SMTP EHLO error: %s', e) >+ self.quit() >+ try: >+ self.__conn.login(mm_cfg.SMTP_LOGIN, mm_cfg.SMTP_PASSWD) >+ except smtplib.SMTPHeloError, e: >+ syslog('smtp-failure', 'SMTP HELO error: %s', e) >+ self.quit() >+ except smtplib.SMTPAuthenticationError, e: >+ syslog('smtp-failure', 'SMTP AUTH error: %s', e) >+ self.quit() >+ except smtplib.SMTPException, e: >+ syslog('smtp-failure', 'SMTP - no suitable authentication method found: %s', e) >+ self.quit() >+ > self.__numsessions = mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION > > def sendmail(self, envsender, recips, msgtext):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 253147
:
161960
| 162017