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
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users