Markus Braun wrote:
>> You can drop these into a .cf file in your site-config directory
>> (/etc/mail/spamassassin/ for most people):
>>
>> header L_S_ULT_PHARM    Subject =~/\bThe Ultimate Online
>> Pharmaceutical\b/i
>> score L_S_ULT_PHARM     3.0
>> describe L_S_ULT_PHARM  spam from the ultimate online pharmacy
>>
>> header L_S_SW_LOWPR    Subject =~/\bS[o0]ftw[a4]r[e3] At L[o0]w
>> Pr[i1]c[e3]s?\b/i
>> score L_S_SW_LOWPR     3.0
>> describe L_S_SW_LOWPR  offers software at low price
>>
>>
>>
>> Note: careful of the word-wrapping, each of those rules is 3 lines
>> long, for a
>> total of 6 lines.
>
> I put one *.cf files into the /etc/spamassasin/ Directory.
>
> See also attached.
It looks OK, except the file for some reason has HTML tags in it.. The
real file must not have HTML in it.
>
> Can you take a short look?
>
> Also i restarted spamassassin.
>
> Is it a problem when i make the sa-learn with the user root?
If you  use spamd and don't have a bayes_path and bayes_file_mode
statement in your config files, yes.

Spamd never scans mail as the root user. If you try to make it, it will
setuid itself to the nobody user.

Reply via email to