procmail
[Top] [All Lists]

Re: Variables

2001-02-08 13:13:17
"Carlos Eduardo R. L. de Miranda" <consultor(_at_)linuxbr(_dot_)com(_dot_)br> 
writes:
I have to use variables on the recipe bellow. Adding $ on the condition line
make it possible to use variables there bur not on the command.
Any one to help?
...
:0 h c
* !^FROM_DAEMON
* $ !^X-Loop: $LOGIN(_at_)$DOMAIN
  | (formail -r -A"Precedence: junk" \
      -A"X-Loop: $LOGIN(_at_)$DOMAIN" ; \
     cat $PMDIR/presente.msg ) | $SENDMAIL -t

Variables are normally expanded in action lines.  Try putting
        SHELL=/bin/sh
at the top of the rcfile, and then check to see what the logfile shows
(you do set the LOGFILE variable, right?).


Philip Guenther
_______________________________________________
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>
  • Variables, Carlos Eduardo R. L. de Miranda
    • Re: Variables, Philip Guenther <=