Koozali.org: home of the SME Server

Possible bug: spamassassin autowhitelist problem

Offline Michail Pappas

  • *
  • 351
  • +1/-0
Possible bug: spamassassin autowhitelist problem
« on: July 20, 2012, 01:16:55 PM »
Opened bug 7043:

SME 8, 32-bit system, server-only operation. In spamassassin I have enabled use autowhitelist and Bayesian learning via config setprop spamassassin commands. The following errors are logged in /var/log/spamd/current

@4000000050093c401661c25c Jul 20 14:08:38.375 [4219] warn: netset: cannot include 127.0.0.0/8 as it has already been included
@4000000050093c40166986a4 Jul 20 14:08:38.376 [4219] info: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": use_auto_whitelist 1
@4000000050093c40166c1acc Jul 20 14:08:38.376 [4219] info: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": auto_whitelist_path /var/spool/spamd/.spamassassin/auto-whitelist
@4000000050093c40166e939c Jul 20 14:08:38.376 [4219] info: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": auto_whitelist_file_mode 750

# config show spamassassin
spamassassin=service
    DNSAvailable=yes
    MessageRetentionTime=90
    OkLanguages=en el
    OkLocales=en el gr
    RejectLevel=10
    ReportSafe=0
    Sensitivity=custom
    SkipRBLChecks=0
    SortSpam=enabled
    Subject=[SPAM]
    SubjectTag=enabled
    TagLevel=6
    TrustedNetworks=127/8 192.168/16
    UseAutoWhitelist=1
    UseBayes=1
    status=enabled

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Possible bug: spamassassin autowhitelist problem
« Reply #1 on: July 20, 2012, 01:43:40 PM »
reqman, please open a bug asap..

didn't see you've already done.. need more coffee ;-)

thank you

Offline Michail Pappas

  • *
  • 351
  • +1/-0
Re: Possible bug: spamassassin autowhitelist problem
« Reply #2 on: July 24, 2012, 06:46:22 AM »
See also the (relevant) bug 7048 - Spamassassin: Failed to parse ok_languages.

Have configured ok_languages among other things, via config setprop spamassassin commands:

Code: [Select]
spamassassin=service
    DNSAvailable=yes
    MessageRetentionTime=90
    OkLanguages=en el
    OkLocales=en el gr
    RejectLevel=10
    ReportSafe=0
    Sensitivity=custom
    SkipRBLChecks=0
    SortSpam=enabled
    Subject=[SPAM]
    SubjectTag=enabled
    TagLevel=6
    TrustedNetworks=127/8 192.168/16
    UseAutoWhitelist=1
    UseBayes=1
    status=enabled

The following error shows up in the logs:

Code: [Select]
@40000000500e27ab346b51b4 Jul 24 07:42:09.879 [5301] info: config: failed to parse, now a plugin, skipping, in "/etc/mail/spamassassin/local.cf": ok_languages en el