authinfo before mode reader needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Invalid
|
Medium
|
Unassigned |
Bug Description
My ISP just switched to giganews for NNTP service, and
my gate_news script stopped working - complaining about
authentication needed. I tracked it down to the fact
that giganews' server gives a 480 authentication needed
error on the 'mode reader' command which mailman tries
to send before authentication.
I solved the problem for myself by editing
Mailman/
constructor. I simply moved the block that sends the
authinfo commands in front of the block that sends the
'mode reader' command, and everything worked.
I assume this is not the correct fix for this problem,
as other servers may not like the authinfo command
before the mode reader command. Perhaps giganews'
server is broken, but it would be nice to work around
it. Perhaps the authentication should be broken in to
its own subroutine, and have the code try
authentication whenever it gets a 480 authentication
required error.
I'm running mailman 2.0.13 on OpenBSD, with python
1.5.2, if it matters.
Thanks,
Scott
[http://
Look for NNTP_USERNAME and NNTP_PASSWORD in the Defaults.py
file.