procmail
[Top] [All Lists]

Re: using $1 to filter.

1997-08-25 00:11:23
nicholas harteau <panic(_at_)voodoo(_dot_)net> writes:
can someone give me a quick example of using the -a argument to procmail to
filter to a specific folder, or based on specific conditions?

i.e.

ARG=$1

:0:
* if $ARG == 'blah'
blah

That would be:

        :0:
        * ARG ?? ^^blah^^
        blah



any help/pointers would be appreciated.

Check out the procmail (not so) mini-FAQ:
        http://www.iki.fi/~era/procmail/mini-faq.html


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>