<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Notify users about quarantined mails when they blacklist no-reply]]></title>
		<link>https://forum.iredmail.org/topic21063-notify-users-about-quarantined-mails-when-they-blacklist-noreply.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic21063.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Notify users about quarantined mails when they blacklist no-reply.]]></description>
		<lastBuildDate>Thu, 01 Jan 2026 22:21:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Notify users about quarantined mails when they blacklist no-reply]]></title>
			<link>https://forum.iredmail.org/post91591.html#p91591</link>
			<description><![CDATA[<p>Dug a little deeper into the 50-user config file.&nbsp; Seems there is a FULL_WHITELIST policy bank.</p><p>I added</p><p>my %noreply_bypass_maps = (<br />&nbsp; &nbsp; &#039;no-reply@localhost.local&#039; =&gt; &#039;FULL_WHITELIST&#039;,&nbsp; # assignment<br />);</p><p>my $bypass_maps = [ &#039;HASH:noreply_bypass_maps&#039; ]; # use it</p><p>Apparently I have to add &quot;my&quot; in front of the code to explicitly define it, or amavisd reload complained.</p><p>-Steve</p>]]></description>
			<author><![CDATA[null@example.com (SteveInAkron)]]></author>
			<pubDate>Thu, 01 Jan 2026 22:21:36 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91591.html#p91591</guid>
		</item>
		<item>
			<title><![CDATA[Re: Notify users about quarantined mails when they blacklist no-reply]]></title>
			<link>https://forum.iredmail.org/post91590.html#p91590</link>
			<description><![CDATA[<p>From reading the amavisd docs, it seems I have to force the address to use the MYNETS with the following code.</p><p># Define the hash for bypassing specific senders<br />%noreply_bypass_maps = (<br />&nbsp; &nbsp; &#039;no-reply@localhost.local&#039; =&gt; &#039;MYNETS&#039;,&nbsp; #&nbsp; assignment<br />);</p><p>$bypass_maps = [ &#039;HASH:noreply_bypass_maps&#039; ]; # tell Amavisd to use this hash</p><br /><p>Anyone who has more experience with Amavisd, feel free to chime in.</p>]]></description>
			<author><![CDATA[null@example.com (SteveInAkron)]]></author>
			<pubDate>Thu, 01 Jan 2026 21:36:53 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91590.html#p91590</guid>
		</item>
		<item>
			<title><![CDATA[Notify users about quarantined mails when they blacklist no-reply]]></title>
			<link>https://forum.iredmail.org/post91587.html#p91587</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release):&nbsp; &nbsp; &nbsp; 1.6.8<br />- Deployed with the downloadable installer.<br />- Linux/BSD distribution name and version: Debian 12 <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Web server (Apache or Nginx):NginX<br />- Manage mail accounts with iRedAdmin-Pro? Yes<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>I have enable notifications for quarantined mail on the server.&nbsp; One user has added</p><p>no-reply@localhost.local </p><p>to their blacklist.&nbsp; This causes a bounce email to root like the below.</p><p>There does not seem to be a way to force delivery.&nbsp; There also does not seem to be a way to exempt the user from being sent the notice.</p><p>I tried adding</p><p>&nbsp; bypass_spam_checks_maps&nbsp; &nbsp;=&gt; [1],&nbsp; # don&#039;t spam-check internal mail<br />&nbsp; bypass_banned_checks_maps =&gt; [1],&nbsp; # don&#039;t banned-check internal mail<br />&nbsp; bypass_header_checks_maps =&gt; [1],&nbsp; # don&#039;t header-check internal mail&nbsp; </p><p>to the MYNETS policy bank in the 50-user file, but they are still being blocked and generating a bounce email to root.</p><p>Thinking of creating a cron job to scan the database and remove the no-reply@localhost.local&nbsp; address, but that&#039;s a kludge for sure.</p><p>-Steve</p><p>-----Notice eMail----------------------------------------------------<br />Content type: Spam<br />Internal reference code for the message is 3146491-20/sHkMD6bUMv_7</p><p>First upstream SMTP client IP address: [127.0.0.1] </p><p>Return-Path: &lt;no-reply@localhost.local&gt;<br />From: No Reply &lt;no-reply@localhost.local&gt;<br />Message-ID: &lt;xxxxxx@xxxxxx.com&gt;<br />Subject:<br />&nbsp; =?utf-8?q?=5BAttention=5D_You_have_1_emails_quarantined_and_not_delivered_to_mailbox?=<br />The message has been quarantined as: sHkMD6bUMv_7</p><p>The message WAS NOT relayed to:<br />&lt;yyyy@yyyyyy.com&gt;:<br />&nbsp; &nbsp;250 2.7.0 Ok, discarded, id=3146491-20 - spam</p><p>Spam scanner report:</p>]]></description>
			<author><![CDATA[null@example.com (SteveInAkron)]]></author>
			<pubDate>Wed, 31 Dec 2025 03:43:40 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91587.html#p91587</guid>
		</item>
	</channel>
</rss>
