*** PGP Signature Status: unknown *** Signer: Unknown, Key ID xE25F2102 *** Signed: 12/06/2003 10:54:00 *** Verified: 12/06/2003 16:16:14 *** BEGIN PGP VERIFIED MESSAGE ***
hello, i'm trying to get mailman 2.1.2 running with an alternative archiver. the archiver gets the mail through a program called 'lurker-index'. commandline usage would be: /usr/bin/lurker-index -l $(listname) -m < /path/to/message so, $listname has to be the stuff in front of the @, like mailman-users
Setting the following MM configuration variables in $prefix/Mailman/mm_cfg.py should get mail to be archived passed to your external archiver through STDIN:
PUBLIC_EXTERNAL_ARCHIVER = "/usr/bin/lurker-index -l %(listname)s -m" PRIVATE_EXTERNAL_ARCHIVER = "/usr/bin/lurker-index -l %(listname)s -m"
for mailinglist [EMAIL PROTECTED] how can i add this archiver? how can i run it parallel to pipermail and how without pipermail?
Specifying an external archiver this way will mean mail for all lists set to keep archives will be passed to it instead of MM's internal pipermail archiver.
If you want to be selective about which lists use the external archiver or/and have both pipermail and external archiver archiving mail then you have to make delivery to the external archiver operate via a mail alias which is subscribed to the lists concerned and leave the MM config variables unchanged from their default values of No.
second, would it be possible to change $(listname) before archiver uses it? i wrote a little script that fixes the listname (it's not always the part in front of the @, but a algorithm that creates aconyms for listnames longer than 16 chars. so, in shell what i want would be: listname_new = `/usr/local/bin/fixlist.sh $listname` /usr/bin/lurker-index -l $(listname_new) -m < email/message/post
You cannot get MM to change the listname which it passes to the archiver unless you want to hack MM's source code but the external archiver command you tell MM to use in order to hand over mail to be archived can do anything it likes with the listnames it finds in its ARGV when it is called...
thanks for your help
bye mejo
-- Efficiency and progess is ours one more Now that we have the Neutron bomb It's nice and quick and clean and gets things done Kill kill kill kill kill the poor tonight
*** END PGP VERIFIED MESSAGE ***
------------------------------------------------------------------------------ Richard Barrett http://www.openinfo.co.uk
------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] 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: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
