Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mailman/nntp authentication failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dracos
n00b
n00b


Joined: 13 Jan 2005
Posts: 19

PostPosted: Sun Oct 04, 2009 7:30 pm    Post subject: Mailman/nntp authentication failure Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum