procmail
[Top] [All Lists]

Re: procmail shell variables?

2003-12-30 09:15:41
In a hurry now, but here's the short answer:

Lee Hoffner wrote:

        TRAP=`$HOME/badcheck.pl`

Change that to

  TRAP='$HOME/badcheck.pl'

As a general rule, use hard quotes (although in that particular case, soft quotes would work too), not backticks, when you assign TRAP. TRAP should be the command[s] to run, not a string of text previously output by the command (unless that string is in turn a command to run, but that's not the situation here).



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