On Thursday 23 October 2003 07:08 pm, Michael Bellears wrote:
> My debug output indicates that sql prefs are being fetched for user
> 'spamd' rather than recipient of e-mail:
>
> debug: retrieving prefs for spamd from SQL server
>
> MySQL Logs indicate that prefs are being queried on user spamd or
> default (@GLOBAL)
>
> Query       select preference, value  from userpref where username =
> 'spamd' or username = 'GLOBAL' or username = '@GLOBAL' order by username
> asc
>
> Spamd:
> /usr/bin/perl /usr/sbin/spamd -D -m 10 -a -v -x -q -u vpopmail -H
> /home/vpopmail/ -d --pidfile=/var/run/spamd.pid
>
> Any ideas as to why sa is not attemtping to extract prefs based on
> recips address?

How are you calling spamc? Be sure to use the -u option to pass the username 
associated with the email being scanned. Something like this:

/usr/bin/spamc -f -u $username

--
Matt Brown
LAMP Host


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to