Quick patch so that user is reported correctly for SQL-only configs.
Without this, if you use "-q -x" and your user doesn't exist in
/etc/passwd, you get "unknown"... not very helpful ;^).
Don
--- spamd.orig Tue Jan 29 11:19:17 2002
+++ spamd Tue Jan 29 11:19:24 2002
@@ -517,8 +517,9 @@
sub handle_user_sql
{
my $username = shift;
+ $current_user = $username;
$spamtest->load_scoreonly_sql ($username);
return 1;
}
--
--------------------------------------------------------
Donald L. Greer, Jr [EMAIL PROTECTED]
System Administrator Voice: 512-300-0176
AustinTX http://www.AustinTX.COM/
All opinions are my own. Flame me directly.
"I don't necessarily believe software should be free...
but if you pay for it, it should work!" -- Me
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk