[Mailman-Developers] Bug#61695: mailman: mail->news gw blows up on mails without subject (fwd)

Gergely Madarasz gorgo@sztaki.hu
Mon, 03 Apr 2000 17:20:20 +0200 (MET DST)


I just got this bugreport in the debian BTS. Comments ?

-- 
Madarasz Gergely           gorgo@sztaki.hu           gorgo@linux.rulez.org
     It's practically impossible to look at a penguin and feel angry.
         Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
                   HuLUG: http://mlf.linux.rulez.org/

---------- Forwarded message ----------
Date: Mon, 03 Apr 2000 18:16:45 +0300
From: erno@iki.fi
To: submit@bugs.debian.org
Subject: Bug#61695: mailman: mail->news gw blows up on mails without subject
Resent-Date: Mon, 03 Apr 2000 15:18:02 +0000 (GMT)
Resent-From: erno@iki.fi
Resent-To: debian-bugs-dist@lists.debian.org
Resent-cc: Gergely Madarasz <gorgo@sztaki.hu>

Package: mailman
Version: 1.1-4
Severity: important

hello,

i have a local newsgroup, and i created a mailman list named test2,
telling mailman to gateway messages from it to the local newsgroup.
the news server is inn-1.7.2-16.

running

	% echo seppo | mail test2@erno.iki.fi

leads to

	From: Mail Delivery System <Mailer-Daemon@erno.iki.fi>
	Subject: Mail delivery failed: returning message to sender
	To: erno@erno.iki.fi
	X-Failed-Recipients: test2@erno.iki.fi
	Date: Mon, 03 Apr 2000 18:08:03 +0300
	
	This message was created automatically by mail delivery software.
	
	A message that you sent could not be delivered to one or more of its
	recipients. The following address(es) failed:
	
	  test2@erno.iki.fi:
	    generated |/var/lib/mailman/mail/wrapper post test2
	
	The following text was generated during the delivery attempt:
	
	------ |/var/lib/mailman/mail/wrapper post test2 ------
	
	Traceback (innermost last):
	  File "/var/lib/mailman/scripts/post", line 73, in ?
	    mlist.Post(msg, approved=fromusenet)
	  File "/usr/lib/mailman/Mailman/MailList.py", line 1331, in Post
	    self.SendMailToNewsGroup(msg)
	  File "/usr/lib/mailman/Mailman/GatewayManager.py", line 143, in
	SendMailToNewsGroup
	    msg.SetHeader('Subject', '%s(no subject)' % subjpref)
	NameError: subjpref
	
	------ This is a copy of the message, including all the headers. ------
	
	Return-path: <erno@erno.iki.fi>
	Received: from erno by erno.iki.fi with local (Exim 3.12 #1 (Debian))
	        id 12c8SN-0004Jv-00
	        for <test2@erno.iki.fi>; Mon, 03 Apr 2000 18:07:59 +0300
	To: test2@erno.iki.fi
	Message-Id: <E12c8SN-0004Jv-00@erno.iki.fi>
	From: Erno Kuusela <erno@erno.iki.fi>
	Date: Mon, 03 Apr 2000 18:07:59 +0300
	
	seppo
	

looks to me like this is bad, because if i want to use mailman to, say,
gateway messages from debian-devel to a local read-only newsgroup,
bounce messages will be sent to the listowner of debian-devel
and he will likely kick me off the list when he gets tired
of things like this.

also this is a crash, and if i understand correctly those should
generally filed as important bugs. (please tell me if i'm wrong)
	
-- System Information
Debian Release: 2.2
Kernel Version: Linux fun77 2.2.10 #1 Sun Jun 20 19:03:53 EEST 1999 i586 unknown

Versions of the packages mailman depends on:
ii  apache         1.3.9-12       Versatile, high-performance HTTP server
ii  cron           3.0pl1-57      management of regular background processing
ii  libc6          2.1.3-7        GNU C Library: Shared libraries and Timezone
ii  logrotate      3.2-11         Log rotation utility
ii  python-base    1.5.2-9        An interactive object-oriented scripting lan
sendmail	Not installed or no info
ii  exim           3.12-7         Exim Mailer
	^^^ (Provides virtual package mail-transport-agent)
ii  apache         1.3.9-12       Versatile, high-performance HTTP server
	^^^ (Provides virtual package httpd)