procmail
[Top] [All Lists]

Re: Simple problem

1997-09-02 15:54:46
Quoting Tony D'Andrade (blue(_at_)visinet(_dot_)ca):
:0
* ^From:.*(fred|barney|wilma|betty|dino).*
{
        :0
        | (formail -brt  -I 'From: Tony Smith <rpg(_at_)visinet(_dot_)ca>' ; \
        cat $HOME/.reply.message) | $SENDMAIL -t

        :0
        inbox
}

Ok the auto responder works, but the mail that was sent to me is not in my
inbox.  How can i make it so ???  If i leave out the:

That's because procmail thinks it is done when it follows your
instructions and sends the reply. You need to change the :0 to :0f so
procmail knows it needs to keep going. You also need to change the :0 in
front of the inbox to :0: so procmail locks the mail file.

-- 
Michael Stone, Sysadmin, ITRI     PGP: key 1024/76556F95 from mit keyserver,
mstone(_at_)itri(_dot_)loyola(_dot_)edu            finger, or email with 
"Subject: get pgp key" 

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