Spam Filtering in DirectAdmin
53 views
Email Management
<h3>Managing Spam with SpamAssassin</h3>
<p>SpamAssassin is an open-source spam filtering system available on your DirectAdmin hosting account. It analyzes incoming emails and assigns a spam score based on various criteria. Messages that exceed the score threshold are flagged as spam.</p>
<h3>Enabling SpamAssassin</h3>
<ol>
<li>Log in to DirectAdmin.</li>
<li>Navigate to <strong>Email Manager</strong>.</li>
<li>Click on <strong>SpamAssassin Setup</strong> (or <strong>Spam Filters</strong>).</li>
<li>Click <strong>Enable SpamAssassin</strong> if it is not already active.</li>
</ol>
<h3>Configuring Spam Score Threshold</h3>
<p>The spam score threshold determines how aggressively spam is filtered:</p>
<ul>
<li><strong>5.0</strong> (default) - A balanced setting that catches most spam while minimizing false positives.</li>
<li><strong>3.0 to 4.0</strong> - More aggressive filtering. May occasionally flag legitimate email as spam.</li>
<li><strong>7.0 to 10.0</strong> - Lenient filtering. Only the most obvious spam will be caught.</li>
</ul>
<div class="alert alert-info">We recommend starting with the default score of 5.0 and adjusting only if you are receiving too much spam or too many legitimate emails are being flagged.</div>
<h3>Spam Handling Options</h3>
<p>You can configure what happens to messages identified as spam:</p>
<ul>
<li><strong>Deliver to Junk/Spam folder</strong> - Spam messages are moved to a separate folder for review. This is the safest option.</li>
<li><strong>Add spam headers</strong> - Messages are tagged with spam headers but delivered to your inbox. You can create client-side rules to filter them.</li>
<li><strong>Delete spam</strong> - Spam messages are discarded immediately. Use this only if you are confident in your spam threshold setting.</li>
<li><strong>Rewrite subject</strong> - The subject line is prefixed with <code>[SPAM]</code> or a similar tag for easy identification.</li>
</ul>
<h3>Whitelisting and Blacklisting</h3>
<p>You can manually control which senders are always trusted or always blocked:</p>
<ul>
<li><strong>Whitelist</strong> - Add trusted email addresses or domains to ensure their messages are never flagged as spam. Example: <code>*@trustedcompany.com</code>.</li>
<li><strong>Blacklist</strong> - Block specific email addresses or domains so their messages are always treated as spam. Example: <code>spammer@annoying.com</code>.</li>
</ul>
<h3>Reviewing Spam</h3>
<p>Periodically check your Junk/Spam folder in webmail to ensure no legitimate emails have been incorrectly flagged. If you find a false positive, add the sender to your whitelist.</p>
<div class="alert alert-warning">If you choose to automatically delete spam, there is no way to recover a legitimate email that was incorrectly identified as spam. We strongly recommend using the Junk folder option instead.</div>
Need More Help?
Can't find what you're looking for? Our support team is ready to help.
Contact Support