procmail
[Top] [All Lists]

Re: Resetting $LOG variable

2003-06-14 15:14:16
On Sat, Jun 14, 2003 at 06:51:55PM +0200, Ruud H.G. van Tol wrote:

LOG="X: "
[recipe1 blah...]

You should set the LOG-value conditionally, so inside a recipe:

:0
* condition
{
  LOG="X: "
  :0:
  deliver
}

Another way would be to concatenate what you want to log in 
a different variable, and set LOG to that value in the end.

OK, thanks. I think I see how it is behaving now which is different from
what I assumed ;-) 

-- 
Hal Burgiss
 

_______________________________________________
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>