<?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/feed-rss-forum2.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent topics at iRedMail.]]></description>
		<lastBuildDate>Fri, 15 May 2026 23:12:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Relaying via Amazon SES]]></title>
			<link>https://forum.iredmail.org/topic21147-relaying-via-amazon-ses-new-posts.html</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): EE 1.7.3<br />- Deployed with iRedMail Easy or the downloadable installer? EE<br />- Linux/BSD distribution name and version: Ubuntu 24.04.4 LTS<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 (EE)<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====<br />I&#039;ve looked through several threads here, but I&#039;m curious if anyone else has tried or solved the following.</p><p>For certain domains on my server, I need to relay the outgoing email via Amazon SES.&nbsp; While I can set up the outgoing server for the domain, I can&#039;t see where I would put the needed authentication to send via SES.&nbsp; Does anyone have a potential solution to this?</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (ThreeLabs)]]></author>
			<pubDate>Fri, 15 May 2026 23:12:38 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21147-relaying-via-amazon-ses-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[About nginx CVE...]]></title>
			<link>https://forum.iredmail.org/topic21146-about-nginx-cve-new-posts.html</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): <br />- Deployed with iRedMail Easy or the downloadable installer?<br />- Linux/BSD distribution name and version: <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): <br />- Web server (Apache or Nginx):<br />- Manage mail accounts with iRedAdmin-Pro?<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p><a href="https://my.f5.com/manage/s/article/K000161019">F5 K000161019</a></p><p>Separately I added acl for iredadmin...is it sufficient?</p>]]></description>
			<author><![CDATA[null@example.com (chris.23lo)]]></author>
			<pubDate>Fri, 15 May 2026 08:53:03 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21146-about-nginx-cve-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Bayesian Spam filtering not working]]></title>
			<link>https://forum.iredmail.org/topic21145-bayesian-spam-filtering-not-working-new-posts.html</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.4.0 MARIADB edition.<br />- Deployed with iRedMail Easy or the downloadable installer? Unsure<br />- Linux/BSD distribution name and version: centOS 8.3<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>We have been receiving a lot of spam lately and it appears the Bayesian filters are not operating at all.</p><p>In the maillog the Hits: variable is always showing a &#039;-&#039; instead of an actual score. I have been unable to find some documentation that gives me any insight for that issue.<br />i.e.<br />May 14 11:34:06 mail amavis[86138]: (86138-04) Passed CLEAN, &lt;no-reply@forum.iredmail.org&gt; -&gt; &lt;me@mydomain.com&gt;, Hits: -, tag=0, tag2=0, kill=0, queued_as: 4gGZB60VSvzXlts, L/0/0/0 </p><p>SpamAssassin is configured to run embedded under amavis.<br />I have trained the filter with over 1200 spam and 240 ham messages and made sure that bayesian db is in /var/spool/amavisd/.spamassassin/ and owned by amavis.</p><p>Any suggestions would be appreciated.</p>]]></description>
			<author><![CDATA[null@example.com (m.hunter)]]></author>
			<pubDate>Thu, 14 May 2026 16:25:11 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21145-bayesian-spam-filtering-not-working-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[upgrade iRedAPD error]]></title>
			<link>https://forum.iredmail.org/topic21143-upgrade-iredapd-error-new-posts.html</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: Centos 10<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? Y<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====<br />Hi there,</p><p>i try upgrade iRedMail from 1.7.4 to 1.8.0, but have an error at first step - upgrade iRedAPD.</p><p>Below is the error, Please help. Thanks!!</p><br /><p>[root@mail tools]# bash upgrade_iredapd.sh<br />* Detected Linux/BSD distribution: RHEL<br />* Checking dependent Python modules:<br />&nbsp; + [required] wheel<br />&nbsp; + [required] sqlalchemy<br />&nbsp; + [required] dnspython<br />&nbsp; + [required] requests<br />Install packages: python3-python-multipart python3-wheel<br />Last metadata expiration check: 2:36:59 ago on Wed May 13 13:10:05 2026.<br />No match for argument: python3-wheel<br />Error: Unable to find a match: python3-wheel<br />* Found iRedAPD directory: /opt/iredapd, symbol link of iRedAPD-6.1<br />* Found iRedAPD config file: /opt/iredapd/settings.py<br />* Add new SQL tables - if there&#039;s any<br />* Copying new version to /opt/iRedAPD-6.1<br />* Copy old config file: settings.py (/opt/iredapd/settings.py -&gt; /opt/iRedAPD-6.1/settings.py)<br />cp: &#039;/opt/iredapd/settings.py&#039; and &#039;/opt/iRedAPD-6.1/settings.py&#039; are the same file<br />* Copy custom plugins: iRedAPD-6.1/plugins/custom_*.py.<br />* Set correct owner and permission for /opt/iRedAPD-6.1: root:root, 0500.<br />* Set permission for iRedAPD config file: /opt/iRedAPD-6.1/settings.py -&gt; 0400.<br />* Re-create symbol link: /opt/iredapd -&gt; /opt/iRedAPD-6.1<br />* Remove existing systemd service files.<br />* Copy systemd service file: /opt/iredapd/rc_scripts/iredapd.service -&gt; /lib/systemd/system/iredapd.service.<br />Created symlink &#039;/etc/systemd/system/multi-user.target.wants/iredapd.service&#039; -&gt; &#039;/usr/lib/systemd/system/iredapd.service&#039;.<br />Redirecting to /bin/systemctl restart rsyslog.service<br />* Replace py2 by py3 in cron jobs.<br />* Restarting iRedAPD service.<br />Redirecting to /bin/systemctl restart iredapd.service<br />Job for iredapd.service failed because the control process exited with error code.<br />See &quot;systemctl status iredapd.service&quot; and &quot;journalctl -xeu iredapd.service&quot; for details.<br />Failed, please restart iRedAPD service manually.<br />Traceback (most recent call last):<br />&nbsp; File &quot;/opt/iredapd/tools/fix_throttle_priority.py&quot;, line 22, in &lt;module&gt;<br />&nbsp; &nbsp; import web<br />&nbsp; File &quot;/opt/iredapd/tools/../web/__init__.py&quot;, line 4, in &lt;module&gt;<br />&nbsp; &nbsp; from . import (&nbsp; # noqa: F401<br />&nbsp; File &quot;/opt/iredapd/tools/../web/debugerror.py&quot;, line 19, in &lt;module&gt;<br />&nbsp; &nbsp; from . import webapi as web<br />&nbsp; File &quot;/opt/iredapd/tools/../web/webapi.py&quot;, line 12, in &lt;module&gt;<br />&nbsp; &nbsp; import multipart<br />ModuleNotFoundError: No module named &#039;multipart&#039;<br />* Upgrade completed.</p><p>&lt; NOTE &gt; If iRedAPD doesn&#039;t work as expected, please post your issue in our<br />&lt; NOTE &gt; online support forum: <a href="http://www.iredmail.org/forum/">http://www.iredmail.org/forum/</a><br />&lt; NOTE &gt;<br />&lt; NOTE &gt; * Turn on debug mode: <a href="http://www.iredmail.org/docs/debug.iredapd.html">http://www.iredmail.org/docs/debug.iredapd.html</a><br />&lt; NOTE &gt; * iRedAPD log file is /var/log/iredapd/iredapd.log.</p><p>[root@mail tools]#</p>]]></description>
			<author><![CDATA[null@example.com (roy.wong)]]></author>
			<pubDate>Wed, 13 May 2026 07:49:18 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21143-upgrade-iredapd-error-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Upgrading Roundcube to 1.7.0]]></title>
			<link>https://forum.iredmail.org/topic21141-upgrading-roundcube-to-170-new-posts.html</link>
			<description><![CDATA[<p>Maybe this info will help someone.</p><p>After upgrading to Roundcube 1.7.0, before restarting nginx and php-fpm services, it is necessary to alter &quot;/etc/nginx/templates/roundcube.tmpl&quot; to the following:</p><div class="codebox"><pre><code>#
# Roundcube 1.7+ fixed Nginx template
#

#
# Redirect root to /mail/
#
location = / {
    return 301 /mail/;
}

#
# Redirect /mail -&gt; /mail/
#
location = /mail {
    return 301 /mail/;
}

#
# Roundcube front controller
#
location /mail/ {
    alias /opt/www/roundcubemail/public_html/;
    index index.php;

    try_files $uri $uri/ @roundcube;
}

#
# Internal rewrite to index.php
#
location @roundcube {
    rewrite ^ /mail/index.php last;
}

#
# PHP handling
#
location ~ ^/mail/(.+\.php)(/.+)?$ {

    fastcgi_split_path_info ^/mail/(.+\.php)(/.+)$;

    include /etc/nginx/templates/hsts.tmpl;
    include /etc/nginx/templates/fastcgi_php.tmpl;

    fastcgi_param SCRIPT_FILENAME /opt/www/roundcubemail/public_html/$1;
    fastcgi_param PATH_INFO $fastcgi_path_info;
}</code></pre></div><p>This works for me, but if there is a better or more elegant solution, please post it.</p>]]></description>
			<author><![CDATA[null@example.com (veco68)]]></author>
			<pubDate>Tue, 12 May 2026 07:11:36 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21141-upgrading-roundcube-to-170-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[IMAPS not answering]]></title>
			<link>https://forum.iredmail.org/topic21138-imaps-not-answering-new-posts.html</link>
			<description><![CDATA[<p>Hello,</p><p>I am facing a strange behavior with Dovecot 2.4 on Debian Trixie.<br />When I try to connect to the IMAP server, on port 143 it is answering correctly, but the IMAPS on port 993 does not listen correctly.</p><p>Connection to IMAP port 143:<br /></p><div class="quotebox"><blockquote><p># telnet 192.168.10.205 143<br />Trying 192.168.10.205...<br />Connected to 192.168.10.205.<br />Escape character is &#039;^]&#039;.<br />* OK [CAPABILITY IMAP4rev1 LOGIN-REFERRALS ID ENABLE IDLE SASL-IR LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.<br />1 login &lt;username&gt; &lt;userpassword&gt;<br />1 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE REPLACE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW SPECIAL-USE STATUS=SIZE SAVEDATE COMPRESS=DEFLATE INPROGRESS NOTIFY METADATA LITERAL+ QUOTA ACL RIGHTS=texk LIST-MYRIGHTS] Logged in<br />2 logout<br />* BYE Logging out<br />2 OK Logout completed (0.001 + 0.000 secs).<br />Connection closed by foreign host.</p></blockquote></div><p>Connection to IMAPS port 993<br /></p><div class="quotebox"><blockquote><p># telnet 192.168.10.205 993<br />Trying 192.168.10.205...<br />Connected to 192.168.10.205.<br />Escape character is &#039;^]&#039;.<br />1 login &lt;username&gt; &lt;userpassword&gt;<br />Connection closed by foreign host.</p></blockquote></div><p>After the telnet connection to port 993 I never receive the &quot;*OK CAPABILITY... Dovecot ready.&quot; answer.</p><p>If anyone as a clue.</p>]]></description>
			<author><![CDATA[null@example.com (LaurentM)]]></author>
			<pubDate>Thu, 07 May 2026 13:27:56 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21138-imaps-not-answering-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[451 4.3.5 Server configuration error]]></title>
			<link>https://forum.iredmail.org/topic21136-451-435-server-configuration-error-new-posts.html</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release):&nbsp; 1.7.4 MARIADB edition.<br />- Deployed with iRedMail Easy or the downloadable installer? downloadable installer<br />- Linux/BSD distribution name and version: AlmaLinux release 10.1 (Heliotrope Lion)<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 migrated some domains from one server with iRedMail to another and kept the same configurations for dovecot, postfix, amavisd, and iredapd. However, some accounts on the new server are accumulating messages in the email queue:</p><p>---<br />Received: by mail001.xpto.com.br (Postfix)<br />&nbsp; &nbsp; id 4g90vf4sR6z4y0P; Tue,&nbsp; 5 May 2026 11:17:18 -0300 (-03)<br />Date: Tue,&nbsp; 5 May 2026 11:17:18 -0300 (-03)<br />From: Mail Delivery System &lt;MAILER-DAEMON@mail001.xpto.com.br&gt;<br />To: Postmaster &lt;postmaster@mail001.xpto.com.br&gt;<br />Subject: Postfix SMTP server: errors from 195-154-118-127.rev.poneytelecom.eu[195.154.118.127]:43730<br />Message-Id: &lt;4g90vf4sR6z4y0P@mail001.xpto.com.br&gt;</p><p>Transcript of session follows.</p><p> Out: 220 mail001.xpto.com.br ESMTP Postfix<br /> In:&nbsp; EHLO sd-141991.dedibox.fr<br /> Out: 250-mail001.xpto.com.br<br /> Out: 250-PIPELINING<br /> Out: 250-SIZE 31457280<br /> Out: 250-ETRN<br /> Out: 250-STARTTLS<br /> Out: 250-ENHANCEDSTATUSCODES<br /> Out: 250-8BITMIME<br /> Out: 250 DSN<br /> In:&nbsp; STARTTLS<br /> Out: 220 2.0.0 Ready to start TLS<br /> In:&nbsp; EHLO sd-141991.dedibox.fr<br /> Out: 250-mail001.xpto.com.br<br /> Out: 250-PIPELINING<br /> Out: 250-SIZE 31457280<br /> Out: 250-ETRN<br /> Out: 250-ENHANCEDSTATUSCODES<br /> Out: 250-8BITMIME<br /> Out: 250 DSN<br /> In:&nbsp; MAIL From:&lt;www-data@sd-141991.dedibox.fr&gt; SIZE=677580 BODY=8BITMIME<br /> Out: 250 2.1.0 Ok<br /> In:&nbsp; RCPT To:&lt;financeiro@dominio.com.br&gt;<br /> Out: 451 4.3.5 Server configuration error<br /> In:&nbsp; DATA<br /> Out: 554 5.5.1 Error: no valid recipients<br /> In:&nbsp; RSET<br /> Out: 250 2.0.0 Ok<br /> Out: 421 4.4.2 mail001.xpto.com.br Error: timeout exceeded</p><p>Session aborted, reason: timeout</p><p>For other details, see the local mail logfile<br />---</p><p>All services are working correctly (mariadb, dovecot, postfix, iredapd, etc.). The postfix logs show this message:</p><p>---<br />postfix/smtp.log:May&nbsp; 5 14:06:12 mail001 postfix/smtpd[1361542]: NOQUEUE: reject: RCPT from 195-154-118-127.rev.poneytelecom.eu[195.154.118.127]:40826: 451 4.3.5 Server configuration error; from=&lt;www-data@sd-141991.dedibox.fr&gt; to=&lt;financeiro@dominio.com.br&gt; proto=ESMTP helo=&lt;sd-141991.dedibox.fr&gt;<br />---</p><p>The iredapd logs show this message:</p><p>---<br />iredapd/iredapd.log: May&nbsp; 5 12:57:59 mail001 python3[1271302]: iredapd [216.245.218.125] RCPT, uwnpw7lo@interestingthing.online -&gt; financeiro@dominio.com.br, 451 4.7.1 Intentional policy rejection, please try again later [sasl_username=, sender=uwnpw7lo@interestingthing.online, client_name=special.interestingthing.online, reverse_client_name=special.interestingthing.online, helo=special.interestingthing.online, encryption_protocol=, encryption_cipher=, server_port=25, process_time=0.4227s]<br />---</p><p>Any guidance about this issue?</p>]]></description>
			<author><![CDATA[null@example.com (ribas)]]></author>
			<pubDate>Tue, 05 May 2026 19:17:48 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21136-451-435-server-configuration-error-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[postfix service not starting after ubuntu server release 22.04->24.04]]></title>
			<link>https://forum.iredmail.org/topic21135-postfix-service-not-starting-after-ubuntu-server-release-22042404-new-posts.html</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): 1.8.0 maria db<br />- Deployed with iRedMail Easy or the downloadable installer? downloadable installer<br />- Linux/BSD distribution name and version: Ubuntu server 20.04-&gt;22.04-&gt;22.04 (problem after do_release_upgrade 22.04-&gt;24.04. <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 pro<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====<br />(I can&#039;t post links, but hopefully my references make sense)</p><p>Last Friday, I upgraded from 20.04 to 22.04 successfully following the directions on iredmail forum topic20565-direct-upgrade-ubuntu-2004-to-2204-guide.html</p><p>Then, today I upgraded from 22.04 to 24.04 using the instructions: iredmail docs upgrade.ubuntu.22.04-24.04.html</p><p>After finishing the release upgrade and rebooting the server on 24.04, and going through the install process again for iredapd, iredadmin and mlmmjm I was unable to send or receive mail but I was also unable to resolve domain names.</p><p>I was able to find another instance of this happening on an OpenVZ system where the user does not have the ability to update the kernel (currently running the 5.4.0) and it looked like the only option at this time was to stop using systemd-resolved, due to an issue in systemd-resolved on 24.04 systems running in OpenVZ: the github site /systemd/systemd/issues/34580</p><div class="codebox"><pre><code>#fix dns resolution after update to 24.04 by disabling systemd-resolved
sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved
sudo rm /etc/resolv.conf
sudo nano /etc/resolv.conf

#paste in /etc/resolv.conf
nameserver 8.8.8.8
nameserver 1.1.1.1</code></pre></div><p>Making that change allowed me to resolve DNS and ping google.com.</p><p>So back to the mail issue. <br />There was nothing happening in /var/log/mail.log (because as I found out later, postfix wasn&#039;t running). </p><p>Running &quot;lsof -i -P -n | grep LISTEN&quot; didn&#039;t reveal anything listening on ports 25 or 587, but I could see dovecot on 993/995/143/110. </p><p>systemctl status postfix: <br /></p><div class="codebox"><pre><code>postfix.service - Postfix Mail Transport Agent
     Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; preset: enabled)
     Active: active (exited) since Tue 2026-05-05 01:37:36 UTC; 45min ago
       Docs: man:postfix(1)
    Process: 33358 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
   Main PID: 33358 (code=exited, status=0/SUCCESS)</code></pre></div><p>but there was an error message in systemctl status postfix*</p><div class="codebox"><pre><code> postfix@-.service - Postfix Mail Transport Agent (instance -)
     Loaded: loaded (/usr/lib/systemd/system/postfix@.service; enabled-runtime; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2026-05-05 01:37:36 UTC; 9s ago
       Docs: man:postfix(1)
    Process: 33330 ExecStartPre=/usr/lib/postfix/configure-instance.sh - (code=exited, status=1/FAILURE)</code></pre></div><p>I was able to run: </p><div class="codebox"><pre><code>postfix start</code></pre></div><p>Then I started seeing successful messages in /var/log/mail.log and I could see master<br />running and listening on 25 and 587.&nbsp; </p><p>postfix check<br /></p><div class="codebox"><pre><code>postfix: Postfix is using backwards-compatible default settings
postfix: See postfixorgwebsite /COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use &quot;postconf compatibility_level=3.6&quot; and &quot;postfix reload&quot;
postfix/postfix-script: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
postfix/postfix-script: warning: /var/spool/postfix/lib/x86_64-linux-gnu/libgcc_s.so.1 and /lib/x86_64-linux-gnu/libgcc_s.so.1 differ</code></pre></div><p>I copied my resolv.conf and x86_64-linux-gnu/libgcc_s.so.1 into the postfix CHROOT in the appropriate locations, and then running postfix check stopped giving the two warnings, and only the messages about backwards compatibility. </p><p>But after running systemctl stop postfix and systemctl start postfix, I was still seeing the same error message in systemctl status postfix*.</p><p>I tried running /usr/lib/postfix/configure-instance.sh manually to see if I could see any error message output and there was no output, but now when I run the command again, it&#039;s giving different output: <br />systemctl status postfix*<br /></p><div class="codebox"><pre><code>Unit postfix-mysql.so.service could not be found.
Unit postfix-pcre.so.service could not be found.
Unit postfix_groups.pl.service could not be found.</code></pre></div><p>tail -200 /etc/postfix/dynamicmaps.cf<br /></p><div class="codebox"><pre><code># dict-type     so-name (pathname)      dict-function   mkmap-function
pcre    postfix-pcre.so dict_pcre_open
mysql   postfix-mysql.so        dict_mysql_open</code></pre></div><p>postconf -m also still shows mysql and pcre in the list. </p><p>So now I have mail sending and receiving working again, but I think something with postfix is still borked and I&#039;m afraid to restart my server. </p><p>checking the processes that are listening on 25 and 587 again now, it looks like it has changed and postscree (postscreen?) is listening on 25 and smtpd is listening on 587, which I&#039;m pretty sure is different from what I saw after I first ran &quot;postfix start&quot;. </p><p>I have a full backup from before the upgrade on 20.04-&gt;22.04 that I could restore, or I could backup the databases and vmail and DKIM and do a VM reinstall from scratch and then migration and reinstall and restore when I have more time in a few days, but I was hoping that this was something that I could figure out and kick a full reinstall down the road further.</p><p>Thanks for any other ideas or hints you might have,<br />natec</p>]]></description>
			<author><![CDATA[null@example.com (natec)]]></author>
			<pubDate>Tue, 05 May 2026 04:13:14 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21135-postfix-service-not-starting-after-ubuntu-server-release-22042404-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[dovecot.imapsieve]]></title>
			<link>https://forum.iredmail.org/topic21134-dovecotimapsieve-new-posts.html</link>
			<description><![CDATA[<p>Hello,</p><p>Are there any caveats to following the instructions from the imapsieve tutorial on OpenBSD with 1.7.0?</p>]]></description>
			<author><![CDATA[null@example.com (IMOGEN)]]></author>
			<pubDate>Sat, 02 May 2026 12:53:25 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21134-dovecotimapsieve-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Auto learn spam/ham seems broken]]></title>
			<link>https://forum.iredmail.org/topic21132-auto-learn-spamham-seems-broken-new-posts.html</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release):&nbsp; 1.7.1 OPENLDAP edition<br />- Deployed with iRedMail Easy or the downloadable installer? downloadable<br />- Linux/BSD distribution name and version: Debian GNU/Linux 12 (bookworm) <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL):&nbsp; LDAP<br />- Web server (Apache or Nginx): Nginx<br />- Manage mail accounts with iRedAdmin-Pro? No<br />====</p><p>I follow all instruction on <a href="https://docs.iredmail.org/dovecot.imapsieve.html,">https://docs.iredmail.org/dovecot.imapsieve.html,</a> use set as spam plugin buit checking spam : it&#039;s seems only the mail reader learn span (kmail currently).</p><p>All update are done, but when tetsing f somthing happe,n : seems nothing are done.</p><div class="codebox"><pre><code>root@nedra:~# cd /etc/dovecot/
root@nedra:/etc/dovecot# grep -r &quot;mail_debug&quot; *
conf.d/10-logging.conf:# mail_debug and auth_debug settings.
conf.d/10-logging.conf:#mail_debug = no
dovecot.conf:mail_debug = yes
root@nedra:~# grep sieve /var/log/dovecot/imap.log
root@nedra:~# bash /etc/dovecot/sieve/scan_reported_mails.sh
root@nedra:~# grep sieve /var/log/dovecot/imap.log
root@nedra:~# tail /var/log/syslog
2026-04-23T10:46:33.646578+02:00 nedra postfix/postscreen[19574]: PASS OLD [104.155.105.12]:12868
2026-04-23T10:46:33.654906+02:00 nedra postfix/postscreen[19574]: PASS OLD [104.155.105.12]:12898
2026-04-23T10:46:34.182158+02:00 nedra postfix/smtpd[19653]: connect from 12.105.155.104.bc.googleusercontent.com[104.155.105.12]
2026-04-23T10:46:34.362819+02:00 nedra postfix/smtpd[19655]: connect from 12.105.155.104.bc.googleusercontent.com[104.155.105.12]
2026-04-23T10:46:34.706589+02:00 nedra postfix/smtpd[19657]: connect from 12.105.155.104.bc.googleusercontent.com[104.155.105.12]
2026-04-23T10:46:34.995340+02:00 nedra postfix/smtpd[19658]: connect from 12.105.155.104.bc.googleusercontent.com[104.155.105.12]
2026-04-23T10:46:35.341956+02:00 nedra postfix/smtpd[19659]: connect from 12.105.155.104.bc.googleusercontent.com[104.155.105.12]
2026-04-23T10:46:35.713417+02:00 nedra postfix/smtpd[19660]: connect from 12.105.155.104.bc.googleusercontent.com[104.155.105.12]
2026-04-23T10:47:01.064735+02:00 nedra CRON[19678]: (*****) CMD (sh /home/*****/vault_pull.sh &gt;&gt; /home/*****/logs/vault_pull.log 2&gt;&amp;1)
2026-04-23T10:47:01.074723+02:00 nedra CRON[19679]: (root) CMD (/bin/bash /usr/local/bin/fail2ban_banned_db unban_db)</code></pre></div><br /><p>and<br /></p><div class="codebox"><pre><code>root@nedra:~# su -s /bin/bash amavis -c &quot;sa-learn --dump magic&quot;
0.000          0          3          0  non-token data: bayes db version
0.000          0       2124          0  non-token data: nspam
0.000          0      11905          0  non-token data: nham
0.000          0     200731          0  non-token data: ntokens
0.000          0 1776204760          0  non-token data: oldest atime
0.000          0 1776931921          0  non-token data: newest atime
0.000          0 1776932414          0  non-token data: last journal sync atime
0.000          0 1776900277          0  non-token data: last expiry atime
0.000          0     691200          0  non-token data: last expire atime delta
0.000          0      11211          0  non-token data: last expire reduction count</code></pre></div><p>What can i do to control if something is really done ?</p>]]></description>
			<author><![CDATA[null@example.com (Shnoulle)]]></author>
			<pubDate>Thu, 23 Apr 2026 08:56:40 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21132-auto-learn-spamham-seems-broken-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[not able to renew letscript certificates]]></title>
			<link>https://forum.iredmail.org/topic21130-not-able-to-renew-letscript-certificates-new-posts.html</link>
			<description><![CDATA[<p>Dear Team,</p><p>After upgrading in iredadmin-pro 5.8 I am not able to renew letscript certificates.</p><p>Select the appropriate numbers separated by commas and/or spaces, or leave input<br />blank to select all options shown (Enter &#039;c&#039; to cancel): 20<br />Cannot extract OCSP URI from /etc/letsencrypt/archive/mail.ntsipl.com/cert9.pem<br />Certificate is due for renewal, auto-renewing...<br />Renewing an existing certificate for mail.ntsipl.com<br />Performing the following challenges:<br />http-01 challenge for mail.ntsipl.com<br />Waiting for verification...<br />Challenge failed for domain mail.ntsipl.com<br />http-01 challenge for mail.ntsipl.com</p><p>Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:<br />&nbsp; Domain: mail.ntsipl.com<br />&nbsp; Type:&nbsp; &nbsp;connection<br />&nbsp; Detail: 103.239.124.251: Fetching <a href="http://mail.ntsipl.com/.well-known/acme-challenge/2_fkHUh0A8JjVddLjxRWTKcqT_yMXOlRTC59Ceg2OFM:">http://mail.ntsipl.com/.well-known/acme … 59Ceg2OFM:</a> Error getting validation data</p><p>Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.</p><p>Cleaning up challenges<br />Some challenges have failed.<br />Ask for help or search for solutions at <a href="https://community.letsencrypt.org">https://community.letsencrypt.org</a>. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.</p><p>Please provide the solution</p>]]></description>
			<author><![CDATA[null@example.com (jitendra.sharma)]]></author>
			<pubDate>Fri, 17 Apr 2026 05:30:27 +0000</pubDate>
			<guid>https://forum.iredmail.org/topic21130-not-able-to-renew-letscript-certificates-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Fresh install in a FreeBSD 14.4-RELEASE jail (My notes)]]></title>
			<link>https://forum.iredmail.org/topic21125-fresh-install-in-a-freebsd-144release-jail-my-notes-new-posts.html</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/topic21125-fresh-install-in-a-freebsd-144release-jail-my-notes-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Possible bug in the Amavis config, breaking DKIM]]></title>
			<link>https://forum.iredmail.org/topic21123-possible-bug-in-the-amavis-config-breaking-dkim-new-posts.html</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/topic21123-possible-bug-in-the-amavis-config-breaking-dkim-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[Fail2ban not banning IP after repeated IMAP login failures]]></title>
			<link>https://forum.iredmail.org/topic21122-fail2ban-not-banning-ip-after-repeated-imap-login-failures-new-posts.html</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/topic21122-fail2ban-not-banning-ip-after-repeated-imap-login-failures-new-posts.html</guid>
		</item>
		<item>
			<title><![CDATA[FreeBSD pkg installer]]></title>
			<link>https://forum.iredmail.org/topic21121-freebsd-pkg-installer-new-posts.html</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/topic21121-freebsd-pkg-installer-new-posts.html</guid>
		</item>
	</channel>
</rss>
