bogofilter->Postfix integration

Matthias Andree matthias.andree at gmx.de
Tue Jul 1 20:01:06 CEST 2008


paul at paulbeard.org schrieb:
> On Tue, July 1, 2008 1:48 am, Matthias Andree wrote:
>> On Sun, 29 Jun 2008, paul at paulbeard.org wrote:
>>
>>
>>> filter    unix  -       n       n       -       -       pipe flags=R
>>> user=filter argv=/home/filter/postfix-filter.sh -f ${sender} --
>>> ${recipient}
>>>
>> One more thing on top of the earlier questions:
>>
>>
>> Does the user account "filter" exist on your system?
>> What's its default shell?
> 
> filter:*:1007:1007:bogofilter mgmt account:/home/filter:/usr/sbin/nologin

And that "nologin" might be the problem... try a restricted or a real
shell, since the filter evidently needs one :-)

> [root at shuttle /usr/home/paul]# ls -l /home/filter/
> total 292
> -rwxr-xr-x  1 filter  filter     865 Jun 29 18:39 postfix-filter.sh
> -rw-rw-rw-  1 filter  filter  147456 Jun 29 09:47 wordlist.db

wordlist.db world writable? I'd rather leave that out, make it group
writable and set bogofilter setgid to filter (chgrp filter; chmod 02750)...

> Exhaustive logging is attached ;-)

Eaten by the list, since it apparently wasn't plain text - resend as plain
text if none of the above helps.

HTH

-- 
Matthias Andree



More information about the Bogofilter mailing list