<?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>Thu, 09 Apr 2026 22:04:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Fresh install in a FreeBSD 14.4-RELEASE jail (My notes)]]></title>
			<link>https://forum.iredmail.org/post91868.html#p91868</link>
			<description><![CDATA[<p>Another thing, with &#039;postfix-mysql-3.11.1_1,1&#039; installed, the main.cf has 2 deprecated options that need changing..</p><p>&#039;postscreen_blacklist_action&#039; to &#039;postscreen_denylist_action&#039; <br />&#039;postscreen_dnsbl_whitelist_threshold&#039; to &#039;postscreen_dnsbl_allowlist_threshold&#039;</p><p>And a &#039;postconf compatibility_level=3.11&#039;.. then restart Postfix.</p>]]></description>
			<author><![CDATA[null@example.com (GenZod)]]></author>
			<pubDate>Thu, 09 Apr 2026 22:04:18 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91868.html#p91868</guid>
		</item>
		<item>
			<title><![CDATA[Fresh install in a FreeBSD 14.4-RELEASE jail (My notes)]]></title>
			<link>https://forum.iredmail.org/post91867.html#p91867</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.7.4<br />- Deployed with iRedMail Easy or the downloadable installer? installer<br />- Linux/BSD distribution name and version: FreeBSD 14.4-RELEASE<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB<br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? N/A<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>So just did a fresh install of iRedMail in a FreeBSD jail using the master repo as the source. Before running the install script, here&#039;s a few things I did to make the install go smoothly:</p><p>## Pre Install<br />1. upgrade `pkg` to the latest 2.6.2<br />2. In the master repo, edit the script &#039;functions/packages_freebsd.sh&#039; and change<br />export MYSQL_VER=&#039;80&#039; to export MYSQL_VER=&#039;84&#039;.</p><p>The reason is `pkg` will install &#039;mysql80-client&#039; and then half way through the install, it will try to install &#039;mysql84-client&#039; and fail due to conflict. If you select &#039;Y&#039; to continue, pkg will start uninstalling other packages.</p><p>## Post Install<br />1. Install the following 2 packages:<br />- py311-passlib<br />- py311-cheroot</p><p>Without this, doing &#039;python3 iredadmin.py&#039; will throw errors.</p><p>2. Edit /usr/local/www/iredadmin/rc_scripts/uwsgi/freebsd.ini and change:<br />&#039;wsgi-file = iredadmin.py&#039; to &#039;uwsgi-file = iredadmin.py&#039;</p><p>Without this change, going to &#039;/iredadmin/&#039; throws an Internal server error.</p><p>So other than those changes, everything works :&gt;</p>]]></description>
			<author><![CDATA[null@example.com (GenZod)]]></author>
			<pubDate>Thu, 09 Apr 2026 21:38:46 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91867.html#p91867</guid>
		</item>
		<item>
			<title><![CDATA[Re: Possible bug in the Amavis config, breaking DKIM]]></title>
			<link>https://forum.iredmail.org/post91865.html#p91865</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Not sure whether it&#039;s modified by amavisd, but Postfix might handle this by default since it has &quot;disable_mime_input_processing = no&quot; and &quot;disable_mime_output_conversion = no&quot; (both are set to &quot;no&quot; by default which means Postfix will do mime processing / conversion), it modifies MIME if it&#039;s not RFC-compliant, it&#039;s good in your case since you don&#039;t have correct &quot;Date:&quot;, but it might break DKIM signature too if it happens after signing. Anyway, you already found the solution and it&#039;s easy: generate RFC-compliant mime at the very beginning. <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>No, that actually fixes the symptom, which is failing DKIM signatures.&nbsp; Fixing the <em>problem</em> would be changing the configuration slightly so that it does the DKIM-signing <em>last</em> and subsequently doesn&#039;t wind up changing fields that are protected by the DKIM signature.</p><p>I mean, what good is it if the thing DKIM failing was indicating was that the mail was tampered with by an overly-pedantic anti-virus program?</p>]]></description>
			<author><![CDATA[null@example.com (paul.roberts)]]></author>
			<pubDate>Thu, 09 Apr 2026 01:51:33 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91865.html#p91865</guid>
		</item>
		<item>
			<title><![CDATA[Re: Possible bug in the Amavis config, breaking DKIM]]></title>
			<link>https://forum.iredmail.org/post91864.html#p91864</link>
			<description><![CDATA[<p>Not sure whether it&#039;s modified by amavisd, but Postfix might handle this by default since it has &quot;disable_mime_input_processing = no&quot; and &quot;disable_mime_output_conversion = no&quot; (both are set to &quot;no&quot; by default which means Postfix will do mime processing / conversion), it modifies MIME if it&#039;s not RFC-compliant, it&#039;s good in your case since you don&#039;t have correct &quot;Date:&quot;, but it might break DKIM signature too if it happens after signing. Anyway, you already found the solution and it&#039;s easy: generate RFC-compliant mime at the very beginning. <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, 09 Apr 2026 01:08:46 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91864.html#p91864</guid>
		</item>
		<item>
			<title><![CDATA[Possible bug in the Amavis config, breaking DKIM]]></title>
			<link>https://forum.iredmail.org/post91863.html#p91863</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.7.4 MARIADB edition<br />- Deployed with iRedMail Easy or the downloadable installer?&nbsp; The installer<br />- Linux/BSD distribution name and version: Debian Trixie<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL<br />- Web server (Apache or Nginx): Apache (but not even used)<br />- Manage mail accounts with iRedAdmin-Pro?&nbsp; Nope.<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>This is just <em>super</em> fun.&nbsp; I do b&#039;leev I&#039;ve found a bug in the Amavis configuration.&nbsp; We&#039;ve been using iRedMail for a few years now, have SPF and DKIM and all that good stuff working, but are walking away from the previous distribution because reasons.&nbsp; A brand new box was built with Trixie as the base, DKIM keys were just copied over into Amavis, and everything seemed good.&nbsp; All the legacy devices&nbsp; we&#039;ve got sending mail were sending mail, and then while testing sending authenticated mail from a new internal host that I was spinning up, I started seeing signature failures.&nbsp; WTF.</p><p>Mind you this program worked just fine from the old host and nine or ten others (going through the server running a much older version of iRedMail), and it&#039;s literally just a shell script so it&#039;s not like I could really have screwed up scp-ing it over, and it just hands the mail to sendmail (which I&#039;ve been doing for like 20+ years) so... not fancy.&nbsp; As I started digging into the issue I noticed something in the headers that caught my eye.&nbsp; The &quot;Date:&quot; header showed -0000 as the timezone which won the stink-eye because the test program just calls $(date) which produces something not quite RFC-compliant (&quot;Wed Apr&nbsp; 8 02:51:27 PM CDT 2026&quot;) but it&#039;s close enough for testing...<em>or so I thought</em>.&nbsp; I thought there really <em>should</em> have been a CDT there or something to indicate the time zone wasn&#039;t UTC (because I hate converting those in my head).</p><p>It turns out that if Amavis doesn&#039;t like your date string, it will apparently replace it with a form that <em>is</em> RFC-compliant.&nbsp; It didn&#039;t seem to care at all about my message ID that I forgot to wrap in angle-brackets and just passed that on through but whatevs...</p><p>Relevant information: h=message-id:subject:<span style="color:#ff0000">date</span>:from:to;</p><p>The kicker is that this configuration apparently &quot;corrects&quot; the date string <strong>after</strong> it has generated the DKIM signature (which kinda breaks it).&nbsp; Changing my date generator to using $(date +&#039;%a, %d %b %Y %H:%M:%S %z&#039;) made the mails start passing DKIM checks.&nbsp; That one change.&nbsp; &lt;&lt;sigh&gt;&gt;</p><br /><p>The other &quot;clues&quot; (blatantly fishing for Google with this on behalf of future admins) would be seeing Tests: [ALL_TRUSTED=-1,INVALID_DATE=0.432,INVALID_MSGID=1.167] showing up in the logs.&nbsp; Again, it won&#039;t bother changing the message ID (most MTAs will just generate their own if you didn&#039;t specify one) to include &lt;&gt;&#039;s, but it <em>does</em> replace your Date: string.&nbsp; Heck, until today I didn&#039;t even know postfix or Amavis would bother altering the date string.</p>]]></description>
			<author><![CDATA[null@example.com (paul.roberts)]]></author>
			<pubDate>Wed, 08 Apr 2026 20:12:07 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91863.html#p91863</guid>
		</item>
		<item>
			<title><![CDATA[Re: iredadmin internal server error (FreeBSD)]]></title>
			<link>https://forum.iredmail.org/post91861.html#p91861</link>
			<description><![CDATA[<p>I think I found the culprit.</p><p>It was the last line in the file &#039;/usr/local/www/iredadmin/rc_scripts/uwsgi/freebsd.ini&#039;</p><p>wsgi-file = iredadmin.py</p><p>It should have been &#039;uwsgi-file = iredadmin.py&#039; instead :&lt;</p><p>After changing that, I restarted the jail and try to access /iredadmin/ and it works now..</p><p>Edit: I checked with another friend who is testing iRedMail on FreeBSD 15.0-RELEASE and that last line is also &#039;wsgi-file = iredadmin.py&#039;.. maybe a typo :&gt;</p>]]></description>
			<author><![CDATA[null@example.com (GenZod)]]></author>
			<pubDate>Tue, 07 Apr 2026 10:09:13 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91861.html#p91861</guid>
		</item>
		<item>
			<title><![CDATA[Re: iredadmin internal server error (FreeBSD)]]></title>
			<link>https://forum.iredmail.org/post91860.html#p91860</link>
			<description><![CDATA[<p>You might want to check the server logs for more details-FreeBSD errors like this are often related to permissions or missing dependencies. Also, try restarting the iRedAdmin service and verifying your configuration files. Let us know if you can share the exact error message</p>]]></description>
			<author><![CDATA[null@example.com (ruthshort)]]></author>
			<pubDate>Tue, 07 Apr 2026 04:16:06 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91860.html#p91860</guid>
		</item>
		<item>
			<title><![CDATA[Re: iredadmin internal server error (FreeBSD)]]></title>
			<link>https://forum.iredmail.org/post91859.html#p91859</link>
			<description><![CDATA[<p>That error usually means the MySQL/MariaDB auth plugin (like caching_sha2_password) needs cryptography available in the same Python environment iRedAdmin is using. Since it works via CLI, check if Nginx/uwsgi is using a different Python path or virtualenv.</p>]]></description>
			<author><![CDATA[null@example.com (briquetwilly99)]]></author>
			<pubDate>Tue, 07 Apr 2026 02:45:21 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91859.html#p91859</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fail2ban not banning IP after repeated IMAP login failures]]></title>
			<link>https://forum.iredmail.org/post91858.html#p91858</link>
			<description><![CDATA[<p>What are the related log lines in Fail2ban log file (/var/log/fail2ban.log or /var/log/fail2ban/fail2ban.log)?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 06 Apr 2026 14:03:02 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91858.html#p91858</guid>
		</item>
		<item>
			<title><![CDATA[Fail2ban not banning IP after repeated IMAP login failures]]></title>
			<link>https://forum.iredmail.org/post91857.html#p91857</link>
			<description><![CDATA[<p>Hi all,</p><p>I&#039;m running iRedMail (Ubuntu 22.04, iRedMail 1.6.x) with Fail2ban enabled by default. I noticed that after multiple failed IMAP login attempts (tested via Thunderbird), my IP is not getting banned as expected.</p><p>I checked jail.local and confirmed that the dovecot jail is enabled, and the logs do show repeated login failures. It seems like Fail2ban is detecting the events but not actually banning the IP.</p><p>Is there any additional configuration needed for Dovecot with iRedMail (e.g., custom filter, log backend, or different log path)?</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (liamanderson)]]></author>
			<pubDate>Mon, 06 Apr 2026 07:17:16 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91857.html#p91857</guid>
		</item>
		<item>
			<title><![CDATA[Re: FreeBSD pkg installer]]></title>
			<link>https://forum.iredmail.org/post91856.html#p91856</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>It&#039;s been merged into master branch. <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>Wow thanks and great work <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (GenZod)]]></author>
			<pubDate>Sun, 05 Apr 2026 06:26:44 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91856.html#p91856</guid>
		</item>
		<item>
			<title><![CDATA[Re: FreeBSD pkg installer]]></title>
			<link>https://forum.iredmail.org/post91855.html#p91855</link>
			<description><![CDATA[<p>It&#039;s been merged into master branch. <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>Sun, 05 Apr 2026 01:26:07 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91855.html#p91855</guid>
		</item>
		<item>
			<title><![CDATA[Re: SOGo user quotas and spam/ham emails]]></title>
			<link>https://forum.iredmail.org/post91854.html#p91854</link>
			<description><![CDATA[<p>Hi Zhang,</p><p>I have found the problem with the display of the users quotas with dovecot 2.4 service on debian trixie.</p><p>In the dovecot.conf file you have those lines:<br /></p><div class="quotebox"><blockquote><p>quota &quot;User quota&quot; {<br />}</p></blockquote></div><p>which defines the name of the users quotas.</p><p>But when you query the IMAP server for the quotas, it adds this labelling which makes SOGo not understanding the naming of the quotas.</p><p>I commented those two lines and the IMAP server does not display anymore this labelling and permits SOGo interface to display the users quotas.</p>]]></description>
			<author><![CDATA[null@example.com (LaurentM)]]></author>
			<pubDate>Sat, 04 Apr 2026 10:15:07 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91854.html#p91854</guid>
		</item>
		<item>
			<title><![CDATA[FreeBSD pkg installer]]></title>
			<link>https://forum.iredmail.org/post91853.html#p91853</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.7.4<br />- Deployed with iRedMail Easy or the downloadable installer? installer<br />- Linux/BSD distribution name and version: FreeBSD 14.4-RELEASE<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL):&nbsp; MariaDB<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 Zhang, what happened to &#039;<a href="https://github.com/iredmail/iRedMail/archive/refs/heads/pkg.zip">https://github.com/iredmail/iRedMail/ar … ds/pkg.zip</a>&#039; ?</p><p>This zip file contains the iRedMail.sh installer that installs binary packages instead of compiling via ports tree.</p>]]></description>
			<author><![CDATA[null@example.com (GenZod)]]></author>
			<pubDate>Fri, 03 Apr 2026 21:32:00 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91853.html#p91853</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error .dovecot.lda-dupes) failed: No such file or directory]]></title>
			<link>https://forum.iredmail.org/post91852.html#p91852</link>
			<description><![CDATA[<p>After a restart this morning, I can confirm that he server is now creating the necessary directories/objects as it should do when receiving email for a newly created account. </p><p>Thank you for your help anyway. </p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (gastonjay)]]></author>
			<pubDate>Fri, 03 Apr 2026 03:20:07 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91852.html#p91852</guid>
		</item>
	</channel>
</rss>
