procmail
[Top] [All Lists]

logs do not expand variables

2003-04-11 04:31:03
My procmail logs contain items such as this:

  Folder:  cat > ${SPOOL} && mv ${SPOOL} ${DEST}      6359

Is is possible to get the actual variable values instead of the 
above?  For example:

  Folder:  cat > /tmp/foo.bar && mv /tmp/foo.var /tmp/queue     6359

The recipe extract for the above is this:

      :0
         | cat > ${SPOOL} && mv ${SPOOL} ${DEST}

I know that if I do:

      :0
         ${SPOOL}

I get this in my logs:

  Folder:  /home/dan/spooling/2003.04.11.06.57.51.52083.txt     4954

But I then need to move this file to 
/home/dan/incoming/2003.04.11.06.57.51.52083.txt.  The message is not 
dumped directly to that file because a daemon will pick up the file 
and process.  This must not happen until the file is completely 
written.

Thank you
-- 
Dan Langille : http://www.langille.org/


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