13 messages in net.sourceforge.lists.courier-maildropRE: [maildropl] Filters dont work
FromSent OnAttachments
Karsten IwenJan 26, 2003 11:26 am 
Paul ChambersJan 26, 2003 1:30 pm 
Karsten IwenJan 27, 2003 11:57 am 
Mark WeinemJan 27, 2003 6:04 pm 
Paul ChambersJan 28, 2003 9:07 am 
Karsten IwenJan 28, 2003 10:15 am 
Paul ChambersJan 28, 2003 1:01 pm 
Mark MayoJan 28, 2003 1:51 pm 
Mark WeinemJan 29, 2003 3:57 pm 
Mark WeinemJan 29, 2003 3:57 pm 
Karsten IwenJan 30, 2003 1:43 am 
Karsten IwenFeb 1, 2003 9:45 am 
Karsten IwenFeb 1, 2003 2:35 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:RE: [maildropl] Filters dont workActions...
From:Karsten Iwen (kars@saviya.de)
Date:Jan 28, 2003 10:15:44 am
List:net.sourceforge.lists.courier-maildrop

Karsten, are you using maildirs or mailboxes? Could you change the lines at the top of your file like:

I use Maildirs (Courier-IMAP) and you were right, my /etc/maildroprc contained the line DEFAULT="$HOME/Maildir" After changing that to DEFAULT="$HOME/Maildir/" the filter for my testuser started working.

But on my own account it does not work, and that seems strange.

My .mailfilter:

logfile "$HOME/Maildir/maildrop.log" log "default=$DEFAULT" if (/^From:.*be@domeus.de/:h) { log "rule1: $MATCH" to "Maildir/.MyServer.ColdMedia" } if (/^From:.*@amazon.de/:h) { log "rule2: $MATCH" to "Maildir/.Amazon" }

and my logfile: default=/home/k_iwen/Maildir/ rule1: Date: Tue Jan 28 19:01:49 2003 From: "Test User" <te@user.de> Subj: Testnachricht fuer KI File: Maildir/.MyServer.ColdMedia (2572)

The (working) filter for my Testuser is now: logfile "$DEFAULT/maildrop.log" log "default=$DEFAULT"

if (/^Subject:.*Antivir/:h) { log "rule1: $MATCH" to "Maildir/.Virus" } if (/^Subject:.*cron/:h) { log "rule2: $MATCH" to "Maildir/.cron" }

And I don't see any differences there.

best regards, Karsten