Re: bogofilter->Postfix integration

Matthias Andree <[email protected]>
Newsgroups gmane.mail.bogofilter.general
Message-ID <[email protected]>
[email protected] schrieb:
> On Tue, July 1, 2008 1:48 am, Matthias Andree wrote:
>> On Sun, 29 Jun 2008, [email protected] 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@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
_______________________________________________
Bogofilter mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.