[Mailman-Users] PUBLIC_EXTERNAL_ARCHIVER directive ignored

Mark Sapiro mark at msapiro.net
Wed Apr 2 22:37:58 CEST 2008


Mark Heer wrote:
> 
>mm_cfg.py:
>PUBLIC_EXTERNAL_ARCHIVER = 'ssh -e none -i $HOME/.ssh/archkey mailman at sbuild6 %(listname)s'
>PRIVATE_EXTERNAL_ARCHIVER = 'ssh  -e none -i $HOME/.ssh/archkey mailman at sbuild6 %(listname)s'
>
>
>error log:
>return Mailbox.Mailbox(open(afn, 'a+'))
>IOError: [Errno 2] No such file or directory: '/usr/local/mailman/archives/private/test1.mbox/test1.mbox'
>
> 
>Any idea why mailman is ignoring the EXTERNAL_ARCHIVER instruction?


What is your setting for ARCHIVE_TO_MBOX. It appears that the setting
is either 1 or 2 (perhaps the default 2) and you are encountering the
above exception before ever getting to the *_EXTERNAL_ARCHIVER tests.
(It generally helps to post the entire traceback, not just the error).

If you are using *_EXTERNAL_ARCHIVER, ARCHIVE_TO_MBOX must be either 0
or 2, and if it is 2, you will be writing to the
/usr/local/mailman/archives/private/listname.mbox/listname.mbox files
and if the /usr/local/mailman/archives/private/listname.mbox/
directory doesn't exist, you will get the above error before doing any
archiving.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list