procmail
[Top] [All Lists]

Re: Message tag suffix

1997-09-03 14:37:05
Robert Gahl asked,

| Is there a variable, similar to MSGPREFIX, that indicates
| what tag procmail assigned during something of the form:
| 
|     :0 c
|     backup
| 
| when it throws a message into the backup directory, with
| a unique suffix?

What you're looking for probably is $LASTFOLDER or (in the absence of
characters from $SHELLMETAS) $-.  See the procmailrc(5) man page.

Yeah, I saw this unique piece in LASTFOLDER, but what I want is
that last piece, not the entire contents of LASTFOLDER. Now, I
can write a script to parse out that naughty bit, throwing away
the other stuff. I was just going to use procmail's "unique-o-fier"
rather than just write my own. I was hoping that that unique key
it generated was directly accessible rather than stripping it off
of LASTFOLDER.

Sorry, I should have been more specific.
---
Bob Gahl KD6KMX Bicycle (Ryan Vanguard) Mobile  ||      @
      ARPA/INTERNET: bgahl(_at_)thesphere(_dot_)com        ||   !_ \
    WWW: http://www.thesphere.com/~bgahl/       ||   (*)-~--+--(*)
"If you're trying to be politically correct you're like a chameleon
 in front of a mirror. What can you say that won't be offensive to
 somebody?"                                        Robin Williams

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