lurker with procmail
--------------------

 One way to deliver list mails to lurker is to use procmail. Add one
rule for each list in your local procmailrc.

 This example rule delivers all mail to list 'example-list@lists.host.org'
to lurkers 'example-list' archive. It requires a X-Mailing-List header in
the mail. If your list mails don't have this header, you have to use
another filter rule.

 The owner of the procmailrc needs to be member of group 'lurker'.

:0 w
* ^X-Mailing-List: <example-list@lists.host.org>.*
| lurker-index -l example-list -m

 If your lists are managed by mailman, the mails should have a List-Post
header, so here the appropriative rule would be:

:0 w
* ^List-Post: <mailto:example-list@lists.host.org>
| lurker-index -l example-list -m


 It's also possible to define one global rule for all lists with a
similar domain name. Be aware of the fact, that lurker will drop
mail to lists that it is not configured for. Thus you should always
configure new lists in lurker.conf(.local) before activating them,
otherwise you may loose mail for this list.

 Note that this can also provide a convenient way not to archive some
of your lists: the global rule always forwards mails to Lurker, but
only the lists defined in lurker.conf(.local) get archived.

 The following rule works for all lists with a X-Mailing-List header
and domain name 'lists.host.org'.

:0 w
* ^X-Mailing-List: .*[<][a-z\-]*@lists.host.org[>]
* ^X-Mailing-List: .*[<] *\/[^ ][^@]*
| lurker-index -l $MATCH -m

 -- Jonas Meurer <jonas@freesources.org>, Sat, 12 Feb 2005 13:55:34 +0100
