<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[When using catch-all for email, how to „turn off“ one address?]]></title><description><![CDATA[<p dir="auto">I use catch-all in email settings basically for creating arbitrary addresses for certain websites (e.g. as supported in Bitwarden).</p>
<p dir="auto">One address under my domain (that I never created) receives like 90 % of all spam. Can I turn off such an address under these circumstances?</p>
<p dir="auto">I read into Spamassassin rules, but I believe when blacklisting (e.g. by<code>blacklist_to foo@domain.com</code>), it will only marked as spam. I would like to not even reach any inbox but just get rejected…</p>
]]></description><link>https://forum.cloudron.io/topic/7646/when-using-catch-all-for-email-how-to-turn-off-one-address</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 07:06:41 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7646.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Sep 2022 07:00:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to When using catch-all for email, how to „turn off“ one address? on Fri, 09 Sep 2022 10:28:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/necrevistonnezr" aria-label="Profile: necrevistonnezr">@<bdi>necrevistonnezr</bdi></a> not sure about Roundcube as I moved over to SnappyMail, but I think it is similar.<br />
Under Filters you can add a sieve script (maybe they call it 'custom')</p>
<p dir="auto">And yes I think <code>discard with message</code> is equivalent.  But not an expert.</p>
<p dir="auto">Due to the excellent spamassassin rules posted here <a href="https://forum.cloudron.io/post/30512">https://forum.cloudron.io/post/30512</a> by <a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a>, I am not needing to use sieve in SnappyMail.  But here is the script which I use in Protonmail.  The <code>from</code> can be changed to <code>to</code> I guess.</p>
<p dir="auto"><strong>NB :</strong>  I put the <code>reject</code> part of the rule <strong>before</strong> the spam test.  Arguably I should have a <code>return</code> after the <code>reject</code> - not sure why I did not do that.</p>
<pre><code>require ["include", "environment", "variables", "relational", "comparator-i;ascii-numeric", "spamtest", "reject", "fileinto", "imap4flags"];

if address :contains "from" ["spammer@blah.co.uk",  "spammer.com"]
{
  reject "Spam";
}

if spamtest :value "ge" :comparator "i;ascii-numeric" "5" {
    fileinto "spam";
}

if exists "list-unsubscribe"
{
    addflag "\\List";
}

# Generated: Do not run this script on spam messages
if allof (environment :matches "vnd.proton.spam-threshold" "*",
spamtest :value "ge" :comparator "i;ascii-numeric" "${1}")
{
    return;
}

</code></pre>
]]></description><link>https://forum.cloudron.io/post/53191</link><guid isPermaLink="true">https://forum.cloudron.io/post/53191</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Fri, 09 Sep 2022 10:28:04 GMT</pubDate></item><item><title><![CDATA[Reply to When using catch-all for email, how to „turn off“ one address? on Fri, 09 Sep 2022 09:07:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a><br />
Thanks. I don't see a "reject" rule in Roundcube, but a "discard with message" - I assume that's the same?<br />
And are those sieve rules processed before or after the spam filter?</p>
]]></description><link>https://forum.cloudron.io/post/53189</link><guid isPermaLink="true">https://forum.cloudron.io/post/53189</guid><dc:creator><![CDATA[necrevistonnezr]]></dc:creator><pubDate>Fri, 09 Sep 2022 09:07:39 GMT</pubDate></item><item><title><![CDATA[Reply to When using catch-all for email, how to „turn off“ one address? on Fri, 09 Sep 2022 08:54:00 GMT]]></title><description><![CDATA[<p dir="auto">I wonder if a reject all mailbox  can be configured, which can then have added aliases.</p>
]]></description><link>https://forum.cloudron.io/post/53187</link><guid isPermaLink="true">https://forum.cloudron.io/post/53187</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Fri, 09 Sep 2022 08:54:00 GMT</pubDate></item><item><title><![CDATA[Reply to When using catch-all for email, how to „turn off“ one address? on Fri, 09 Sep 2022 07:05:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/necrevistonnezr" aria-label="Profile: necrevistonnezr">@<bdi>necrevistonnezr</bdi></a> make a sieve rule to <code>reject</code> incoming to that address ?</p>
]]></description><link>https://forum.cloudron.io/post/53183</link><guid isPermaLink="true">https://forum.cloudron.io/post/53183</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Fri, 09 Sep 2022 07:05:35 GMT</pubDate></item></channel></rss>