[Mailman-Users] MM and mhonarc problems...
João Sá Marta
samarta at ci.uc.pt
Mon Nov 11 15:39:47 CET 2002
-----Original Message-----
From: mailman-users-bounces+samarta=ci.uc.pt at python.org
[mailto:mailman-users-bounces+samarta=ci.uc.pt at python.org] On Behalf Of
Bryce Tate
Sent: 08 November 2002 19:28
To: mailman-users at python.org
Subject: [Mailman-Users] MM and mhonarc problems...
I am testing mailman for use at my university, and we want to be able to
support different MIME types in the archives. I've installed Mhonarc
and I followed the directions of a very helpful list member from an
earlier post to the group. When I manually run:
mhonarc -mbox
$prefix/archives/private/yourmaillist.mbox/yourmaillist.mbox
-outdir /var/mhonarc/archives/yourmaillist -rcfile
/var/mhonarc/archives/yourmaillist/main.mrc
All of the messages (if I have any) move over just fine, but new
messages are archived automatically...I have this in the
/var/log/mailman/error
file:
Nov 08 14:19:02 2002 qrunner(1884): Traceback (most recent call last):
Nov 08 14:19:02 2002 qrunner(1884): File
"/var/mailman/Mailman/Archiver/Archiver.py", line 213, in ArchiveMail
Nov 08 14:19:02 2002 qrunner(1884):
self.ExternalArchive(mm_cfg.PUBLIC_EXTERNAL_ARCHIVER, txt)
Nov 08 14:19:02 2002 qrunner(1884): File
"/var/mailman/Mailman/Archiver/Archiver.py", line 174, in
ExternalArchive
Nov 08 14:19:02 2002 qrunner(1884): syslog('error', 'external
archiver
non-zero exit status: %d\n' %
Nov 08 14:19:02 2002 qrunner(1884): TypeError: unsupported operand
type(s) for >>: 'str' and 'int' Nov 08 14:19:02 2002 (1884) CORRUPT
ARCHIVE FOR LIST: testlist
I even created an empty test list (as seen above) and it didn't have any
messages in it. When I sent my first message to the list, the above is
also what the /var/log/mailman/error file reported.
Does anyone know what could be wrong? I'm hoping that i'm not the only
one on this list who has had this problem before. Below is my mm_cfg.py
file. I also have appropriate aliases set in httpd.conf
And other than this Mhonarc issue (and pipermails lack of MIME support)
I've been very pleased with Mailman (and related programs), and my
recommendation will be that we use it.
Thanks for any feedback!
Bryce
#######################################################
# Here's where we get the distributed defaults. #
from Defaults import *
import pwd, grp
##############################################################
# Here's where we override shipped defaults with settings #
# suitable for the RPM package. #
MAILMAN_UID = pwd.getpwnam('mailman')[2]
MAILMAN_GID = grp.getgrnam('mailman')[2]
LOG_DIR = '/var/log/mailman'
QUEUE_DIR = '/var/spool/mailman/qfiles'
##############################################################
# Put YOUR site-specific configuration below, in mm_cfg.py . #
# See Defaults.py for explanations of the values. #
DEFAULT_HOST_NAME = '<MYHOSTNAME>'
DEFAULT_URL = '<MYDEFAULTURL>'
MAILMAN_OWNER = 'mailman-owner@%s' % DEFAULT_HOST_NAME
# Note - if you're looking for something that is imported from mm_cfg,
but you # didn't find it above, it's probably in Defaults.py.
PUBLIC_ARCHIVE_URL = '/mhonarchive'
PRIVATE_ARCHIVE_URL = '/mhonarchive'
PUBLIC_EXTERNAL_ARCHIVER = '/usr/bin/mhonarc -add -outdir
/var/mhonarc/archives/%(listname)s'
PRIVATE_EXTERNAL_ARCHIVER = '/usr/bin/mhonarc -add -outdir
/var/mhonarc/archives/%(listname)s'
#PRIVATE_ARCHIVE_FILE_DIR = os.path.join(VAR_PREFIX,
'/var/mhonarc/archives/', 'private')
Hi,
Did you added in your httpd.conf the alias for /mhonarchive ?
---snip
Alias /mhonarchive/ "/var/mhonarc/archives/"
<Directory "/var/mhonarc/archives">
AllowOverride ALL ---I am not sure about this option
</Directory>
Greetings,
More information about the Mailman-Users
mailing list