<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — iRedmail on Ubuntu 24.04 LTS]]></title>
		<link>https://forum.iredmail.org/topic20413-iredmail-on-ubuntu-2404-lts.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic20413.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in iRedmail on Ubuntu 24.04 LTS.]]></description>
		<lastBuildDate>Fri, 03 Jan 2025 14:25:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post90141.html#p90141</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>- Fail2ban issue has been fixed for a long time, and it works fine with iRedMail.<br />- SOGo team has apt repo for Ubuntu 24.04 too. <a href="https://packages.sogo.nu/nightly/5/ubuntu/dists/">https://packages.sogo.nu/nightly/5/ubuntu/dists/</a></p></blockquote></div><p>Indeed fail2ban works on 24.04! </p><p>Also downloaded the deb file to check the content of helpers.py. And helpers.py file differs from the one I got with command </p><div class="codebox"><pre><code>apt-get install</code></pre></div><p>.<br />/usr/local/lib/python3.12/dist-packages/fail2ban/helpers.py</p><p>So whats wrong with my apt-sources, I don&#039;t know. I hade done a &quot;dist-upgrade&quot; from ubuntu 22.04. For me the solution was to download fail2ban.deb from github.</p><p>Ubuntu 24.04 also uses a different format for deb sources management – deb822 <br /></p><div class="codebox"><pre><code>Types: deb deb-src
URIs: uri
Suites: suite
Components: [component1] [component2] [...]
option1: value1
option2: value2</code></pre></div><p>Mine now looks like this in /etc/apt/sources.list.d/sogo-nightly.sources:<br /></p><div class="codebox"><pre><code>Enabled: yes
Types: deb
URIs: http://packages.sogo.nu/nightly/5/ubuntu/
Suites: noble
Components: noble</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Wingthor)]]></author>
			<pubDate>Fri, 03 Jan 2025 14:25:18 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90141.html#p90141</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post90131.html#p90131</link>
			<description><![CDATA[<p>- Fail2ban issue has been fixed for a long time, and it works fine with iRedMail.<br />- SOGo team has apt repo for Ubuntu 24.04 too. <a href="https://packages.sogo.nu/nightly/5/ubuntu/dists/">https://packages.sogo.nu/nightly/5/ubuntu/dists/</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 31 Dec 2024 02:03:56 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90131.html#p90131</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post90128.html#p90128</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Ubuntu official apt repository has fail2ban.</p></blockquote></div><p>As per 2024-12-27 fail2ban (1.0.2-3ubuntu0.1) it was broken when installing from apt. Didn&#039;t support python 3.12. Perhaps it works with ohter version of python. However python 3.12 is standard on ubuntu 24.04.</p><p>I posted an issue on it on the github, and was adviced to install from the deb package in the release section og fail2ban github. That version worked out of box.</p><p>Fail report I got was:<br /></p><div class="codebox"><pre><code>Traceback (most recent call last): 
File &quot;/usr/local/bin/fail2ban-server&quot;, line 34, in &lt;module&gt; 
File &quot;/usr/local/lib/python3.12/dist-packages/fail2ban/client/fail2banserver.py&quot;, line 26, in &lt;module&gt;
from .fail2bancmdline import Fail2banCmdLine, ServerExecutionException, \ 
File &quot;/usr/local/lib/python3.12/dist-packages/fail2ban/client/fail2bancmdline.py&quot;, line 30, in &lt;module&gt;
from ..helpers import getLogger, str2LogLevel, getVerbosityFormat, BrokenPipeError
File &quot;/usr/local/lib/python3.12/dist-packages/fail2ban/helpers.py&quot;, line 35, in &lt;module&gt;
import imp 
ModuleNotFoundError: No module named &#039;imp&#039; 
fail2ban.service: Main process exited, code=exited, status=1/FAILURE</code></pre></div><p>Perhaps&nbsp; sogo issues is &quot;of topic&quot; in this forum, however since its mentioned as an issue...</p><p>Still no one has the location of the proper sogo (nighly) PPA for Ubuntu 24.04?</p>]]></description>
			<author><![CDATA[null@example.com (Wingthor)]]></author>
			<pubDate>Tue, 31 Dec 2024 01:03:33 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90128.html#p90128</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post90125.html#p90125</link>
			<description><![CDATA[<p>Ubuntu official apt repository has fail2ban.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 30 Dec 2024 14:28:56 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90125.html#p90125</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post90117.html#p90117</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>SOGo is available on Ubuntu 24.04 now, but we&#039;re still waiting for Fail2ban, it&#039;s broken:<br /><a href="https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/2055114">https://bugs.launchpad.net/ubuntu/+sour … ug/2055114</a></p></blockquote></div><p>I installed fail2ban from here:<br /><a href="https://github.com/fail2ban/fail2ban/releases">https://github.com/fail2ban/fail2ban/releases</a></p>]]></description>
			<author><![CDATA[null@example.com (Wingthor)]]></author>
			<pubDate>Sun, 29 Dec 2024 13:34:32 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90117.html#p90117</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post90116.html#p90116</link>
			<description><![CDATA[<div class="quotebox"><cite>jackb wrote:</cite><blockquote><p>There is support for 24.04 now. Update the PPA in /etc/apt/sources.list/ </p><p>I would hold off though for Sogo. Direct upgrade from 22.04 to 24.04 works but requires iRedMail to be running the latest and&nbsp; in /etc/php/8.3/fpm/pool.d requires to be replaced with the original from /etc/php/8.1/fpm/pool.d <br />Postfix / Dovecot works perfectly fine. </p><p>Regards.</p></blockquote></div><p>Could you plz provide the link to the PPA or which channel to add to the sources.list. Can&#039;t find it anywhere.</p><p>Regards.</p>]]></description>
			<author><![CDATA[null@example.com (Wingthor)]]></author>
			<pubDate>Sun, 29 Dec 2024 13:31:39 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90116.html#p90116</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post90098.html#p90098</link>
			<description><![CDATA[<p>More on AppArmor profiles, Ubuntu 24.04 and iRedmail php8.3-fpm,</p><p>Or we match the log location in the php8.3-fpm to AppArmor profile:</p><p> # the main log file<br /> /var/log/php*-fpm.log rw,</p><p>Or the fix is to modify /etc/apparmor.d/local/php-fpm:</p><p># Allow notify to systemd<br />owner /run/systemd/notify w,</p><p># Allow logs located in /var/log/php-fpm/ dir<br />/var/log/php-fpm/*.log rw,</p><p>Maybe would be good idea to create specific topic related to iRedmail Security Compliance using AppArmor on Debian based distributions and Selinux on RHEL flavors, plus CIS Benchmarks.</p><p>Best regards</p>]]></description>
			<author><![CDATA[null@example.com (alss)]]></author>
			<pubDate>Thu, 26 Dec 2024 00:00:01 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90098.html#p90098</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post90097.html#p90097</link>
			<description><![CDATA[<p>Hi iRedmail team,</p><p>Doing some tests in Ubuntu 24.04 using CIS Benchmark Level 1 hardened image. I recommend everyone to delay the upgrade after 24.04.2 for production environments if you have specific security compliance requirements, there is no announcement for USG(Ubuntu Security Guide) support in this version yet.</p><p>In a clean OS and iRedmail install be warned about this bug if you are using AppArmor, php8.3-fpm install will fail due to a missing permission in the profile to allow a notify to systemd:</p><p>You can find the DENIED in audit logs, the following actions will solve the problem before install:</p><p>To fix it just add this line to /etc/apparmor.d/local/php-fpm</p><p>owner /run/systemd/notify w,</p><p>And restart AppArmor</p><p>systemctl restart apparmor.service</p><p>This will solve the problem, going to create an Ubuntu bug.<br />UPDATE:<br />Found six month old bug:<br />Ubuntu Launchpad Bug #2061113 </p><p>More updates as soon as I get more results from tests.</p><p>Best regards</p>]]></description>
			<author><![CDATA[null@example.com (alss)]]></author>
			<pubDate>Wed, 25 Dec 2024 21:38:22 +0000</pubDate>
			<guid>https://forum.iredmail.org/post90097.html#p90097</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post89356.html#p89356</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Thanks for sharing. <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>You are welcome <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 (jackb)]]></author>
			<pubDate>Tue, 20 Aug 2024 01:05:13 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89356.html#p89356</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post89354.html#p89354</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>Tue, 20 Aug 2024 01:01:43 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89354.html#p89354</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post89351.html#p89351</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>jackb wrote:</cite><blockquote><p>Do you want me to post the upgrade step by step?</p></blockquote></div><p>Yes, please share it in a new forum topic.</p></blockquote></div><p>I have posted the Upgrade stage to 22.04, If you see anything that need&#039;s to be changed let me know <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p><a href="https://forum.iredmail.org/topic20565-direct-upgrade-ubuntu-2004-to-2204-guide.html">https://forum.iredmail.org/topic20565-d … guide.html</a></p>]]></description>
			<author><![CDATA[null@example.com (jackb)]]></author>
			<pubDate>Mon, 19 Aug 2024 23:39:13 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89351.html#p89351</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post89344.html#p89344</link>
			<description><![CDATA[<div class="quotebox"><cite>jackb wrote:</cite><blockquote><p>Do you want me to post the upgrade step by step?</p></blockquote></div><p>Yes, please share it in a new forum topic.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Mon, 19 Aug 2024 04:08:12 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89344.html#p89344</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post89330.html#p89330</link>
			<description><![CDATA[<p>Hi folks</p><p>Just to let you know, I have spent the weekend testing a direct upgrade to 24.04 from 22.04, my old mail server has been through a few different versions of Ubuntu Server.</p><p>Upgrading from 22.04 to 24.04 on a clone of the Production went pretty well, Only thing i will mention is direct upgrade from 22.04 isn&#039;t currently supported until 24.04.1 is released.</p><p>Do you want me to post the upgrade step by step?</p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (jackb)]]></author>
			<pubDate>Mon, 19 Aug 2024 01:43:13 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89330.html#p89330</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post89289.html#p89289</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>How did you upgrade Roundcube? Do you use the `bin/installto.sh` script shipped in Roundcube?<br /></p><div class="codebox"><pre><code>cd /path/to/new/roundcubemail/
./bin/installto.sh /path/to/OLD/roundcubemail/</code></pre></div></blockquote></div><p>Yep that is how I update. The SQL DB settings I listed above you can see the differences. Other people in the forum has listed problems too. I did a comparison between my config and latest config in IRedMail 1.7.0 and found there were differences. I made the changes and it fixed them. </p><p>It seems that latest version 1.6+ of roundcube uses different SQL config than 1.5.</p><p>$config[&#039;password_query&#039;] = &quot;UPDATE mailbox SET password=%D,passwordlastchange=NOW() WHERE username=%u&quot;;<br />to<br />$config[&#039;password_query&#039;] = &quot;UPDATE mailbox SET password=%P,passwordlastchange=NOW() WHERE username=%u</p>]]></description>
			<author><![CDATA[null@example.com (jackb)]]></author>
			<pubDate>Wed, 14 Aug 2024 01:49:05 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89289.html#p89289</guid>
		</item>
		<item>
			<title><![CDATA[Re: iRedmail on Ubuntu 24.04 LTS]]></title>
			<link>https://forum.iredmail.org/post89288.html#p89288</link>
			<description><![CDATA[<p>How did you upgrade Roundcube? Do you use the `bin/installto.sh` script shipped in Roundcube?<br /></p><div class="codebox"><pre><code>cd /path/to/new/roundcubemail/
./bin/installto.sh /path/to/OLD/roundcubemail/</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 14 Aug 2024 01:45:05 +0000</pubDate>
			<guid>https://forum.iredmail.org/post89288.html#p89288</guid>
		</item>
	</channel>
</rss>
