Not sure, but I think you'd have to chmod 666 your logfile - otherwise the
first user will access it but others won't - maildrop will be running with
the uid of the user being delivered to, so this would cause a problem...
other things might be permissions related as well...

m/

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Mark
> Constable
> Sent: Saturday, February 07, 2004 11:15 AM
> To: [EMAIL PROTECTED]
> Subject: [courier-users] maildrop(rc)
>
>
> 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
>



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

Reply via email to