2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Syntax Question
FromSent OnAttachments
Mike UsmarJan 12, 2006 2:01 pm 
Milan ObuchJan 12, 2006 2:06 pm 
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:[maildropl] Syntax QuestionActions...
From:Mike Usmar (mi@ramsu.co.nz)
Date:Jan 12, 2006 2:01:41 pm
List:net.sourceforge.lists.courier-maildrop

Hi,

I've been using maildrop for a while now, but came across a problem, where by I
want to filter out some email with a particular subject which has a '#' (hash)
in it. However its not working, as I believe maildrop treats that # has a comment, and
ignores the rest after it.

Basically I'm getting heaps of spam on my server, thats like this: Subject: [#aqqguqnex] Foo bar...

(eg [#(letters)] more letters)

So, I tried this in my .mailfilter file:

if (/^Subject:.*[#.*] /) { log "-----------delete [#..] spam------------" to /dev/null }

But doesn't seem to work. Can anyone help me?

Thanks