procmail
[Top] [All Lists]

Procmail filtering problems

2000-07-31 23:18:40
Having a couple of problems using Procmail...

First time around, I simply wanted to save the mail messages to a directory other than my default mail directory, so I used the following rule:

    :0:
    * ^Subject: testmessage$
    * ^Sender: woof(_at_)\(_dot_)peanuts\(_dot_)foo\(_dot_)com
    special/IN.test

In my mail procmail file, I declared my MAILDIR = $HOME/Maildir, and I want these mail messeges saved to $HOME/Maildir/special/IN.test. The log (in verbose mode) shows the file being saved (or the last line was:

procmail: Notified comsat: "addpop(_at_)0:/home/woof/Maildir/special/IN.test"

However, the file IN.test never appeared in my
directory $MAILDIR/special/IN.test

If I change my procmail recipe to:

    :0:
    * ^Subject: testmessage$
    * ^Sender: woof(_at_)\(_dot_)peanuts\(_dot_)foo\(_dot_)com
    IN.test

The mail is saved in $MAILDIR/IN.test, and the procmail log looked identical except the last line was:

procmail: Notified comsat: "addpop(_at_)0:/home/woof/Maildir/IN.test"

I then set my recipe to:


    :0:
    * ^Subject: testmessage$
    * ^Sender: woof(_at_)\(_dot_)peanuts\(_dot_)foo\(_dot_)com
    IN.test.$$

Again, the log (in verbose appeared identical to the other cases, except for the last line:

procmail: Notified comsat: "addpop(_at_)0:/home/woof/Maildir/IN.test.5837"

However, IN.test.5837 did not exist in $MAILDIR.

I need each piece of Email saved into either a special folder, or to have each email in a separate file. I am using Procmail v3.13.1 o Redhat Linux 6.2

--
David Weintraub
Kana Communications
dweintraub(_at_)kana(_dot_)com
609-951-0216 ext. 339




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Procmail filtering problems, David Weintraub - Kana <=