You can train the filter by moving mails into the
Spam folder in your mailbox, mails moved out of the
Spam folder will be learned as
ham (= good mails).
We also autolearn
spam, which means that every mail with a negative score is auto-learned as ham, while every mail with a score higher than the rejection score is auto-learned as spam (given that the Bayes filter hasn’t already identified them).
uberspace mail spamfolder to configure the spam folder for all mailboxes and forwards in your account. Mails with a spam score greater than
5 will get sorted into the
Spam folder in the according mailbox.
[isabell@stardust ~]$ uberspace mail spamfolder status The spam folder is enabled. [isabell@stardust ~]$ uberspace mail spamfolder disable The spam folder is now disabled. [isabell@stardust ~]$ uberspace mail spamfolder enable The spam folder is now enabled.
Mails within the spam folder are auto-expunged after 30 days.
If you want to change the rejection score, please have a look at the examples in our description for Sieve.
We implement the spam folder by manipulating your
~/.qmail-default. Enabling spam folders effectively means that a maildrop filter named
~/.spamfolder is created which just includes the global template
That global template basically resembles what
vdeliver does - retrieving the target Maildir and optional mail forward targets. Disabling spam folders effectively means resetting
~/.qmail-default to call vdeliver instead of maildrop.
Spam filtering and sorting does not work with the system mailbox
email@example.com. Create user mailboxes instead!