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





------- Additional Comments From [EMAIL PROTECTED]  2004-04-12 08:46 -------
okay.. so i've figured out what is wrong.

an invalid custom query (but not really because it worked from sql command 
line) string in user_scores_sql_custom_query will cause 
spamd to exit.  The query in question had a % sign in it by the _DOMAIN_ 
part ...  it would  process  echo | spamc -u '[EMAIL PROTECTED]'   but would 
not 
process echo | spamc or echo | spamc -u 'root'  because the domain part would 
be NULL.  weird...

my patch against spamd.raw removes the exits completely so the sql_config calls 
look more like the other calls to similar user config stores (ldap and virtual 
user).

The only benefit I see in having that exit in there woud be this situation:

if SQL prefs cannot be pulled, and someone wants to prevent accepting mail if 
it cannot pull sql prefs, they could use spamc -x and catch the exit code 74 
and tempfail on it.   Maybe it needs to be a configurable option...  I myself 
would rather have mail be processed than tempfailed because I couldnt pull 
someones user_prefs.

dallas







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

Reply via email to