[Mailman-Users] mail2news/authentication
Jim Tittsler
jwt at dskk.co.jp
Tue Aug 17 04:51:50 CEST 1999
On Mon, Aug 16, 1999 at 07:38:01PM +1000, Bek Oberin wrote:
>
> Is there any way to specify nnrp username/password stuff for the
> mail2news gateways here?
I did it the quick-and-dirty[*] way. I just added the username and password to
the constructor in GatewayManager.py.
--- GatewayManager.py~ Thu May 13 11:23:09 1999
+++ GatewayManager.py Sat Jun 19 12:56:24 1999
@@ -202,3 +202,3 @@
msg.headers[n] = line[:i+1] + ' ' + line[i+1:]
- con = nntplib.NNTP(self.nntp_host, 'myuser', 'mypass')
+ con = nntplib.NNTP(self.nntp_host)
con.post(msg)
[*]I suppose in the general case, a web interface to this would be useful...
And it would need extending if you need to handle multiple names/passwords.
--
Jim Tittsler, Tokyo
http://starship.python.net/crew/jwt/
More information about the Mailman-Users
mailing list