Re: [dspam-users] Problem with training when Dspam used as a Postfix content_filter

From: <rassylkaformazaj@ukr.net>
Date: Mon Oct 24 2005 - 11:05:36 EDT

Hello Adorjáni,

AG> I set up the aliases exactly like in the docs:

If exactly , and didn't forgoted to create mysql databases, see below.

AG> spam:"|/usr/local/bin/dspam --user root --class=spam --source=error"
AG> notspam:"|/usr/local/bin/dspam --user root --class=innocent --source=error"

[...]

AG> 19361: [10/24/2005 15:13:29] _ds_get_signature: unable to
AG> _mysql_drv_getpwnam(root)
AG> 19361: [10/24/2005 15:13:29] _mysql_drv_get_spamtotals: unable to
AG> _mysql_drv_getpwnam(root)
AG> 19361: [10/24/2005 15:13:29] DSPAM Instance Shutdown. Exit Code: 0

by default tools/tools.mysql_drv/virtual_users.sql dosen't
create any users ... so there will no be 'root' in table dspam_virtual_uids

Try

mysql> use dspam;
mysql> insert into dspam_virtual_uids values (0,'root');

-- 
Best regards. Mazaj.
mailto:rassylkaformazaj@ukr.net
Received on Mon Oct 24 11:07:28 2005

This archive was generated by hypermail 2.1.8 : Tue Oct 25 2005 - 00:00:01 EDT