Configuring bogofilter inside of a maildrop mailfilter
David A. Ulevitch
davidu at everydns.net
Wed Apr 16 20:26:41 CEST 2003
<quote who="Robert August Vincent II">
> I've gotten that error when the .Spam directory didn't exist.
It exists.
>
> Are you absolutely sure that the
> ./davidu/Maildir/.Spam
> maildir exists in this context?
Yes. Other rules written the same way work just fine. It is the xfilter
line which is failing.
>
> What directory is maildrop running in?
I'm not sure I suppose. I set this at the top of the mailfilter:
MAILDIR=/raid/var/vpopmail/domains/everydns.net/davidu/Maildir
Any other ideas? The other one mentioned about using the bogofilter.rc
also failed.
-davidu
>
> On Wed, Apr 16, 2003 at 11:31:54AM -0500, David A. Ulevitch wrote:
>>
>> Hi,
>>
>> I'm trying to get bogofilter to work inside my mailfilter file and am
>> having some difficulty.
>>
>> My setup is qmail+vpopmail+maildrop
>>
>> I've got this in my mailfilter:
>>
>> xfilter "/usr/bin/bogofilter -d
>> /raid/var/vpopmail/domains/everydns.net/davidu/.bogofilter -u -e -p"
>> [ed: one line]
>> if (/^X-Bogosity: Yes, tests=bogofilter/)
>> {
>> log " \\== Bogofilter Marked As Spam!"
>> to "./davidu/Maildir/.Spam"
>> }
>>
>> When this is enabled, I get this error in the qmail logs:
>> delivery 352: deferral:
>> maildrop:_error_writing_to_filter.//usr/bin/maildrop:_Unable_to_filter_message./
>>
>> Has anyone seen this error or know what I'm doing wrong?
>>
>> Thanks in advance,
>> davidu
>>
>> David A. Ulevitch -- http://david.ulevitch.com
>> http://everydns.net -+- http://communitycolo.net
>> Campus Box 6957 + Washington University in St. Louis
>>
>> FAQ: http://bogofilter.sourceforge.net/bogofilter-faq.html
>> To unsubscribe, e-mail: bogofilter-unsubscribe at aotto.com
>> For summary digest subscription: bogofilter-digest-subscribe at aotto.com
>> For more commands, e-mail: bogofilter-help at aotto.com
>>
>
> --
> Robert August Vincent, II (pronounced "bob" or "bob-vee")
> bobvin at pillars.net, geek at large, computerwhiz at bobvincent.org
>
----------------------------------------------------
David A. Ulevitch -- http://david.ulevitch.com
http://everydns.net -+- http://communitycolo.net
Campus Box 6957 + Washington University in St. Louis
----------------------------------------------------
More information about the Bogofilter
mailing list