On Thu, 13 Nov 2008, TLD Procmail wrote:
Alan Clifford wrote:
If you define a variable DUMMY="hello", you can write it later with
LOG="${DUMMY}" to the log file. So you can test and see if the correct
value is written to the log file.
Alan, thanks for the reply.
At the beginning of /etc/procmailrc, I define the LOG used by all
the recipes. I guess the question is, how can I put that into an
included rc file without changing the global LOG? Something like this
perhaps?
:0c
{
LOG="${DUMMY}"
}
LOG="${DUMMY}"
That doesn't define your log file. Assigning a value to LOG writes that
value to your log file. It doesn't need to be within a recipe.
--
Alan
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail