On Fri, 6 Aug 2010 03:23:54 +0200 (CEST) "Imposit.com - webmaster" <webmas...@imposit.com> wrote:
> Hello, > > So this time a real bug not just a stupid assbitting mistake :-) > and a curiose error but first lets stick to the bug. > > > Following Setup > Dspam 3.9.1 > Mysql Driver > Systemusers (no virtual) > > When i delete a Userdirectory /var/spool/dpsm/data/* in the System WHICH HAS > AN ENTRY in dspam_stats the andmin console will not show anyuser after that > UID > You once posted already about that and I could not reproduce this on my end. Regardless how many directories I delete. > I think the error is around line 330 in the admin.cgi > Are you sure it is in admin.cgi? When you run dspam_stats do yo then see a full blown up list or does it stop there as well? > there is a while which goes row after row and fetches the data from the > homedirectory but it will fail because its no longer there > so i would do a check if exist there > The code in admin.cgi is handling non existing directories. Check the code again and you will see that it is handling missing directories the proper way. > yes this all wont happen if everything is in the mysqldb :-) *ggg* > NO! That would not fix that issue. Anyway... feel free to submit patches to enable that "everything in the db" option. Can't wait to merge it into stock DSPAM :) > To my error here ife no frkn idea anymore > Today i switched to OSB > after my usual backup, i truncated signatures_data and token_data and started > to train like hell (5000 ham 9000 spam :-) > > > So now and this is the cusiose part, when i try to retrain the webui history > i get an log entry in the http and nothing happen (no retrain) > > /var/log/dspam/dspam.log: Permission denied31802: [08/06/2010 01:07:35] > Signature retrieval for '`' failed, referer: > https://example.com/spambox/dspam.cgi?user=blabla&template=history&language=de&show=innocent > ] /var/log/dspam/dspam.log: Permission denied31802: [08/06/2010 01:07:35] > Unable to find a valid signature. Aborting., referer: > https://example.com/spambox/dspam.cgi?user=blabla&template=history&language=de&show=innocent > ] /var/log/dspam/dspam.log: Permission denied31802: [08/06/2010 01:07:35] > process_message returned error 0. dropping message., referer: > https://example.com/spambox/dspam.cgi?user=blabla&template=history&language=de&show=innocent > This looks like permission issues to me. > so i thought ok i reset directory permissions as they where bevore jsut to be > shure > so the user data dir is nor again on chown username:dspam rwx for ownser and > group > Each individual directory has the user as owner? Really? Why? > after that permission error was gone (interresting becuase the permissions > should be different but ok whatever) > > but retrain by history still dont work. so wtf is going on now. > its really nothing else happen then truncate those 2 tables, set to osb > start dspam_train with my mboxes ... > moved all quarantine mboxes to an archive directory - so i can watch a little > the impact of the switch > waited for new mail > try to retrain it ... > done dont work > > or better, retrain itself works. i turned on debug. signature goes trough and > marked as spam (i train to spam) > BUT history dont show the result anymore > > > ahh and i cant deliver a quarantine message. > Aug 6 02:09:35 mail dspam[5085]: Unable to find a valid signature. Aborting. > Aug 6 02:09:35 mail dspam[5085]: process_message returned error -5. > dropping message. > i get when i try from the mail log > > > > i purged now everything and started with a new db from sratch > same as bevore > > > any idea? > > ------------------------------------------------------------------------------ > 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 > Dspam-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspam-devel > ------------------------------------------------------------------------------ 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 Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel