Spamassassin is invoked from Courier-MTA. (OS is SUSE Pro 9.3)
The /usr/lib/courier/etc/courierd file has the following line:
DEFAULTDELIVERY="| /usr/bin/spamassassin | /usr/lib/courier/bin/maildrop"
I had tried it with 'spamc' but there was no difference. When I tried it
with /usr/bin/spamd I get the following in my mail log:

spamd[5895]: spamd: could not create INET socket on 127.0.0.1:783:
Permission denied
courierlocal:
id=00086831.4550A56E.00001702,from=<...sender...>,addr=<[EMAIL PROTECTED]>:
[5895] error: spamd: could not create INET socket on 127.0.0.1:783:
Permission denied
courierlocal:
id=00086831.4550A56E.00001702,from=<...sender...>,addr=<[EMAIL PROTECTED]>:
spamd: could not create INET socket on 127.0.0.1:783: Permission denied
courierlocal:
id=00086831.4550A56E.00001702,from=<...sender...>,addr=<[EMAIL 
PROTECTED]>,size=928,success:
Message delivered.
courierd: completed,id=00086831.4550A56E.00001702


I definitely have more than 200 ham and 200 spam in the database (done
with sa-learn commands). bayes_seen is 632k and bayes_toks is 2.5M in
size.

I think the problem is network tests but I checked the
/etc/sysconfig/spamd file and the only uncommented line is:
SPAMD_ARGS="-d -c"

-Brian

On Mon, November 6, 2006 05:20, Peter Teunissen wrote:
>
> On 6-nov-2006, at 1:54, John Andersen wrote:
>
>> On Sunday 05 November 2006 15:48, Brian S. Meehan wrote:
>>> Hi all,
>>> Spam filtering is working, but I'm getting about half the spam in my
>>> mailbox. Anyone have tips on adjustments I could make?
>>>
>>> Here's what I have in the local.cf file:
>>> rewrite_header SUBJECT  **SPAM**
>>> dns_available yes
>>> required_score 4.0
>>> bayes_path /etc/mail/spamassassin/bayesfiles/bayes
>>> use_bayes 1
>>> bayes_auto_learn 1
>>> bayes_auto_learn_threshold_spam 10
>>> bayes_file_mode 0777
>>> report_safe 0
>>> trusted_networks 192.168.1.101
>>> bayes_ignore_header X-purgate
>>> bayes_ignore_header X-purgate-ID
>>> bayes_ignore_header X-purgate-Ad
>>> bayes_ignore_header X-GMX-Antispam
>>> bayes_ignore_header X-Antispam
>>> bayes_ignore_header X-Spamcount
>>> bayes_ignore_header X-Spamsensitivity
>>
>> Its not clear if you have network tests running or not.
>> How is spamassassin invoked?
>>
> and:
> - have you trained you bayes DB with at least 200 HAM and 200 SPAM?
> - added some safe rules from SARE (for example with sa-update and the
> http://saupdates.openprotect.com/ channel?)
>
> Peter
>
>


-- 
"All people who think everything is either black or white are idiots."

Reply via email to