Re: Procmail setup problem
On Thu, 26 Aug 2004 19:03:56 +0200, Lorenzo Rossi <tacchino801@libero.it> 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
Reply to: