[Mailman-Users] Pipermail don't process the list.mbox

Sylvain Langlade sylvain at adv-informatique.fr
Fri Apr 11 16:23:33 CEST 2003


> When you say "mailman refuse" do you mean that you just
> cannot see the HTML
> archives or is there some problem being logged on the
> $prefix/logs/error log.

Ok, now I feel dumb : <oops>I've switched from sendmail to postfix and
installed mailman twice... and looked in the old logs/error location !
</oops>

I've got a clue now : I've got trouble with file permission in my
$varprifx/archives directory. The directories are created, the mailbox files
are filled with messages, the original HTML file saying 'list is empty) is
there. But it gets rejected trying to chmod an attachment file (oops).

I just did a "chmod -R g+s" on my $varprefix directory, but how do I force
the process to retry generating HTML files ?

Btw : If I issue a $prefix/bin/arch listname, it works (before my chmod, and
now).

Here is the log excerpt :

<<<<<<<
Apr 11 10:40:24 2003 (18637) uncaught archiver exception at filepos: 0
Apr 11 10:40:24 2003 (18637) Uncaught runner exception: [Errno 1] Operation
not permitted:
'/var/mailman/archives/private/adv/attachments/20030411/38c3dbab'
Apr 11 10:40:24 2003 (18637) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/ArchRunner.py", line 73, in
_dispose
    mlist.ArchiveMail(msg)
  File "/usr/local/mailman/Mailman/Archiver/Archiver.py", line 206, in
ArchiveMail
    h.processUnixMailbox(f)
  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 544, in
processUnixMailbox
    m = mbox.next()
  File "/usr/local/lib/python2.2/mailbox.py", line 34, in next
    return self.factory(_Subfile(self.fp, start, stop))
  File "/usr/local/mailman/Mailman/Mailbox.py", line 79, in scrubber
    return mailbox.scrub(msg)
  File "/usr/local/mailman/Mailman/Mailbox.py", line 99, in scrub
    return self._scrubber(self._mlist, msg)
  File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 219, in
process
    url = save_attachment(mlist, part, dir, filter_html=0)
  File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 341, in
save_attachment
    makedirs(fsdir)
  File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 333, in
makedirs
    os.path.walk(dir, twiddle, None)
  File "/usr/local/lib/python2.2/posixpath.py", line 279, in walk
    func(arg, top, names)
  File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 332, in
twiddle
    os.chmod(dirname, 02775)
OSError: [Errno 1] Operation not permitted:
'/var/mailman/archives/private/adv/attachments/20030411/38c3dbab'
>>>>>>>




More information about the Mailman-Users mailing list