procmail
[Top] [All Lists]

Re: Procmail with IMAP server

1998-09-14 04:00:53
On Mon 14 Sep, era eriksson wrote:
On Mon, 14 Sep 1998 10:35:16 +0100 (BST), John Beranek
<jberanek(_at_)acorn(_dot_)com> wrote:
 > On Fri 11 Sep, Jauder Ho wrote:
 >> :0
 >> * ^TO(_dot_)*(_at_)transmeta(_dot_)com
 >> * !^TO(.*[0-9].*@)
 >> | dmail +INBOX
 > :0
 > * ^From:.*CVS Automatic notification.*
 > | /home/jberanek/bin/x86/dmail +.Mail/CVS
 > Would I need to add a line similar to the "* !^TO(.*[0-9].*@)" or not?

You can only ever have one action for each recipe. To do more than one
thing, use a compound recipe, usually with a c flag on the first
partial action:

    :0
    * ^From:(.*\<)jberanek
    {
        :0cw
        | /home/jberanek/bin/x86/dmail +.Mail/Test

        :0:
        $HOME/normalfolder
    }

Cool, thanks.  I've finally managed to get rid of my extraneous
forwarding system, and now rely totally on procmail and dmail. :)

Now I'm off to see what else I can filter.... :)

John.

-- 
  John Beranek, Software Engineer,  Information Appliances Division,
    Acorn Computers Limited.       Web site: http://www.acorn.com/
              Homepage: http://www.acorn.com/~jberanek/
             Tel: +44 1223 725211   Fax: +44 1223 725311

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