Hi PSi_101,
sure, this is possible. Let's assume, that you use the eMail - adress:
[email protected] and you moved all SPAM into the current SPAM - folder and already marked them all as read, then you would use the following command to train
SPAM:
/usr/bin/sa-learn --no-sync --spam --mbox /var/qmail/mailnames/YOUR-DOMAIN.com/test/Maildir/.Spam/cur
while you would use the following command to train
HAM, for eMails you already marked as read:
/usr/bin/sa-learn --no-sync --ham --mbox /var/qmail/mailnames/YOUR-DOMAIN.com/test/Maildir/cur
Once you completed you trainings, you would use the command "
sa-learn --sync".
It is as well possible to use the string "
/{cur,new}" instead of the single folder "
/cur", so that you could train as well new, unread messages, but I still recommend the first examples.