> Hi, > > I just tried to set up dspam retraining using one alias as described in > the readme by creating an alias like > > spam:"|/usr/local/bin/dspam --user root --class=spam --source=error" > > After doing this, I always saw a "signature retrieval for [...] failed" in > the mail-logfile. > The problem causing this seemed to be the fact, that there was no uid for > username root in the dspam_virtual_uids table in MySQL. > This was obvious, since there existed an alias for root which redirected > all the mails to root to another user. > So dspam never received mail for root and thus did not create the uid in > the table. > After removing the alias and sending one mail to root, the entry was > created and afterwards I was able to retrain using the given technique. > > Now I don´t know if this is wanted behaviour of dspam, but if it is, I > just wanted to let search engines know about this observation, since I did > not find any solution to this using google. ;) >
You did no have to use specially the username "root" to do that. Any username present in dspam_virtual_uids would do the job. The fact is that dspam needs a valid account to be run, and then switches to the other account, found in the signature. Sydney.
