Re: [Mailman-Users] PUBLIC_EXTERNAL_ARCHIVER directive ignored

2008-04-02 Thread Mark Sapiro
Mark Heer wrote:
> 
>mm_cfg.py:
>PUBLIC_EXTERNAL_ARCHIVER = 'ssh -e none -i $HOME/.ssh/archkey [EMAIL 
>PROTECTED] %(listname)s'
>PRIVATE_EXTERNAL_ARCHIVER = 'ssh  -e none -i $HOME/.ssh/archkey [EMAIL 
>PROTECTED] %(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 <[EMAIL PROTECTED]>The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] PUBLIC_EXTERNAL_ARCHIVER directive ignored

2008-04-02 Thread Mark Heer
  
Hello,

I can run the following ssh from the command line and it works, yet when I set 
the config for external archive mailman is ignoring the config option and 
attempts to archive on the local machine.  After I updated mm_cfg.py I did a 
mailmanctl restart
and restarted mailman from rc3.d dir. 
I have a key on the receiving machine which utilizes the $SSH_ORIGINAL_COMMAND 
environment variable to handle %listname and update the proper directories.
 
mm_cfg.py:
PUBLIC_EXTERNAL_ARCHIVER = 'ssh -e none -i $HOME/.ssh/archkey [EMAIL PROTECTED] 
%(listname)s'
PRIVATE_EXTERNAL_ARCHIVER = 'ssh  -e none -i $HOME/.ssh/archkey [EMAIL 
PROTECTED] %(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?

Thanks,

Mark
--
Mailman-Users mailing list
Mailman-Users@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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp