hello,
i still have in my mm_cfg.py:
PUBLIC_EXTERNAL_ARCHIVER = 'lurker-index -l `lurker-list -c /etc/lurker/lurker.conf | 
grep -B2 "^%(listname)s$"| head -n1` -m'

that doesn't work.
how can i do this (showed in shell prompt) for every message mailman
gets:
listlurker=`lurker-list -c /etc/lurker/lurker.conf | grep -B2 "^${listname}$" | head 
-n1`
lurker-import -l $listlurker -m

where ${listname} has to have the value of the listname. to explain the
regex: 'lurker-list -c /etc/lurker/lurker.conf' gives some output
(lists, and their configs). 'grep -B2 "^${listname}$"' greps for a line
that has [linestart]${listname}[linend]. [linestart] is ^ and [linend]
$. grep fetches this and the two lines under it and outputs that. 'head
-n1' gives the last line of the output.
'lurker-import -l $listlurker -m' really is the prompt that needs the
message through stdin.

do you have and idea how to patch mailman doing the above?

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

Attachment: pgp00000.pgp
Description: PGP signature

------------------------------------------------------
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

Reply via email to