procmail
[Top] [All Lists]

Re: cc w/o removing the mail from /var/spool/mail/user_name

1997-02-21 00:21:01


Hello all,

I am new to the list. I hope you don't mind beginners questions.

How to send a copy of a received mail received from "kyko" to another
account and keeping the original on /var/spool/mail/user_name? (The user
reads his email w/ eudora)

                ....

Thank you,
Carlos

        How about:

        :0c
        * ^FROM.*kyko
        ! weblocal(_at_)edo(_dot_)net  #send cc 

        Or (to be extra careful about ringing mail)

        XLOOP="myaddr(_at_)mydomain(_dot_)com"
        :0c
        * ^FROM.*kyko
        | formail -i "To: weblocal(_at_)edo(_dot_)net" -A "X-Loop:$XLOOP" \
                $SENDMAIL -t -oi -oe

        (these are untested and may need some tweaking).

--
Jim Dennis,                                
info(_at_)mail(_dot_)starshine(_dot_)org
Proprietor,                          
consulting(_at_)mail(_dot_)starshine(_dot_)org
Starshine Technical Services              http://www.starshine.org

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