rassylkaformazaj@ukr.net írta:
> AG> I set up the aliases exactly like in the docs:
> If exactly , and didn't forgoted to create mysql databases, see below.
Yep, I created the virtual* tables, too.
> 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');
It doesn't need anything to do with the root user. If I read the docs
well, Dspam "switches" users after detecting the signature.
From the README:
---cut---
The 'root' user represents any existing user on the system. It is
necessary to supply a username on the commandline or DSPAM will bail on
an error, however the user will be changed internally once the signature
is read.
---cut---
According to the logs, Dspam detects the signature but somehow it still
tries to fetch data for user root.
Gabor
Received on Mon Oct 24 12:34:08 2005
This archive was generated by hypermail 2.1.8 : Wed Oct 26 2005 - 00:00:01 EDT