http://bugzilla.spamassassin.org/show_bug.cgi?id=3855

           Summary: whitelist_from in local.cf ignored when SQL user_prefs
                    in use
           Product: Spamassassin
           Version: 3.0.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Rules (Eval Tests)
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


whitelist_from lines in local.cf are hit until spamd successfully loads user
prefs from SQL.  Afterwords, whitelist_from (and possibly other user prefs) in
local.cf are ignored.

Evidence:

My local.cf contains "whitelist_from [EMAIL PROTECTED]".

With spamd running with the -D switch, here is the debug output from two
identical messages sent a few minutes apart.

The one that worked where 'score so far' changes from 0 to -100:

<snip>
Oct  1 11:56:56 blacksheep spamd[23696]: debug: all '*From' addrs:
[EMAIL PROTECTED] 
Oct  1 11:56:56 blacksheep spamd[23696]: debug: Running tests for priority: 0 
Oct  1 11:56:56 blacksheep spamd[23696]: debug: running header regexp tests;
score so far=0 
Oct  1 11:56:56 blacksheep spamd[23696]: debug: SPF: message was delivered
entirely via trusted relays, not required 
Oct  1 11:56:56 blacksheep spamd[23696]: debug: all '*To' addrs:
[EMAIL PROTECTED] 
Oct  1 11:56:56 blacksheep spamd[23696]: debug: SPF: message was delivered
entirely via trusted relays, not required 
Oct  1 11:56:56 blacksheep spamd[23696]: debug: running body-text per-line
regexp tests; score so far=-100
<snip>

The one that didn't work where 'score so far' remains 0:

<snip>
Oct  1 11:58:15 blacksheep spamd[23701]: debug: all '*From' addrs:
[EMAIL PROTECTED] 
Oct  1 11:58:15 blacksheep spamd[23701]: debug: Running tests for priority: 0 
Oct  1 11:58:15 blacksheep spamd[23701]: debug: running header regexp tests;
score so far=0
Oct  1 11:58:15 blacksheep spamd[23701]: debug: SPF: message was delivered
entirely via trusted relays, not required 
Oct  1 11:58:15 blacksheep spamd[23701]: debug: all '*To' addrs:
[EMAIL PROTECTED] 
Oct  1 11:58:15 blacksheep spamd[23701]: debug: SPF: message was delivered
entirely via trusted relays, not required 
Oct  1 11:58:15 blacksheep spamd[23701]: debug: running body-text per-line
regexp tests; score so far=0 
<snip>

Workaround:

Moved all whitelist_from entries to the SQL database with username set to 
@GLOBAL.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to