procmail
[Top] [All Lists]

Re: Using vars in condition test?

1995-12-19 14:13:49
On Tue, 19 Dec 1995, Alan Stebbens wrote:

Let's take this one step further.

Use "$" (as described in the procmailrc man page):

    :0
    * $ ^To:.*$LISTNAME
    procmail-folder

Nice!  Now, is there a way to keep $LISTNAME in a separate UNIX file so 
that it can be changed on the fly without ever having to change my 
.procmailrc file?  That would be handy.

I moderate a majordomo list in which I automatically pipe certain 
trustworthy list member's posts to the approve script.  I do this using 
the following construction: 

* From:.*(mail(_at_)address1|mail(_at_)address2|mail(_at_)address3)
| approve

It would be nice to keep the mail addresses in a separate file.

Thanks,
---
Derrick Green
eusdegr(_at_)wser(_dot_)ericsson(_dot_)se
Richardson, Texas