[Mailman-Users] Error with duplicate Newsgroup headers

Viren R. Shah viren at rstcorp.com
Thu Dec 3 20:04:09 CET 1998


[please cc: me on any replies]

I'm currently running 1.0b6 with several lists gatewaying msgs to
local newsgroups and vice versa.

I just got an error message when a emailed reply was made to a posted
reply to a list message (got that?).

Here's the error:

Dec 03 13:42:27 1998 post: Traceback (innermost last):
post:   File "/mail/mailman/scripts/post", line 67, in ?
post:      current_list.Post(msg)
post:   File "/mail/mailman/Mailman/MailList.py", line 1014, in Post
post:      self.SendMailToNewsGroup(msg)
post:   File "/mail/mailman/Mailman/GatewayManager.py", line 143, in SendMailToNewsGroup
post:      con.post(msg)
post:   File "/usr/local/lib/python1.5/nntplib.py", line 425, in post
post:      return self.getresp()
post:   File "/usr/local/lib/python1.5/nntplib.py", line 132, in getresp
post:      raise error_temp, resp
post: nntplib.error_temp :  441 Duplicate "Newsgroups" header 


Here's the newsserver log:

Dec  3 13:43:01 newsserver nnrpd[4427]: xxxx.rstcorp.com connect
Dec  3 13:43:01 newsserver nnrpd[4427]: xxxx.rstcorp.com connect
Dec  3 13:43:01 newsserver nnrpd[4427]: xxxx.rstcorp.com post failed Duplicate "Newsgroups" header
Dec  3 13:43:01 newsserver nnrpd[4427]: xxxx.rstcorp.com post failed Duplicate "Newsgroups" header


Anyone have a fix for this? Where is the best place to check for
duplicate Newsgroups header? If an existing one is found, shouldn't
the new group just be appended to the same header line (unless it is
the identical group), such as:


[if local.bar is the newsgroup associated with the mailing list]

Original Header:                 New Header:
===============================================
Newsgroups: local.foo       Newsgroups: local.foo, local.bar


Newsgroups: local.bar       Newsgroups: local.bar

[no Newsgroups header]      Newsgroups: local.bar


Thanks
Viren
-- 
Viren R. Shah, {viren @ rstcorp . com}
"Hi, I'm a hero, but I can't tell you why. It's classified."
 -- Miles muses on one of the disadvantages of a double life
    (Lois McMaster Bujold, Cetaganda)




More information about the Mailman-Users mailing list