procmail
[Top] [All Lists]

Re: procmail configurations

2000-03-02 04:59:42
Holger Wahlen writes:
Ian Ponce asked:

I want to filter out all e-mails with subject: [gamedancers] so on.....
and transfer it to a folder. is this syntax of mine correct?
...
:0
* ^Subject:.*[gamedancers].*
/home/ian/mail/gamedancers/

It's correct syntax, but it doesn't do exactly what you want. Try
this instead:

:0:
* ^Subject:.*\[gamedancers]
/home/ian/mail/gamedancers

 This still won't work. The problem with this condition is
 that the whole subject line is eaten up by .*. Your other 
 suggestion ( [ tab space ] * ) is more appropriate.

 I am not sure whether the second colon at recipe start is required.
 The original action line is

/home/ian/mail/gamedancers/

 Doesn't the trailing slash imply maildir delivery?