LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

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

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

Parts/Attachments: text/plain (1096 bytes) , application/pgp-signature (291 bytes)
Print Reply
Mime-Version:
1.0
Sender:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Thu, 7 Aug 1997 16:41:28 -0400
Reply-To:
LISTSERV give-and-take forum <[log in to unmask]>
Subject:
From:
Valdis Kletnieks <[log in to unmask]>
Content-Transfer-Encoding:
7bit
In-Reply-To:
Your message of "Thu, 07 Aug 1997 13:54:34 CDT." <[log in to unmask]>
Content-Type:
multipart/signed; boundary="==_Exmh_-531901226P"; micalg=pgp-md5; protocol="application/pgp-signature"
Comments:
To: Listserv Manager <[log in to unmask]>
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