Skip to content

Commit

Permalink
Add a note about spam and the header cache in the manual
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Russon <rich@flatcap.org>
  • Loading branch information
kevin8t8 and flatcap committed Apr 9, 2019
1 parent b79e28a commit 730de99
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/manual.xml.head
Expand Up @@ -5969,6 +5969,16 @@ folder-hook . 'push "&lt;enter-command&gt;score ~= 10&lt;enter&gt;"'
<literal>%?H?[%H] ?</literal> to display spam tags only when they are
defined for a given message.)
</para>
<para>
Note: the value displayed by <literal>%H</literal>and searched by
<literal>~H</literal>is stored in the
<link linkend="caching">header cache</link>. Mutt isn't smart enough to
invalidate a header cache entry based on changing <literal>spam</literal>
rules, so if you aren't seeing correct <literal>%H</literal>values, try
temporarily turning off the header cache. If that fixes the problem,
then once your spam rules are set to your liking, remove your stale
header cache files and turn the header cache back on.
</para>
<para>
Your first step is to define your external filter's spam patterns using
the <command>spam</command> command. <emphasis>pattern</emphasis>
Expand Down

0 comments on commit 730de99

Please sign in to comment.