[Mailman-Users] Mailman + MhonArc problems

Doug Roberts droberts at statalabs.com
Wed Apr 23 23:50:01 CEST 2003


Hi all -

Using version 2.1.1 of Mailman, I'm having the following symptoms:

- MHonArc is installed and works fine when called like this (as mailman user and as root):
mhonarc -mbox /var/mailman/archives/private/mailman.mbox/mailman.mbox -outdir /var/mhonarc/archives/mailman

I'm following the only directions I could find, which are for RedHat 6.2, Mailman 2.0.5 and MhonArc 2.4.5 (I have RH 8.0, Mm 2.1.1 and MH 2.6.3). They had me add the following to /var/mailman/Mailman/mm_cfg.py

PUBLIC_ARCHIVE_URL  = '/mhonarchive'
PRIVATE_ARCHIVE_URL  = '/mhonarchive'
PUBLIC_EXTERNAL_ARCHIVER = '/usr/bin/mhonarc -add -outdir /var/mhonarc/archives/%(listname)s >> /tmp/out_external_archiver'
PRIVATE_EXTERNAL_ARCHIVER = '/usr/bin/mhonarc -add -outdir /var/mhonarc/archives/%(listname)s >> /tmp/out_external_archiver'

When a message is sent to the same list (mailman), I get the following errors in /var/log/mailman/errors

Apr 23 15:15:37 2003 (28514) Uncaught runner exception: [Errno 32] Broken pipe
Apr 23 15:15:37 2003 (28514) Traceback (most recent call last):
  File "/var/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
    self._onefile(msg, msgdata)
  File "/var/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/var/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
    mlist.ArchiveMail(msg)
  File "/var/mailman/Mailman/Archiver/Archiver.py", line 198, in ArchiveMail
    self.ExternalArchive(mm_cfg.PUBLIC_EXTERNAL_ARCHIVER, txt)
  File "/var/mailman/Mailman/Archiver/Archiver.py", line 172, in ExternalArchive
    extarch.write(txt)
IOError: [Errno 32] Broken pipe

I've poked around the code, but I'm at about neck-level already, so the odds of me debugging this on my own are pretty slim. Any ideas? Google search and searching the archives haven't turned up anything.

Doug Roberts
droberts at statalabs.com




More information about the Mailman-Users mailing list