procmail
[Top] [All Lists]

the -a arguments

1997-07-14 07:49:00

I have everything configured so that user+detail(_at_)plts(_dot_)org
mail gets sent to the mailer with "-a detail".  I can
successfully do something like:

KEYWORD=$1

and verify that KEYWORD set set to "detail".

However, how can I write a recipe that let's me
match on KEYWORD?

That is, "if KEYWORD == foo" conditions.

I've read all the man pages backwards and forwards and
the one hint isn't very clear (I've tried a dozen variations
based on it)

Including:

KEYWORD=$1

:1
KEYWORD elbows
elbows


and

:2
KEYWORD
elbows
elbows


Neither worked.


Any hints would be appreciated!

--Tom
P.S.  Please cc tal(_at_)plts(_dot_)org since I may not be on the mailing
list yet.

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