3.9.1-rc1: issue with classification user

Tom Hendrikx <[email protected]>
Newsgroups gmane.mail.spam.dspam.devel
Message-ID <[email protected]>
Hi,

After upgrading to 3.9.1-rc (and later git HEAD), I noticed lots of
errors in my logging:

2010-08-07T14:13:08+02:00 vmail dspam[13054]: bailing on error -2
2010-08-07T14:13:08+02:00 vmail dspam[13054]: process_message returned
error -5.  delivering.

When this started, headers were also no longer added to the delivered
messages. After some debugging I found this in the debug log:

13054: [08/07/2010 14:13:08] _pgsql_drv_getpwnam: returning NULL for
query on name: classicifation_user that returned a null result
13054: [08/07/2010 14:13:08] _ds_getall_spamrecords: unable to
_pgsql_drv_getpwnam(classicifation_user)
13054: [08/07/2010 14:13:08] _ds_getall_spamrecords() failed
13054: [08/07/2010 14:13:08] user_classify() returned error -5
13054: [08/07/2010 14:13:08] destroying/freeing configuration
13054: [08/07/2010 14:13:08] _pgsql_drv_getpwnam returning cached name
[email protected].
13054: [08/07/2010 14:13:08] destroying/freeing configuration

classification_user was in my intial setup intended to contain 'global
classification' data, but I never got started to merging stuff into it.
The user exists in the pgsql backend (dspam_virtual_uids), but has no
training data there.

DSPAM 3.9.0 did not have any problems with this empty user. I fixed the
issue for now, by removing the group file.

When I have some new training data, I'll also try merging this back to
the classification user and see if it solves the issue.

-- 
Regards,
	Tom

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev

_______________________________________________
Dspam-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-devel
signature.asc (application/pgp-signature, 262 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxdVRMACgkQeEmCqmj6IjaFfgCfcGjEoLlp63RMX7cZ0VPIZ0db
k5wAoJ47dNb5hTdPQVROK5WUOmMWlUmj
=nQKb
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.