4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Re: Maildrop isn't fi...
FromSent OnAttachments
Isaac ZinnerJan 3, 2006 12:32 am 
Milan ObuchJan 3, 2006 2:00 am 
Isaac ZinnerJan 3, 2006 2:21 am 
Isaac ZinnerFeb 14, 2006 5:51 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Re: Maildrop isn't filteringActions...
From:Isaac Zinner (zin@datatx.com)
Date:Jan 3, 2006 2:21:42 am
List:net.sourceforge.lists.courier-maildrop

Thanks for your ideas ,

1. If I send a mail that the From field is : te@datatx.com then the rule should not be applied while it is. 2. How do I see the Environment ? adding log 'env' to maildroprc didn't work .

Thanks Isaac

----- 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