SA Scoring

Dhawal Doshy dhawal at netmagicsolutions.com
Wed May 17 20:57:39 IST 2006


Ed Bruce writes: 

> Glenn Steen wrote:
>> On 17/05/06, --[UxBoD]-- <uxbod at splatnix.net> wrote:
>>> Hi Scott, 
>>>
>>> oops again, upgraded DCC and was using wrong path :( with respect to
>>> the bayes database yes I am using root. Should it be held under the
>>> postfix
>>> account ?
>>
>> Phil, if that path/files are readable by postfix (assuming you do the
>> usual unprivileged chroot thing)... well, then that is fine. If not
>> ... :-).
>> Easiest test is to su into the postfix user account and rerun the SA
>> lint from there... Search the output for "bayes":-).
>> Ownership of the files/directories and/or permission "mask" might need
>> be adjusted, if it isn't readable/writable. 
>>
>> While you're at it (logged in as the postfix user), also look that
>> pyzor/razor/dcc really works for that user too... It's rather common
>> to make the postfix users homedir unwritable, so these might need some
>> help too. 
>>
> I have a question, since our postfix account is in a chroot jail and
> can't be su'ed to, how do you check this out?
 

I am not too sure but the regular method should work: 

[root at hostname ~]# su - postfix -s /bin/sh
[postfix at hostname ~]$ spamassassin -D --lint -x 

 - dhawal 




More information about the MailScanner mailing list