procmail
[Top] [All Lists]

Re: forward leftovers, but also keep here.

1996-01-09 10:56:21
    > Is this an easy question disguised as difficult?  I can't seem to
    > figure it out.
    > 
    > If a message doesn't match any of my .procmailrc receipes, I want
    > to then forward that message to my other account AND keep a copy
    > of it here in the mailspool /usr/spool/mail/luomat.
    > 
    > I assumed the best way to do that would be to have my last receipe
    > forward the message (which I know how to do) and keep it locally
    > too (which I do not know how to do)

Read the man page for procmailrc, especially about the "DEFAULT"
variable. 

    ...# other recipes

    # forward a copy to my other account
    :0c
    ! myotheracct

    # deliver to my maildrop
    :0
    $DEFAULT


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