António Pedro Lima wrote:
I'm using sa-learn --spam /path/to/folder/with/spam_mail ------------------------------------------------------------------------
That will learn the messages for root, not vpopmail which is what you need it to run as. Process the messages like this:
sudo -u vpopmail -H sa-learn --spam /path/to/mail/* That will give you better results. **
