procmail
[Top] [All Lists]

Re: Question

1996-12-16 11:43:17
    > I am having trouble formulating a .procmailrc file to:
    > 
    > 1.        append a copy of the email to a file
    > 2.        send a copy to another user
    >           and
    > 3.        finally run the email thru a script .
    >  
    > I have been able to do # 1 and 3 but not   # 2 
    > Could you please send me an example of this ?

1.
        :0c:    # append mail to "mailfolder"
        mailfolder

2.
        :0c     # send copy of the mail to "auser"
        ! auser

3.
        :0      # run the mail through "ascript"
        | ascript

Please read the man page for "procmailrc" and especially pay attention
to the "c" flag, and the "!" and "| actions.

G'luck

___________________________________________________________
Alan Stebbens <aks(_at_)sgi(_dot_)com>      http://reality.sgi.com/aks


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