Dracos n00b
Joined: 13 Jan 2005 Posts: 19
|
Posted: Sun Oct 04, 2009 7:30 pm Post subject: Mailman/nntp authentication failure |
|
|
After some long overdue updates (and moving from ldap to pam), Mailman seems unable to get authenticated to nntp, resulting in /var/log/mailman/error being filled with these blocks:
Code: | Oct 04 18:53:08 2009 (16428) Uncaught runner exception: 502 Authentication error
Oct 04 18:53:08 2009 (16428) Traceback (most recent call last):
File "/usr/lib/mailman/Mailman/Queue/NewsRunner.py", line 74, in _dispose
password=mm_cfg.NNTP_PASSWORD)
File "/usr/lib/python2.6/nntplib.py", line 156, in __init__
'authinfo pass '+password)
File "/usr/lib/python2.6/nntplib.py", line 260, in shortcmd
return self.getresp()
File "/usr/lib/python2.6/nntplib.py", line 221, in getresp
raise NNTPPermanentError(resp)
NNTPPermanentError: 502 Authentication error |
Installed versions of related packages are:
- Mailman: 2.1.12
- INN: 2.4.1
- Python: 2.6.2-r1
- Postfix: 2.2.10 (masked in package.mask by previous admin... I'm not sure why, could have been ldap)
Mailman is running. Messages coming from mail seem to get processed ok, but of course nothing gets to the lists from NNTP.
mm_cfg.py (comments stripped):
Code: | DEFAULT_EMAIL_HOST = 'domain1.com'
DEFAULT_URL_HOST = 'domain1.com'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
NNTP_USERNAME = 'mailman'
NNTP_PASSWORD = '[redacted]'
DEFAULT_NNTP_HOST = 'news.domain1.com'
DEFAULT_REPLY_GOES_TO_LIST = 1
DEFAULT_PRIVATE_ROSTER = 2
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain1.com', 'domain2.org']
LOG_DIR = '/var/log/mailman' |
I know virtually nothing about mail/news administration, but will gladly post any other necessary info. |
|