https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5893
Summary: bayes_sql_override_username is ignored if value evaultes
to 'false'
Product: Spamassassin
Version: 3.2.4
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P5
Component: spamassassin
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=4306)
--> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4306)
Proposed patch
In our deployment, we use integers as our 'usernames' in the bayes tables. A
username of '0' is a "fail-back" value for bayes_sql_override_username for
users who don't want their own per-user bayes configuration. However, this
evaluates to 'false', so is never used. SA should use 'if defined' rather than
just 'if' to solve this problem.
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.