Thanks Michael, I have miss the sentence "Conditions are anded"....now I kow ;)
Lorenzo Il gio, 2004-08-26 alle 21:45, Michael Marsh ha scritto: > On Thu, 26 Aug 2004 19:03:56 +0200, Lorenzo Rossi <[EMAIL PROTECTED]> wrote: > > i was trying to setup procmail to store incoming e-mails to different > > files in my home directory, but, procmail write all my incoming emails > > to the same file, the "mbox" file. > > I can not understand why? > > > > My procmail config file look like so: > [...] > > :0: > > * ^To:.*debian-user > > * Cc:.*debian-user > > ${HOME}/Mail/debian-user > [...] > > > procmail: Match on "^To:.*debian-user" > > procmail: No match on "Cc:.*debian-user" > [...] > > Any ideas?? > > >From the procmailrc manpage: "Conditions are anded" > > Split that into two rules, one for To and one for CC, and you'll be > fine. Actually, what > would be even better is: > > :0: > * ^TO_debian-user > ${HOME}/Mail/debian-user > > That'll catch To, Cc, Bcc, and a bunch of others. > > -- > Michael A. Marsh > http://www.umiacs.umd.edu/~mmarsh > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]