procmail
[Top] [All Lists]

Re: Extracting Filename

2000-01-04 22:03:46
Philip Guenther wrote:

SoloCDM <deedsmis(_at_)ris(_dot_)net> writes:
While backup cache recipe is in process, how can the filename created
for each e-mail be extracted for reference purposes?

After the
        :0 c
        backup

recipe, the filename under which the message was stored can be found
in the LASTFOLDER variable.  This will be reset by the next recipe,
so save it in another variable if you need it later.

1) Is the entire .procmailrc file processed, even if a recipe meets the
requested process?  2) What is needed to echo a message into the log file
(maybe: | echo $MESSAGE).  3) Are the braces ("{}") needed to ensure both
the recipe and the message echoed are processed?

*********************************************************************
Signed,
SoloCDM

P.'S. Detailed Documentation(s) and Sample(s) are more than welcome.
      When you reply to this message, please include
      the mailing list and my address.


<Prev in Thread] Current Thread [Next in Thread>