From a1cbbf09c1cb2d7668baf6f268946bf530154d0d Mon Sep 17 00:00:00 2001 From: Richard de Boer Date: Sat, 21 Oct 2017 09:03:37 +0200 Subject: [PATCH] newmail_notifier plugin: don't notify for junked messages. (#5767) When the mail server filters spam directly into the junk folder. --- plugins/newmail_notifier/newmail_notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/newmail_notifier/newmail_notifier.php b/plugins/newmail_notifier/newmail_notifier.php index 58b4a52b6..939d118d3 100644 --- a/plugins/newmail_notifier/newmail_notifier.php +++ b/plugins/newmail_notifier/newmail_notifier.php @@ -66,7 +66,7 @@ class newmail_notifier extends rcube_plugin if (!empty($this->opt)) { // Get folders to skip checking for - $exceptions = array('drafts_mbox', 'sent_mbox', 'trash_mbox'); + $exceptions = array('drafts_mbox', 'sent_mbox', 'trash_mbox', 'junk_mbox'); foreach ($exceptions as $folder) { $folder = $this->rc->config->get($folder); if (strlen($folder) && $folder != 'INBOX') {