procmail
[Top] [All Lists]

Re: $VARIABLE Condition

2004-04-18 01:30:27
Toen wij ms419(_at_)freezone(_dot_)co(_dot_)uk kietelden, kwam er dit uit:

I would like a recipe to perform [one] action
if "$MAILBOX" is defined, and [another] if not.

:0
* MAILBOX ?? .
cyrdeliver $LOGNAME -m $MAILBOX
:0E
cyrdeliver $LOGNAME

If MAILBOX = "", it is defined but empty. 
I assumed that empty should be treated 
as if undefined.

-- 
Grtz, Ruud

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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