[Mailman-Developers] mailman can't bounce messages or send notifications from sender filter
Marc MERLIN
marc_news@vasoftware.com
Thu, 28 Feb 2002 16:38:47 -0800
On Thu, Feb 28, 2002 at 02:02:54PM -0800, Marc MERLIN wrote:
> On Wed, Feb 27, 2002 at 11:00:54PM -0500, Barry A. Warsaw wrote:
> > MM> I've changed GUI/GUIBase.py with the hopes to output a better
> > MM> error: try: val = self._getValidValue(mlist, property, wtype,
> > MM> val) except ValueError: doc.addError(_("Invalid value
> > MM> '"+val+"' for variable: %(property)s"), tag=_('Error: '))
> >
> > MM> Any ideas what's going on?
> >
> > Yup, it's a bug. Fixed in CVS.
>
> Sure enough, works much better now :-)
>
> In the meantime, I have more info on auto discard and auto reject
>
> auto discard / don't mail admin => works
> auto discard / mail admin => doesn't work
> reject / mail admin => doesn't work
> reject / don't mail admin => doesn't work
>
> Basically, anything that triggers an Email, bombs with:
Actually I missed the email-1.1 upgrade.
I just installed that, and I seem to be getting errors in similar caes, but
the error is now:
==> ../logs/error <==
Feb 28 16:34:03 2002 (4404) Uncaught runner exception: Message main Content-Type: must be "multipart" or missing
Feb 28 16:34:03 2002 (4404) Traceback (most recent call last):
File "/var/local/mailman/Mailman/Queue/Runner.py", line 114, in __oneloop
self.__onefile(msg, msgdata)
File "/var/local/mailman/Mailman/Queue/Runner.py", line 162, in __onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/var/local/mailman/Mailman/Queue/IncomingRunner.py", line 113, in _dispose
status = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/var/local/mailman/Mailman/Queue/IncomingRunner.py", line 151, in _dopipeline
mlist.BounceMessage(msg, msgdata, e)
File "/var/local/mailman/Mailman/Bouncer.py", line 233, in BounceMessage
bmsg.add_payload(MIMEMessage(msg))
File "/var/local/mailman/pythonlib/email/Message.py", line 115, in add_payload
raise Errors.MultipartConversionError(
MultipartConversionError: Message main Content-Type: must be "multipart" or missing
The message, saved in shunt shows nothing weird:
----------------------------------------------------------------------------
Date: Thu, 28 Feb 2002 16:33:58 -0800
From: Marc MERLIN <marc_news@vasoftware.com>
To: test@svlug.org
Subject: test 3
Message-ID: <20020301003358.GA5066@merlins.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.25i
----------------------------------------------------------------------------
Marc
--
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key