<<< Date Index >>>     <<< Thread Index >>>

Re: mutt and filtering



* Thorsten Haude <mutt@xxxxxxxxxxxxxx> [10-25-04 15:23]:
> Don't use Procmail. 

Why would you counsel someone to not utilize an application that you
admit you do not understand and have not taken the time to try?

btw, the colon provides a file lock during delivery, information
available via all four of the excellent procmail man files.

> There are alternatives that are much more friendly to new users. 

Again, strictly opinion.

> In Maildrop your examples would look about this (I'm not sure what
> Procmail makes of all the colons though): 
>     if (/Subject:.*test*/) { to ajug
>     }
> 
>     if (/Subject:.*bla*/)
>     {
>         to nylug
>     }
> 
> Note that the first example would match 'testttttt' or 'tes'.

And your note is incorrect, the above will *not* match 'tes', but will
match anything following the line starting with 'Subject:' containing
the char string 'test', ie: 'contestant' or 'another testing'.

Procmail is easily implemented following the 'Quick Start' at:
      http://www.ii.com/internet/robots/procmail/qs/

Maildrop will accomplish the OP's task, just with a different
vernacular.
-- 
Patrick Shanahan                        Registered Linux User #207535
http://wahoo.no-ip.org                        @ http://counter.li.org
HOG # US1244711           Photo Album:  http://wahoo.no-ip.org/photos