I find all sorts of differant answers when googling for this question.
I want to sa-learn a folder in my imap. Problem is, I use maildir. Would something as simple as this do the job? What's the "recommended" way?
*sa-learn* --spam --dir /spam-folder//* *sa-learn* --ham --dir /non-spam-folder//* ...