moisseev/rspamd-spamness

how to configure spam/ham training folders in addon settings?

Closed this issue · 4 comments

It's not clear to me how to set the ham/spam training folders.
I created folders in the IMAP tree of my mail account. Question is, how is the 'syntax' of the folders in the addon settings?
ksnip_20210315-183255

I set them wrong, because the folder settings I put in don't work. I get the message: 'Destination folder location is not set'.
Any pointer?

You need to select destination account in the drop-down box.

Thanks for the quick response.
I have multiple imap accounts configured in Thunderbird. The imap account that has rspamd active on the server is one of them. I have set the destination account by using the 'per account folder settings'
The 'syntax' of the destination folder is unclear to me. Can you give an example how to write the line in the 'location' part of the setting?

/edit: found it: must be in this syntax:
/sub/folder/name

Syntax is not clear for me too ..

It is just a folder name. For nested sub-folder structure it is folder names separated with a forward slash (/).
Leading and trailing slashes are optional.

Examples:

folder
/folder/
/folder
folder/
folder/folder/folder
/folder/folder/folder
/folder/folder/folder/
folder/folder/folder/