Testing

<ol> <li> <p>Test whether Pyzor works correctly<!-- Add what is "correctly"!!! -->:</p> <ol> <li>Issue: <pre><code class="language-shell">echo "test" | spamassassin -D pyzor 2&gt;&amp;1</code></pre></li> <li>Check whether the table presented by the previous command includes: <code>2.0 PYZOR_CHECK Listed in Pyzor (http://pyzor.sf.net/)</code></li> </ol> </li> <li> <p>Test whether a spam score is added to mail headers <!-- elaborate on what is tested in this step!!! -->:</p> <ol> <li>Issue the following command to send a prototypical spam message (that is designed to be recognized as spam and should thus get a spam score assigned): <pre><code class="language-shell">swaks --to john.doe@example.org --server localhost --data /usr/share/doc/spamassassin/examples/sample-spam.txt</code></pre></li> <li>Check <code>/var/vmail/example.org/john.doe/Maildir/new</code> the header of the (latest) e-mail to contain something along these lines: <pre><code>X-Virus-Scanned: amavisd-new at example.org X-Spam-Flag: YES X-Spam-Score: 19.792 X-Spam-Level: ******************* X-Spam-Status: Yes, score=19.792 tagged_above=1 required=3</code></pre></li> </ol> </li> </ol>