[Mailman-Developers] exception for post from non list member

Marc MERLIN marc_news@vasoftware.com
Thu, 21 Feb 2002 00:57:57 -0800


I have mm 2.1a4cvs setup to refuse posts from non members and forward a copy
to the list owner.

This only happens if generic_nonmember_action is set to reject
(accept, hold, and discard work)

Feb 21 00:51:39 2002 (55) Uncaught runner exception: get_type
Feb 21 00:51:39 2002 (55) 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/OutgoingRunner.py", line 59, in _dispos
e
    func(mlist, msg, msgdata)
  File "/var/local/mailman/Mailman/Handlers/SMTPDirect.py", line 79, in process
    msgtext = msg.as_string(unixfrom=0)
  File "/usr/lib/python2.1/site-packages/email/Message.py", line 85, in as_strin
g
    g(self, unixfrom=unixfrom)
  File "/usr/lib/python2.1/site-packages/email/Generator.py", line 83, in __call
__
    self._write(msg)
  File "/usr/lib/python2.1/site-packages/email/Generator.py", line 104, in _writ
e
    self._dispatch(msg)
  File "/usr/lib/python2.1/site-packages/email/Generator.py", line 134, in _disp
atch
    meth(msg)
  File "/usr/lib/python2.1/site-packages/email/Generator.py", line 246, in _hand
le_multipart
    g(part, unixfrom=0)
  File "/usr/lib/python2.1/site-packages/email/Generator.py", line 83, in __call
__
    self._write(msg)
  File "/usr/lib/python2.1/site-packages/email/Generator.py", line 104, in _writ
e
    self._dispatch(msg)
  File "/usr/lib/python2.1/site-packages/email/Generator.py", line 121, in _disp
atch
    ctype = msg.get_type()
AttributeError: get_type


-- 
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