Mailscanner Conf

Anthony Peacock a.peacock at chime.ucl.ac.uk
Mon Apr 16 09:15:55 IST 2007


Hi,

Seamus Allan wrote:
> Heres the output from the sudo'd spamassassin test. I have tried almost
> everything in my power to make the /root/.spamassassin folder writable to no
> avail, so will need to shift the config elsewhere, and somehow point
> spamassassin to it??
> 
> [8189] warn: config: cannot write to /root/.spamassassin/user_prefs:
> Permission denied
> [8189] warn: config: failed to create default user preference file
> /root/.spamassassin/user_prefs
> <snip>Spam message in question
> Content analysis details:   (5.7 points, 5.0 required)
> 
>  pts rule name              description
> ---- ----------------------
> --------------------------------------------------
>  2.5 MISSING_HB_SEP         Missing blank line between message header and
> body
>  0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay
> lines
>  0.2 MISSING_HEADERS        Missing To: header
>  0.1 TO_CC_NONE             No To: or Cc: header
>  1.3 MISSING_SUBJECT        Missing Subject: header
>  1.5 EMPTY_MESSAGE          Message appears to have no textual parts and no
>                             Subject: text
> 
> 
> I tried testing the Bayesian theory too, and I think that you're right: all
> of the bayes learning scripts that I have written run as root (through cron)
> so it will be learning to the wrong bayes database.
> 
> So the question is where do I most the files (namely bayes files) from
> /root/.spamassassin to?

To the home directory of the postfix user.  You should then run all of 
the learning scripts as the postfix user as well.

-- 
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW:    http://www.chime.ucl.ac.uk/~rmhiajp/
"If you have an apple and I have  an apple and we  exchange apples
then you and I will still each have  one apple. But  if you have an
idea and I have an idea and we exchange these ideas, then each of us
will have two ideas." -- George Bernard Shaw


More information about the MailScanner mailing list