Turn off Junk Mail Filter

Move all the mails that are not spam into your inbox
then run this command

sudo sa-learn --ham /home/user-data/mail/mailboxes/*/*/cur/

This will initiate the learning for ham mails

sudo sa-learn --spam /home/user-data/mail/mailboxes/*/*/.Spam/cur/

2nd command is to learn spam mails

2 Likes