From 888ce1b2e014178509e94538a1c9309cc1e386e1 Mon Sep 17 00:00:00 2001 From: ofthesun9 Date: Fri, 1 May 2020 15:41:37 +0200 Subject: [PATCH 1/4] Adding faq entry to cover #1438 Fix #1438 --- docs/faq.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/faq.rst b/docs/faq.rst index 38cf467b..050138f9 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -532,6 +532,26 @@ In any case, using a dedicated DNS server will improve the performance of your m *Issue reference:* `206`_, `554`_, `681`_. +Can I learn ham/spam messages from an already existing mailbox? +``````````````````````````````````````````````````````````````` +Mailu is supporting automatic spam learning for messages moved to the Junk mailbox. Any email moved from the Junk Folder will learnt as ham. + +If you already have an existing mailbox and want Mailu to learn them all as ham messages, you might run rspamc from within the dovecot container: + +.. code-block:: bash + + rspamc -h antispam:11334 -P mailu -f 13 fuzzy_add /mail/user\@example.com/.Ham_Learn/cur/ ` + +This should learn every file located in the Ham_Learn mailbox from user@example.com + +Likewise, to lean all messages within the folder Spam_Learn as spam messages : + +.. code-block:: bash + + rspamc -h antispam:11334 -P mailu -f 11 fuzzy_add /mail/user\@example.com/.Spam_Learn/cur/ + +*Issue reference:* `1438`_. + Is there a way to support more (older) ciphers? ``````````````````````````````````````````````` @@ -609,6 +629,8 @@ iptables -t nat -A POSTROUTING -o eth0 -p tcp --dport 25 -j SNAT --to Date: Mon, 4 May 2020 09:46:18 +0200 Subject: [PATCH 2/4] Update docs/faq.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Möhlmann --- docs/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index 050138f9..8a856cb9 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -542,7 +542,7 @@ If you already have an existing mailbox and want Mailu to learn them all as ham rspamc -h antispam:11334 -P mailu -f 13 fuzzy_add /mail/user\@example.com/.Ham_Learn/cur/ ` -This should learn every file located in the Ham_Learn mailbox from user@example.com +This should learn every file located in the ``Ham_Learn`` folder from user@example.com Likewise, to lean all messages within the folder Spam_Learn as spam messages : From 7bc46baae0298f00c8f54d84cf66558413faa172 Mon Sep 17 00:00:00 2001 From: ofthesun9 Date: Mon, 4 May 2020 09:47:00 +0200 Subject: [PATCH 3/4] Update docs/faq.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Möhlmann --- docs/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index 8a856cb9..7bd9bafa 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -540,7 +540,7 @@ If you already have an existing mailbox and want Mailu to learn them all as ham .. code-block:: bash - rspamc -h antispam:11334 -P mailu -f 13 fuzzy_add /mail/user\@example.com/.Ham_Learn/cur/ ` + rspamc -h antispam:11334 -P mailu -f 13 fuzzy_add /mail/user\@example.com/.Ham_Learn/cur/ This should learn every file located in the ``Ham_Learn`` folder from user@example.com From 819fa94cb157bab1ee6d4742f67060b28191d182 Mon Sep 17 00:00:00 2001 From: ofthesun9 Date: Mon, 4 May 2020 09:47:11 +0200 Subject: [PATCH 4/4] Update docs/faq.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tim Möhlmann --- docs/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index 7bd9bafa..afd29811 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -544,7 +544,7 @@ If you already have an existing mailbox and want Mailu to learn them all as ham This should learn every file located in the ``Ham_Learn`` folder from user@example.com -Likewise, to lean all messages within the folder Spam_Learn as spam messages : +Likewise, to lean all messages within the folder ``Spam_Learn`` as spam messages : .. code-block:: bash