procmail
[Top] [All Lists]

Re: Carbon copy for each TO

1997-04-30 21:20:00
Liston Bias <bias(_at_)wombat(_dot_)eng(_dot_)fsu(_dot_)edu> writes:
On Wed, 30 Apr 1997, Philip Guenther wrote:

Is there an similar technique to LASTFOLDER for testing if a message has
been forwarded such as: 

      :0 c:
      * ^TO.*\<bob\>
      ! bob(_at_)mail(_dot_)com

This does not appear to set any flags?

Last time I checked, forwarding actions were treated almost exactly the
same as if they were pipe actions that were prefixed with:

        $SENDMAIL $SENDMAILFLAGS

I.e., the action on the above recipe is treated as if you had written:

        | $SENDMAIL $SENDMAILFLAGS bob(_at_)mail(_dot_)com


Anyway, the result is they LASTFOLDER is indeed set (unless I'm off my
rocker).  BTW, you can remove the second colon (after the 'c' flag), as
there's no need for a locallockfile on this recipe.

Philip Guenther

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