procmail
[Top] [All Lists]

Re: save message on autoreply

1996-05-12 17:57:04

That should be "MAILDIR=$HOME/Mail" without a "$" at the beginning.  You use
the dollar sign to interpolate the value of a variable (as with "$HOME"), not
to define one.
OK, so I have a question.  I want to attempt to match a from with a 
variable and a subject:

        # Found attachment submited by $Person1
        * ^From.*$Person1
        * ^Subject.*submiting.attachment
        { 
           # do something in here
        }

where would I define these variables if I want them always available to 
me in the shell (I use csh) so I can, for instance:

        mail $Person1 < person1.attachment

and I would REALLY like to have it stored in one place, not two or more, so
I can easily change the definition of $Person1.  This is more of a shell 
question but I guess I am asking if putting this info in my .cshrc will 
carry into procmail processing or not or if there is some other way to 
achieve this.

--Steve
 
========================================================================
S Lewis, nepolon(_at_)gladstone(_dot_)uoregon(_dot_)edu, Ugrad @ University of 
Oregon
"Censorship works best when you have quiet fear; not open hostility."
--Richard Jay Solomon <rjs(_at_)rpcp(_dot_)mit(_dot_)edu>


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