procmail
[Top] [All Lists]

Re: Recipe Problem

1999-09-01 16:40:29
On Wed, 1 Sep 1999, Stan Ryckman wrote:

sr> At 10:42 PM 8/31/99 -0700, Jeff Grossman wrote:
sr> >I seem to be having a problem with my recipe file.  I just added three new
sr> >recipes, and now it appears all of my messages are being moved into my
sr> >Mailing Lists folder.  The three that I just added are the last three.
sr> >Everything worked fine before I added those, so I imagine the problem is
sr> >there.  The three with Proftpd is what I am talking about.
sr> 
sr> [snip]
sr> 
sr> >:0
sr> >* ^Subject:.*[ProFTPD]
sr> >| $DROP/'Mailing Lists'
sr> 
sr> In this recipe (and one other) you need to change [ to \[
sr> What you've written matches any subject containing any
sr> of the letters p,r,o,f,t, or d (upper or lower case).
sr> That probably appears to catch all of your mail!
sr> 
sr> It will be OK, but not necessary, to also escape the ] as well;
sr> that character is special only when closing the [] pair.
sr> 

  You will also want to put a lock on your recipes, without a lock, you
could end up with jumbled messages or just plain messed up messages.

:0:
* ^Subject:.*\[ProFTPD]
| $DROP/'Mailing Lists'

-- 
     S.Toms - tomas(_at_)primenet(_dot_)com - http://www.primenet.com/~tomas
                S.u.S.E. Linux v6.1+ - Kernel 2.2.11

The day after tomorrow is the third day of the rest of your life.

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