From 9935cb48cd9abd4575296c60280770f638e89955 Mon Sep 17 00:00:00 2001 From: Dimitri Huisman Date: Fri, 22 Mar 2024 16:53:11 +0000 Subject: [PATCH] Fix bug 3068. Spam messages were always marked as read. --- core/dovecot/conf/report-spam.sieve | 1 - docs/webadministration.rst | 2 ++ towncrier/newsfragments/3068.bugfix | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 towncrier/newsfragments/3068.bugfix diff --git a/core/dovecot/conf/report-spam.sieve b/core/dovecot/conf/report-spam.sieve index 87fd515e..df7d276c 100644 --- a/core/dovecot/conf/report-spam.sieve +++ b/core/dovecot/conf/report-spam.sieve @@ -1,5 +1,4 @@ require "imap4flags"; require "vnd.dovecot.execute"; -setflag "\\seen"; execute :pipe "spam"; diff --git a/docs/webadministration.rst b/docs/webadministration.rst index 3ce53fe8..3a3af6a6 100644 --- a/docs/webadministration.rst +++ b/docs/webadministration.rst @@ -93,6 +93,8 @@ The exception to this rule, are email messages with an extremely high spam score When the spam filter is enabled, received email messages will be moved to the logged in user's inbox folder or junk folder depending on the user defined spam filter tolerance. +When `Enable marking spam mails as read` is enabled. Received messages moved to the Junk folder are marked as read. When this setting is disabled. Received messages moved to the Junk folder are not marked as read. They remain marked as unread. + The user defined spam filter tolerance determines when an email is classified as ham (moved to the inbox folder) or spam (moved to the junk folder). The default value is 80%. The lower the spam filter tolerance, the more false positives (ham classified as spam). The higher the spam filter tolerance, the more false negatives (spam classified as ham). For more information see the :ref:`antispam documentation `. diff --git a/towncrier/newsfragments/3068.bugfix b/towncrier/newsfragments/3068.bugfix new file mode 100644 index 00000000..b7689088 --- /dev/null +++ b/towncrier/newsfragments/3068.bugfix @@ -0,0 +1,2 @@ +When "Enable marking spam mails as read" was disabled, new spam messages were still marked as read. +Updated documentation with the setting "Enable marking spam mails as read".