Elias Oltmanns wrote: > Richard Freeman <[EMAIL PROTECTED]> wrote: >> Elias Oltmanns wrote: >>>> /usr/bin/dspam --source=error --class=spam --user root < /tmp/msg.txt >>> So, is there a virtual uid assigned to root in your database at all? >>> >> Where would it be stored if there were? > > Exactly where the virtual uids for all the other dspam users are stored > too.
Hmm - in my head then. Sure, I know about it... :) > >> Note that this signature is not for the user root - I just had to >> specify something otherwise it won't work. > > I realise that. However, it is absolutely crucial that the user > specified on the commandline as argument to the user option should be > known to dspam, i.e., there has to be a matching entry in the > dspam_virtual_uids table. Dspam will switch to the uid given in the > signature eventually, but you still have to start out with a known user. > Ah, well, the fact that I don't have a dspam_virtual_uids table in my database might be the source of the problem, then. I also do not have virtual users enabled. The root user does exist in /etc/passwd (unsurprisingly). I went ahead and created the table using the script provided in the source. I added a root user with uid 0 there. I'm still getting hte same error when retraining. > This matter really should be discussed somewhere prominently in the > docs, by the way, as it seems to cause people headaches over and over > again. > I won't argue with you there! :) Thanks for the help so far at least...
