[Mailman-Users] archiving gets "shunted"

Lucio Chiappetti lucio at lambrate.inaf.it
Thu Mar 31 18:59:42 CEST 2011

I separate this other error in a separate thread.

>> The other question is that if I send a message to a list, the member
>> receive it, but the message is NOT archived.
>>    I see that a file appears in qfiles/shunt/

> Have you run Mailman's bin/check_perms?

yes I did. As a result of the first run, as instructed in manual, I did

     cd /var/lib/mailman/archives/
     chown wwwrun private
     chmod o-x private

and re-run it again.
(wwwrun is the suse user under which apache runs)

I see now that the default configuration of the list is archive=yes

I see there are directories archive/private/listname, 
archive/private/listname.mbox and public/listname. The latter is a 
softlink to private. Is this normal ?

All of them are setgid directories owned by wwwrun.mailman except for 
those of list mailman which are owned by root.mailman, but I guess such 
list is special, and will have no traffic to be archived.

As a result of posting the first message to the list, a file listname.mbox 
is created in archive/private/listname.mbox (why private ?) and it contain 
the messages. But the index.html is not updated. A message is shunted, 
and the attached errors are generated.

Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html
-------------- next part --------------
Mar 31 18:34:57 2011 (23431) uncaught archiver exception at filepos: 0
Mar 31 18:34:57 2011 (23431) Uncaught runner exception: Message instance has no attribute 'get_type'
Mar 31 18:34:57 2011 (23431) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
  File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 216, in ArchiveMail
  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 564, in processUnixMailbox
    m = mbox.next()
  File "/usr/lib64/python2.6/mailbox.py", line 1955, in next
    return self.factory(_PartialFile(self.fp, start, stop))
  File "/usr/lib/mailman/Mailman/Mailbox.py", line 89, in scrubber
    return mailbox.scrub(msg)
  File "/usr/lib/mailman/Mailman/Mailbox.py", line 109, in scrub
    return self._scrubber(self._mlist, msg)
  File "/usr/lib/mailman/Mailman/Handlers/Scrubber.py", line 192, in process
    ctype = part.get_type(part.get_default_type())
AttributeError: Message instance has no attribute 'get_type'

Mar 31 18:34:57 2011 (23431) SHUNTING: 1301589295.8064201+16d79fd82afe19253addf5855da0a63569b6d873

More information about the Mailman-Users mailing list