<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — iRedMail Support]]></title>
		<link>https://forum.iredmail.org/</link>
		<atom:link href="https://forum.iredmail.org/posts_feed-rss-forum2.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in iRedMail.]]></description>
		<lastBuildDate>Fri, 16 Oct 2026 01:37:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Feature request: Fail2Ban Management Issues]]></title>
			<link>https://forum.iredmail.org/post92279.html#p92279</link>
			<description><![CDATA[<p>By the way, do you need to check the log lines which triggered the ban while managing banned IP addresses?</p><p>We&#039;re considering replacing Fail2ban by fail2ban-rs, it&#039;s written in Rust with better performance, but it doesn&#039;t save related log lines:<br /><a href="https://github.com/aejimmi/fail2ban-rs">https://github.com/aejimmi/fail2ban-rs</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 16 Oct 2026 01:37:59 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92279.html#p92279</guid>
		</item>
		<item>
			<title><![CDATA[Re: Feature request: Fail2Ban Management Issues]]></title>
			<link>https://forum.iredmail.org/post92278.html#p92278</link>
			<description><![CDATA[<p>Checked fail2ban-client command line arguments, this idea may work:</p><p>- on EE web ui, add a new button &quot;Ignore&quot; right beside banned IP address<br />- click &quot;Ignore&quot; to ignore this IP in all jails with command &quot;fail2ban-client set &lt;JAIL&gt; addignoreip &lt;IP&gt;&quot;, also saves the IP and timestamp in SQL db.<br />- add an internal cron job in EE (not the one you manage with &quot;crontab&quot; command), query the SQL db regularly and delete the ignored IP on time with command &quot;fail2ban-client set &lt;JAIL&gt; delignoreip &lt;IP&gt;&quot;.</p><p>Is it ideal for you? Any suggestions?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Fri, 16 Oct 2026 01:26:45 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92278.html#p92278</guid>
		</item>
		<item>
			<title><![CDATA[Re: Feature request: Fail2Ban Management Issues]]></title>
			<link>https://forum.iredmail.org/post92276.html#p92276</link>
			<description><![CDATA[<p>To your point on multiple MUA&#039;s configured, this is very often the case. Then sometimes you have the user who is &quot;absolutely sure&quot; he updated all his clients but still gets banned randomly; then it turns out some old forgotten iPod gets pulled out of a drawer and turned on once in a while and tries to check mail... but even instances like that aside, it is very difficult to update a few MUAs without getting nailed for incorrect passwords at least once.</p><p>In all the details I posted, I also hope that my point about Unbanning not always fully working, making it necessary to restart fail2ban to truly unban clients, was not lost.</p>]]></description>
			<author><![CDATA[null@example.com (caretech)]]></author>
			<pubDate>Thu, 15 Oct 2026 15:49:30 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92276.html#p92276</guid>
		</item>
		<item>
			<title><![CDATA[Re: Feature request: Fail2Ban Management Issues]]></title>
			<link>https://forum.iredmail.org/post92274.html#p92274</link>
			<description><![CDATA[<p>I appreciate your response, thank you! I&#039;ll wait for further development on this.</p>]]></description>
			<author><![CDATA[null@example.com (caretech)]]></author>
			<pubDate>Thu, 15 Oct 2026 14:55:40 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92274.html#p92274</guid>
		</item>
		<item>
			<title><![CDATA[Re: Feature request: Fail2Ban Management Issues]]></title>
			<link>https://forum.iredmail.org/post92273.html#p92273</link>
			<description><![CDATA[<p>Hi @caretech.</p><p>1: You will get the search feature in upcoming EE release.<br />2: It&#039;s possible that user has several MUAs (e.g. desktop MUA, phone) configured with old password, they were still accessing IMAP/POP3 services right after password reset, which triggered the ban.</p><p>Fail2ban seems doesn&#039;t support &quot;ignore this IP for 1 hour&quot;, i will try to figure out an alternative way to handle this issue. Stay tuned.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 15 Oct 2026 14:32:10 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92273.html#p92273</guid>
		</item>
		<item>
			<title><![CDATA[Feature request: Fail2Ban Management Issues]]></title>
			<link>https://forum.iredmail.org/post92272.html#p92272</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 2026090801 (Backend: pgsql, Date: 2026-09-15 19:52:54) iRedMail Enterprise Edition: <a href="https://www.iredmail.org/ee.html">https://www.iredmail.org/ee.html</a><br />- Deployed with iRedMail Easy or the downloadable installer? First deployed w/ installer, then migrated to EE recently<br />- Linux/BSD distribution name and version: Debian 12.15<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL<br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? Yes, iRedMail EE<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>We host thousands of users on a very busy server and our support reps find the Banned IP Address list basically unmanageable. This morning for example, there were at least 17 pages of banned addresses. The list is not searchable; the only way to search is to load 1 page at a time in the browser and use the browser&#039;s Find function. With more than a dozen pages to laboriously search one at a time, this is not workable.</p><p>Summary:<br />1. We need a way to search the banned IP address list.</p><p>2. Something is not quite right with fail2ban functionality since migrating to EE. Various times we will Unban an address in the admin interface but the user will continue to be banned on some ports. (For example, he might be able to connect to IMAP but not to SMTP, or vice versa). We need to restart fail2ban in order to clear the issue in these cases.</p><p>Today one of our techs was helping a customer reset his account password and of course the user got banned during the process. I told our support rep to just clear all 17+ pages of banned addresses since manually hunting all those pages is untenable. He used the Unban All button. The client was then able to send email but not receive. I logged into the server and issued &quot;systemctl restart fail2ban&quot; and that got the client out of IMAP jail.</p><p>Regarding #2, let me know if there&#039;s specific log data you need for this. I haven&#039;t been able to find meaningful log data beyond basic fail2ban info telling of found, banned, and unbanned addresses.</p><p>In general we find fail2ban pretty jumpy. It&#039;s almost impossible to lead a client through a password change without getting him banned -- this is a routine annoyance.</p>]]></description>
			<author><![CDATA[null@example.com (caretech)]]></author>
			<pubDate>Thu, 15 Oct 2026 14:15:02 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92272.html#p92272</guid>
		</item>
		<item>
			<title><![CDATA[Re: Migrate from amavis/spamassassin to rspamd]]></title>
			<link>https://forum.iredmail.org/post92271.html#p92271</link>
			<description><![CDATA[<p>Thanks for sharing. <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 15 Oct 2026 00:58:46 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92271.html#p92271</guid>
		</item>
		<item>
			<title><![CDATA[Migrate from amavis/spamassassin to rspamd]]></title>
			<link>https://forum.iredmail.org/post92270.html#p92270</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>======== Required information ====<br />- iRedMail version (check /etc/iredmail-release):&nbsp; iRedMail-1.8.8<br />- Linux/BSD distribution name and version: Debian 13<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? No<br />- Related log if you&#039;re reporting an issue: -<br />====</p></blockquote></div><p>Hi, since I successfully migrated a production server based on the iRedMail script from amavisd/spamassassin to rspamd, I&#039;d like to share the steps I took and possibly validate whether I skipped any important configuration stages. The migration was done on Debian 13/MySQL/NGINX (not the PRO version), so the paths I give are the correct ones for my setup.</p><p><strong>1. Backup</strong></p><p>Just in case we dump the versions and secure a basic backup.</p><div class="codebox"><pre><code>cd /root
mkdir -p /root/migrate-rspamd &amp;&amp; cd /root/migrate-rspamd
tar czf etc-$(date +%F).tgz /etc/postfix /etc/amavis /etc/mail/spamassassin /etc/spamassassin /etc/dovecot /etc/clamav /var/lib/dkim /var/vmail/sieve
tar czf cron-$(date +%F).tgz /var/spool/cron/crontabs /etc/default/spamassassin
mysqldump --single-transaction amavisd &gt; amavisd.sql

dpkg -l | grep -Ei &#039;amavis|spamassassin|clamav|rspamd&#039; &gt; pkgs.txt
chmod 600 *.tgz amavisd.sql</code></pre></div><p><strong>2. Installing rspamd + redis:</strong></p><p>I couldn&#039;t use links in post so replace:<br />FIRST = rspamd.com/apt-stable/gpg.key<br />SECOND = rspamd.com/apt-stable/<br />with https on the begining</p><div class="codebox"><pre><code>sudo apt install curl gnupg ca-certificates lsb-release
curl -fsSL FIRST | gpg --dearmor -o /usr/share/keyrings/rspamd.gpg
echo &quot;deb [signed-by=/usr/share/keyrings/rspamd.gpg] SECOND trixie main&quot; &gt; /etc/apt/sources.list.d/rspamd.list
sudo apt update
sudo apt install rspamd redis-server</code></pre></div><p>verification</p><div class="codebox"><pre><code>systemctl enable --now redis-server &amp;&amp; redis-cli ping</code></pre></div><p><strong>3. Configuration</strong></p><p>The DKIM keys can be kept or regenerated. I kept them.</p><p>In /etc/rspamd/local.d/redis.conf</p><div class="codebox"><pre><code>servers = &quot;127.0.0.1:6379&quot;;</code></pre></div><p>/etc/rspamd/local.d/dkim_signing.conf</p><div class="codebox"><pre><code>enabled = true;
selector = &quot;dkim&quot;;
path = &quot;/var/lib/dkim/$domain.pem&quot;;

sign_authenticated = true;
sign_local = true;
sign_inbound = false;

allow_username_mismatch = true;
allow_hdrfrom_mismatch = true;
check_pubkey = true;</code></pre></div><p><strong>3.1 ClamAV</strong></p><p>check the path:</p><div class="codebox"><pre><code>grep LocalSocket /etc/clamav/clamd.conf

usermod -aG clamav _rspamd
systemctl restart rspamd</code></pre></div><p>In /etc/rspamd/local.d/antivirus.conf</p><div class="codebox"><pre><code>clamav {
  servers = &quot;/var/run/clamav/clamd.ctl&quot;;   # whatever grep LocalSocket /etc/clamav/clamd.conf returned
  symbol  = &quot;CLAM_VIRUS&quot;;
  type    = &quot;clamav&quot;;
  action  = &quot;reject&quot;;
  scan_mime_parts = true;
}</code></pre></div><p>Verification</p><div class="codebox"><pre><code>sudo -u _rspamd test -w /var/run/clamav/clamd.ctl &amp;&amp; echo &quot;socket OK&quot;</code></pre></div><p><strong>3.2 I carry over the headers that were present in Amavisd.</strong></p><p>/etc/rspamd/local.d/milter_headers.conf</p><div class="codebox"><pre><code>use = [&quot;spam-header&quot;,&quot;x-spam-status&quot;,&quot;x-spam-level&quot;,&quot;authentication-results&quot;,&quot;x-virus&quot;,&quot;add-headers&quot;,&quot;x-spamd-result&quot;,&quot;x_spam_score&quot;];
routines {
  spam-header {
    header = &quot;X-Spam-Flag&quot;;
    value  = &quot;YES&quot;;
    remove = 0;
  }
  x-virus {
    symbols = [&quot;CLAM_VIRUS&quot;];
  }
  add-headers {
    headers {
      &quot;X-Virus-Scanned&quot; = &quot;rspamd&quot;;
    }
    remove = 0;
  }
}

custom {
  x_spam_score = &lt;&lt;EOD
return function(task, common_meta)
  local ms = task:get_metric_score()
  if not ms then return nil end
  return nil,
    { [&#039;X-Spam-Score&#039;] = string.format(&#039;%.2f&#039;, ms[1]) },
    { [&#039;X-Spam-Score&#039;] = 0 },
    {}
end
EOD;
}</code></pre></div><p><strong>3.3 Thresholds</strong></p><p>The thresholds in rspamd are different; below are the ones I added in /etc/rspamd/local.d/actions.conf</p><div class="codebox"><pre><code>reject = 15;            # final rejection
rewrite_subject = 7;    # prefix [SPAM] in the subject
add_header = 6;         # tag (X-Spam-Flag) -&gt; Junk
greylist = 4;           # greylisting

# subject for the &#039;rewrite subject&#039; action (%s = original subject)
subject = &quot;[SPAM] %s&quot;;</code></pre></div><p><strong>3.4 Web UI panel</strong></p><p>If anyone wants such a panel, per the rspamd documentation</p><div class="codebox"><pre><code>rspamadm pw

/etc/rspamd/local.d/worker-controller.inc
bind_socket = &quot;127.0.0.1:11334&quot;;
password = &quot;$2$...&quot;;

rspamadm configtest &amp;&amp; systemctl restart rspamd</code></pre></div><p><strong>3.5 Finish</strong></p><p>We apply the configuration:</p><div class="codebox"><pre><code>rspamadm configtest
systemctl enable --now rspamd
systemctl restart rspamd
systemctl status rspamd --no-pager
ss -tlnp | grep -E &#039;11332|11333|11334&#039;</code></pre></div><p><strong>4. Postfix</strong></p><p>In /etc/postfix/main.cf you should comment out</p><div class="codebox"><pre><code>content_filter = smtp-amavis:[127.0.0.1]:10024</code></pre></div><p>as well as</p><div class="codebox"><pre><code>smtp-amavis_destination_recipient_limit = 1</code></pre></div><p>In /etc/postfix/master.cf</p><p>You should comment out all occurrences of</p><div class="codebox"><pre><code>-o content_filter=smtp-amavis...</code></pre></div><p>We run</p><div class="codebox"><pre><code>postconf -X pickup/unix/content_filter</code></pre></div><p><strong>4.1 DKIM keys (if you keep the already generated ones)</strong></p><div class="codebox"><pre><code>chown -R _rspamd:_rspamd /var/lib/dkim
chmod 0400 /var/lib/dkim/*.pem
find /var/lib/dkim -type d -exec chmod 0700 {} \;
sudo -u _rspamd head -c1 /var/lib/dkim/dts-frankfurt.de.pem &gt;/dev/null &amp;&amp; echo &quot;keys OK&quot;</code></pre></div><p><strong>4.2 Reload postfix:</strong></p><div class="codebox"><pre><code>postconf -e &#039;smtpd_milters = inet:127.0.0.1:11332&#039;
postconf -e &#039;non_smtpd_milters = inet:127.0.0.1:11332&#039;
postconf -e &#039;milter_protocol = 6&#039;
postconf -e &#039;milter_default_action = accept&#039;
postfix check &amp;&amp; systemctl reload postfix</code></pre></div><p><strong>5. Disabling amavisd and spamassassin</strong></p><div class="codebox"><pre><code>systemctl disable --now amavisd spamassassin</code></pre></div><p>Comment out the crons</p><div class="codebox"><pre><code>1   2   *   *   *   python3 /opt/www/iredadmin/tools/cleanup_amavisd_db.py &gt;/dev/null</code></pre></div><p>Verification:</p><p>You can verify correctness in the logs: </p><div class="codebox"><pre><code>tail -f /var/log/mail.log</code></pre></div><p>Check the signing with the tool:</p><div class="codebox"><pre><code>rspamc -u postmaster@your_domain.com &lt;&lt;&#039;EOF&#039; | grep DKIM_SIGNED  //change this
From: postmaster@your_domain.com  //change this
To: someone@someone.com  //change this
Subject: DKIM test

Test message
EOF</code></pre></div><p>Spam test:</p><div class="codebox"><pre><code>printf &#039;Subject: test gtube\n\nXJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X\n&#039; \
  | sendmail postmaster@your-domain.com  //change this</code></pre></div><p><strong>======</strong></p><p>I hope I didn&#039;t miss anything. iRedAPD reads the tables from the database so I left it as is; I assume the lists will still work. Unfortunately Bayes has to be trained from scratch. You can do it on the emails you have.</p><p>If anyone had the Bayes auto-learning scripts from the iRedMail documentation configured, they need to be changed:</p><div class="codebox"><pre><code># before: output=&quot;$(${SA_LEARN} --spam ${SPOOL_LEARN_SPAM_DIR})&quot;
output=&quot;$(/usr/bin/rspamc learn_spam ${SPOOL_LEARN_SPAM_DIR})&quot;
...
# before: output=&quot;$(${SA_LEARN} --ham ${SPOOL_LEARN_HAM_DIR})&quot;
output=&quot;$(/usr/bin/rspamc learn_ham ${SPOOL_LEARN_HAM_DIR})&quot;</code></pre></div><p>If any messages get stuck in the Postfix queue, they need to be requeued:</p><div class="codebox"><pre><code>postsuper -r ALL
postqueue -f
postqueue -p</code></pre></div><p>There are differences in behavior:<br />Amavis did DISCARD, rspamd does REJECT for messages considered infected.</p><p>iRedAPD — wblist works but the per-user thresholds from amavis.policy are no longer used.</p><p>By default rspamd does not use the system resolver. It has to be changed in the settings.</p><p>If you have experience with this kind of migration or notice anything I might have missed, please let me know. I assume everyone will need to adjust the Rspamd configuration to their own needs starting from the defaults. I hope I didn&#039;t miss anything <img src="https://forum.iredmail.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (royalfoxy)]]></author>
			<pubDate>Wed, 14 Oct 2026 21:52:03 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92270.html#p92270</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SPAM] being attached to all inbound mail]]></title>
			<link>https://forum.iredmail.org/post92269.html#p92269</link>
			<description><![CDATA[<p>Please try this command:<br /></p><div class="codebox"><pre><code>mysql amavisd -e &quot;UPDATE policy SET spam_tag_level=NULL,spam_subject_tag=NULL,spam_subject_tag2=NULL,spam_subject_tag3=NULL;&quot;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 13 Oct 2026 01:08:24 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92269.html#p92269</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SPAM] being attached to all inbound mail]]></title>
			<link>https://forum.iredmail.org/post92268.html#p92268</link>
			<description><![CDATA[<p>I noticed the exact same issue after updating and have been using a temporary cron job workaround as well. Hopefully, a permanent patch for the policy fields will be released soon.</p>]]></description>
			<author><![CDATA[null@example.com (guni)]]></author>
			<pubDate>Mon, 12 Oct 2026 09:22:03 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92268.html#p92268</guid>
		</item>
		<item>
			<title><![CDATA[Migrate accounts from one domain to another]]></title>
			<link>https://forum.iredmail.org/post92267.html#p92267</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.8.8<br />- Deployed with iRedMail Easy or the downloadable installer? downloadable installer<br />- Linux/BSD distribution name and version: Debian 13.7<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? No<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>Hi, i want to migrate accounts from one domain to another (inside same server):<br />- I will use imapsync to synchronize emails to new domain, and that is working.<br />- Also, update address with old domain to new one inside roundcubemail database to migrate Roundcube settings</p><p>I also want to add alias for emails that come to old domain to be forwarded to new one. But, i want to disable (delete) old accounts - to remove duplicate mailboxes.</p><p>How to do that?</p><p>Thanks in advance,</p>]]></description>
			<author><![CDATA[null@example.com (skipe88)]]></author>
			<pubDate>Fri, 09 Oct 2026 10:30:42 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92267.html#p92267</guid>
		</item>
		<item>
			<title><![CDATA[Re: Netdata v2: disable the netflow and otel plugins to save RAM]]></title>
			<link>https://forum.iredmail.org/post92266.html#p92266</link>
			<description><![CDATA[<p>Upcoming iRedMail release will disable these 2 by default. Thanks for the feedback. <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /><br /><a href="https://github.com/iredmail/iRedMail/commit/be3c02a73ef2d7c335d35b981a55dcabfab55ff4">https://github.com/iredmail/iRedMail/co … abfab55ff4</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 08 Oct 2026 03:30:42 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92266.html#p92266</guid>
		</item>
		<item>
			<title><![CDATA[Netdata v2: disable the netflow and otel plugins to save RAM]]></title>
			<link>https://forum.iredmail.org/post92265.html#p92265</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.8.8<br />- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer<br />- Linux/BSD distribution name and version: Debian 12 (bookworm)<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL (MariaDB)<br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? No, open source iRedAdmin<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue. Not an issue report; this is a tip for other users.<br />====</p><br /><p>BACKGROUND<br />----------</p><p>Recent iRedMail releases recommend upgrading Netdata to v2.x. I upgraded<br />from Netdata v1.44.1 to v2.12.0 on a small iRedMail server (2 GB RAM, no<br />SOGo, ClamAV disabled to save memory). After the upgrade, Netdata used a<br />lot more memory: about 380 MB across all of its processes. Its main<br />process alone had used about 116 MB under v1.</p><p>Most of the increase came from two plugins that Netdata v2 starts by<br />default:</p><p>&nbsp; netflow-plugin&nbsp; (about 143 MB)<br />&nbsp; &nbsp; &nbsp; Collects NetFlow / IPFIX / sFlow flow records exported by routers<br />&nbsp; &nbsp; &nbsp; and switches.</p><p>&nbsp; otel-plugin&nbsp; &nbsp; &nbsp;(about 34 MB)<br />&nbsp; &nbsp; &nbsp; Receives OpenTelemetry (OTLP) metrics and logs pushed by other<br />&nbsp; &nbsp; &nbsp; applications.</p><p>A typical iRedMail server neither receives flow exports from network gear<br />nor has applications pushing OpenTelemetry data to Netdata. On a server<br />like that, both plugins sit idle while holding memory.</p><p>With both disabled, Netdata&#039;s total memory use dropped from about 380 MB<br />to about 211 MB. All the normal charts (system, Nginx, MySQL/MariaDB,<br />PHP-FPM, and so on) kept working.</p><p>Your numbers will differ. Check your own server with this command<br />(RSS is in KB):</p><p>&nbsp; &nbsp; ps -eo rss,comm --sort=-rss | grep -E &#039;netflow|otel|netdata|plugin&#039;</p><br /><p>WHO SHOULD NOT DO THIS<br />----------------------</p><p>Leave these plugins enabled if any of the following applies:</p><p>&nbsp; * You point routers, switches or firewalls at this server to export<br />&nbsp; &nbsp; NetFlow / IPFIX / sFlow data and view it in Netdata. That is exactly<br />&nbsp; &nbsp; what netflow-plugin does.</p><p>&nbsp; * You have applications or collectors sending OpenTelemetry (OTLP)<br />&nbsp; &nbsp; metrics or logs to this Netdata agent. That is what otel-plugin does.</p><p>&nbsp; * You are not sure whether anything uses them and have plenty of RAM.<br />&nbsp; &nbsp; In that case the saving may not be worth the risk.</p><p>If you only use Netdata&#039;s built-in dashboard to watch the mail server<br />itself, you most likely use neither.</p><br /><p>HOW TO DISABLE THEM<br />-------------------</p><p>These steps were done on Debian 12 with Netdata installed the way<br />iRedMail installs it: the static build under /opt/netdata. They may<br />help on other distributions, but the location of netdata.conf can<br />differ. With a native distro package, for example, it is usually<br />/etc/netdata/netdata.conf. Adjust paths for your system.</p><p>Step 1. Check that the two plugin switches exist in your version. The<br />&nbsp; &nbsp; &nbsp; &nbsp; running configuration lists every option, with defaults<br />&nbsp; &nbsp; &nbsp; &nbsp; commented out:</p><p>&nbsp; &nbsp; curl -s <a href="http://127.0.0.1:19999/netdata.conf">http://127.0.0.1:19999/netdata.conf</a> | sed -n &#039;/^\[plugins\]/,/^\[/p&#039; | grep -E &#039;netflow|otel&#039;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; You should see &quot;# netflow = yes&quot; and &quot;# otel = yes&quot;. Adjust the<br />&nbsp; &nbsp; &nbsp; &nbsp; port if your Netdata does not listen on 19999.</p><p>Step 2. Back up the config file:</p><p>&nbsp; &nbsp; cp -a /opt/netdata/etc/netdata/netdata.conf /opt/netdata/etc/netdata/netdata.conf.bak</p><p>Step 3. Edit /opt/netdata/etc/netdata/netdata.conf. You can also use<br />&nbsp; &nbsp; &nbsp; &nbsp; Netdata&#039;s helper:</p><p>&nbsp; &nbsp; /opt/netdata/etc/netdata/edit-config netdata.conf</p><p>&nbsp; &nbsp; &nbsp; &nbsp; If the file already has a [plugins] section, add the two lines<br />&nbsp; &nbsp; &nbsp; &nbsp; below to it. Otherwise, add this whole block at the end of the<br />&nbsp; &nbsp; &nbsp; &nbsp; file:</p><p>&nbsp; &nbsp; [plugins]<br />&nbsp; &nbsp; &nbsp; &nbsp; netflow = no<br />&nbsp; &nbsp; &nbsp; &nbsp; otel = no</p><p>Step 4. Restart Netdata:</p><p>&nbsp; &nbsp; systemctl restart netdata</p><p>Step 5. Verify. After about 30 seconds, run:</p><p>&nbsp; &nbsp; systemctl is-active netdata<br />&nbsp; &nbsp; ps -eo rss,comm --sort=-rss | grep -E &#039;netflow|otel&#039;<br />&nbsp; &nbsp; curl -s <a href="http://127.0.0.1:19999/netdata.conf">http://127.0.0.1:19999/netdata.conf</a> | grep -E &#039;^\s*(netflow|otel) =&#039;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; - The first command should print &quot;active&quot;.<br />&nbsp; &nbsp; &nbsp; &nbsp; - The second command should print nothing.<br />&nbsp; &nbsp; &nbsp; &nbsp; - The third command should show &quot;netflow = no&quot; and &quot;otel = no&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; without a leading &quot;#&quot;.</p><p>&nbsp; &nbsp; &nbsp; &nbsp; Then open your Netdata dashboard and confirm your usual charts are<br />&nbsp; &nbsp; &nbsp; &nbsp; still there.</p><br /><p>NOTES<br />-----</p><p>&nbsp; * The setting survives Netdata upgrades. Running a newer static<br />&nbsp; &nbsp; installer (netdata-x86_64-vX.Y.Z.gz.run) left my existing<br />&nbsp; &nbsp; netdata.conf untouched.</p><p>&nbsp; * To undo, remove the two lines (or set them to &quot;yes&quot;) and restart<br />&nbsp; &nbsp; Netdata.</p><p>&nbsp; * The same [plugins] section can switch off other plugins you do not<br />&nbsp; &nbsp; need, such as &quot;ebpf&quot; or &quot;network-viewer&quot;. Check what each one does<br />&nbsp; &nbsp; before disabling it.</p><p>&nbsp; * Measure on your own server before and after. The figures above come<br />&nbsp; &nbsp; from one small server and are only an indication.</p>]]></description>
			<author><![CDATA[null@example.com (wayne.workman)]]></author>
			<pubDate>Tue, 06 Oct 2026 18:05:26 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92265.html#p92265</guid>
		</item>
		<item>
			<title><![CDATA[Re: How best to upgrade old server from RHEL7/iR0.9.3 to Rocky9/iR1.7.6?]]></title>
			<link>https://forum.iredmail.org/post92263.html#p92263</link>
			<description><![CDATA[<p>I did it <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> <br />I mean , I sucesfully set up a new server (based on Rocky Linux 9 ) , and move/migrate all accout/settings from an old one (CentOS 7). <br />Now we have a new server without a lot of useless packages&nbsp; <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> </p><p>Now I will prepare a &quot;short&quot; instruction for it ..</p>]]></description>
			<author><![CDATA[null@example.com (aszczupal)]]></author>
			<pubDate>Tue, 29 Sep 2026 13:40:48 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92263.html#p92263</guid>
		</item>
		<item>
			<title><![CDATA[Re: after installation freshclam is unabled to download the db files]]></title>
			<link>https://forum.iredmail.org/post92262.html#p92262</link>
			<description><![CDATA[<p>Hi, I faced a similar issue with freshclam permissions. Is changing the ownership to clamupdate and setting permissions to 755 a common practice, or are there better security recommendations for this setup?</p>]]></description>
			<author><![CDATA[null@example.com (Oliverjoh)]]></author>
			<pubDate>Mon, 28 Sep 2026 08:59:58 +0000</pubDate>
			<guid>https://forum.iredmail.org/post92262.html#p92262</guid>
		</item>
	</channel>
</rss>
