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

Richard Barrett R.Barrett at ftel.co.uk
Fri Apr 11 17:20:53 CEST 2003


At 15:23 11/04/2003, Sylvain Langlade wrote:

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

Stopping Mailman and running $prefix/bin/check_perms with -f option should 
fix permissions problems and should be preferable to hacking at them one at 
a time..

Use $prefix/bin/arch to rebuild list archives and regenerate HTML archive 
pages from the mbox . Run it with the --help option to get its usage.

>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'
> >>>>>>>
>
>
>------------------------------------------------------
>Mailman-Users mailing list
>Mailman-Users at python.org
>http://mail.python.org/mailman/listinfo/mailman-users
>Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
>Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
>
>This message was sent to: r.barrett at openinfo.demon.co.uk
>Unsubscribe or change your options at
>http://mail.python.org/mailman/options/mailman-users/r.barrett%40openinfo.demon.co.uk 
>




More information about the Mailman-Users mailing list