On 2024-05-18 at 10:25:28 UTC-0400 (Sat, 18 May 2024 16:25:28 +0200)
Francis Augusto Medeiros-Logeay <[email protected]>
is rumored to have said:

Hi,

I use Spamassassin 4 on Ubuntu 24.04.

I have configured SQL for storing user preferences. Things work fine, but I am getting these errors on my logs:

Sat May 18 16:22:21 2024 [75733] info: config: not parsing, administrator setting: use_pyzor\t1 Sat May 18 16:22:21 2024 [75733] info: config: failed to parse line in (sql config) (line 23): use_pyzor\t1 Sat May 18 16:22:21 2024 [75733] info: config: not parsing, administrator setting: use_razor2\t1 Sat May 18 16:22:21 2024 [75733] info: config: failed to parse line in (sql config) (line 28): use_razor2\t1

My query is pretty standard:

user_scores_sql_custom_query SELECT preference,value FROM spam_assassin_userpref WHERE username = _USERNAME_ OR username = '$GLOBAL' OR username = CONCAT('%',_DOMAIN_) ORDER BY username ASC

Is there a bug when parsing the preferences from sql?

It's not really a parsing error, it's a configuration error. You cannot set "use_pyzor" or "use_razor" in user preferences, as they are both restricted to system-wide config.




--
Bill Cole
[email protected] or [email protected]
(AKA @[email protected] and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to