Just wanted to let you know it was apparantly due to me making the filter
using Webmin from windows + cut and paste.
Once I edited the mailfilter directly on Linux the filtering was working
just good.
Regards
Yitzhak Zinner
----- Original Message -----
From: "Milan Obuch" <sf...@dino.sk>
To: <cour...@lists.sourceforge.net>
Sent: Tuesday, January 03, 2006 11:59 AM
Subject: [maildropl] Re: Maildrop isn't filtering
On Tuesday 03 January 2006 09:31, Isaac Zinner wrote:
Hello list,
My problem shortly : Maildrop is working but not filtering according to
the
rules. Here is the rule :
if (/^FROM:.isaac*/ )
{
to "$MAILDIR.Trash/"
}
But ALL the mail now goes to the Trash wether it is from Isaac or not.
You could play maybe with spaces in your regexp? It is mentioned several
times on mailing lists that maildrop is picky about spaces, but my
personal
experience is it just works - no problem with rules yet.
Another question is what you would like to match - /^FROM:.isaac*/ means
FROM:
at the beginning, literally, then any character, then isaa literally, then
any c repeated any number of times. Maybe your rule should be modified a
bit.
When I am testing something, it is useful to see an environment as well -
using log `env` in maildrop recipe does the trick.
Just some ideas, maybe helpfull...
Regards,
Milan