9 messages in net.sourceforge.lists.courier-users[courier-users] maildrop(rc)
FromSent OnAttachments
Mark ConstableFeb 7, 2004 12:26 pm 
Mitch (WebCob)Feb 7, 2004 6:58 pm 
Mark ConstableFeb 7, 2004 9:31 pm 
Jeff JansenFeb 8, 2004 4:58 am 
Mark ConstableFeb 8, 2004 7:17 am 
Kevin BaileyFeb 8, 2004 8:27 am 
Sam VarshavchikFeb 8, 2004 4:12 pm 
Bowie BaileyFeb 9, 2004 7:00 am 
Mark ConstableFeb 9, 2004 10:26 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:[courier-users] maildrop(rc)Actions...
From:Mark Constable (mar@renta.net)
Date:Feb 7, 2004 12:26:39 pm
List:net.sourceforge.lists.courier-users

courier-maildrop 0.42.2

I am having trouble getting global maildrop filtering to work.

# grep DEFAULTDELIVERY /etc/courier/courierd DEFAULTDELIVERY="| /usr/bin/maildrop"

# cat /etc/courier/maildroprc logfile /var/log/bogofilter.log xfilter "/usr/bin/bogofilter -e -p -d /var/lib/bogofilter/"

if ((/^X-Spam: Yes/:h)) { /^Subject: *!.*/:h xfilter "/usr/bin/reformail -I'Subject: **Spam** '\"$MATCH2\"" }

if ((/^X-Spam: Unsure/:h)) { /^Subject: *!.*/:h xfilter "/usr/bin/reformail -I'Subject: **Suspect** '\"$MATCH2\"" }

if ((/^X-Spam: No/:h)) { /^Subject: *!.*/:h xfilter "/usr/bin/reformail -I'Subject: **NotSpam** '\"$MATCH2\"" }

#to "./Maildir"

Messages are being succesfully delivered but /var/log/bogofilter.log remains empty and there is no sign of any tagging. The above as an individuals users .mailfilter does work as intended with nothing but the uncommented 'to "./Maildir"' and the users .courier changed to '| /usr/bin/maildrop' so the xfilter section is Ok. No log errors.

And yes, I restarted courier, many times. Any suggestions ?

--markc