LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Valdis Kletnieks <[log in to unmask]>
Thu, 7 Aug 1997 16:41:28 -0400
text/plain (1096 bytes) , application/pgp-signature (291 bytes)
On Thu, 07 Aug 1997 13:54:34 CDT, you said:
> I'm a little familiar with procmail, but I thought it would only work
> for ALL lists on the server (I want this for just my list).  If it can
> work on a list by list basis, I could write a procmail script called
> mylist.prefilter

Well, what you do is in /etc/aliases (assuming sendmail), instead of feeding
the mail for 'my-list' to lsv-addmin, pass it to a procmail that does what
filtering you need and then hand it to lsv-admin.

> Now for the 64,000 purchasing unit question: How do I tell Listserv to
> call that procmail script?  Looking at the section on the Exit= keyword
> in the Listowner's Manual, I somehow get the impression that it would
> need to be a regular script, and not procmail.  Is this correct?

Easy - if it has to be "a regular script" (not that I even see WHY it would
care), you can allways make a 2-line shell script:

#!/bin/ksh
/your/path/to/procmail $*

or whatever you need....

--
                                Valdis Kletnieks
                                Computer Systems Senior Engineer
                                Virginia Tech




ATOM RSS1 RSS2