Does the user 'retrain' exist in the virtual_uids table? yes, there is a user retrain in the the table dspam_virtual_uids of my dspam database libdspam7drvpgsql. Also, you really shouldn't need to specify --user to run dspam, the uid is stored with the signature data, and I'm running without it... i would love to it this way :-) what error do you get without --user? This error also appears to usually be generated by a problem with the LDA which is somewhat odd since retraining shouldn't attempt to deliver the message. without the "--user"-option dspam throws the same error as dovecot does when called either with or without it and writes nothing to the dspam.debug-log.
Unable to determine the destination user DSPAM agent misconfigured: aborting
called with the "--user"-option via commandline the dspam.debug-log says
No QuarantineAgent option found. Using standard quarantine. DSPAM Instance Startup input args: /usr/bin/dspam --debug --user retrain --source=error --stdout --class=innocent --signature=4,443a49e9305501142080570 pass-thru args: processing user retrain uid = 0, euid = 0, gid = 0, egid = 101 loading preferences for user retrain Loading preferences for uid 7 Loading preferences for uid 0 Loading preferences for uid 0 default preferences empty. reverting to dspam.conf preferences. Loading preferences from dspam.conf using /var/spool/dspam/opt-in/local/retrain.dspam as path using /var/spool/dspam/opt-out/local/retrain.nodspam as path sedation level set to: 0 loading preferences for user the_virtual_user_belonging_to_the_signature@domain.tld Loading preferences for uid 4 Loading preferences for uid 0 Loading preferences for uid 0 default preferences empty. reverting to dspam.conf preferences. Loading preferences from dspam.conf processing signature. length: 10944 reversing 912 tokens Control: [10 10] [9 11] Delta: [-1 1] reclassifying iteration 1 result: 0 [graham] [0.010000] E: 7346274736306913280 (3frq, 0s, 3i) [burton] [0.010000] E: 7346274736306913280 (3frq, 0s, 3i) [...] [burton] [0.010000] E: 9113948169156146802 (1frq, 0s, 3i) [burton] [0.010000] E: 15732536091729293487 (1frq, 0s, 3i) Graham-Bayesian Probability: 0.000000 Samples: 15 Burton-Bayesian Probability: 0.000000 Samples: 27 no factors specified; using default Result Confidence: 0.99 libdspam returned probability of 0.000000 message result: NOT SPAM DSPAM Instance Shutdown. Exit Code: 0
stefan