1

Topic: iRedMail-1.1 has been released.

Dear all,

iRedMail-1.1 has been released.

Introduce "iRedMail Easy" - the new deployment, upgrade and support platform

iRedMail Easy is the new web-based deployment, (one-click) upgrade and technical support platform introduced few months ago, we release new version frequently (currently one new release per month), with the one-click upgrade support, you can easily keep the iRedMail server up to date without caring about any technical details. It's the recommend way to deploy NEW iRedMail server and get technical support.

For more details, please check our website, the comparison of iRedMail Easy and classic downloadable installer is available too: https://www.iredmail.org/easy.html

If you need to upgrade existing iRedMail server to the iRedMail Easy platform, please check our tutorial: Migrate from iRedMail to iRedMail Easy platform.

Major changes since iRedMail-1.0.

Improvements
  • tools/backup_*.sh: do not rely on Python to calculate dates.

Fixed issues
  • PostgreSQL backend: improper index for table `vmail.sender_relayhost`.

  • LDAP backend: improper filter which causes missing external members while querying (not-subscribeable) mailing list with alias domain. Thanks to Alyssa Hullinger for the report.

  • Backup MX doesn't work.

  • rsyslog config file `/etc/rsyslog.d/1-iredmail-iredapd.conf` doesn't work on CentOS.

  • Installer:

    • Not enable IPv6 in Nginx.

    • not disable checks for energid in netdata. Port 9998 is used by Amavisd and energid (not installed by iRedMail) by default, netdata will try to send http request to this port, hence it causes error message in Amavisd log file each time netdata starts.

    • Not correctly set Nginx log file path in Fail2ban.

    • Not set message size limit in Roundcube ($config['max_message_size']).

    • Not remove `!SSLv2` in Dovecot on Ubuntu 18.04. Note: SSLv2 is actually disabled by OpenSSL.

Updated packages
  • Roundcube -> 1.4.2

  • iRedAdmin -> 1.0

  • iRedAPD -> 3.4

  • FreeBSD: postgresql-12, python-3.8, php-7.4

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail-1.1 has been released.

i install de new version in debían 10 and mariadb and hynix, i try to solve this error but no idea, the installation is clean i reboot the server

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

3

Re: iRedMail-1.1 has been released.

Is mysql service running?

Btw, better create a new forum topic for your issue or question. smile

4

Re: iRedMail-1.1 has been released.

Is APD 3.4 the latest stable release? I notice its gzipped rather than bzipped like normal.

5

Re: iRedMail-1.1 has been released.

3.5 is the latest iRedAPD version.

We switched to gzip format after switched source code repo from bitbucket to GitHub, GitHub doesn’t offer bz2 format while we tag a new release.

https://github.com/iredmail/iRedAPD

6 (edited by awol123 2020-02-22 07:07:48)

Re: iRedMail-1.1 has been released.

ZhangHuangbin wrote:

3.5 is the latest iRedAPD version.

We switched to gzip format after switched source code repo from bitbucket to GitHub, GitHub doesn’t offer bz2 format while we tag a new release.

https://github.com/iredmail/iRedAPD

Many thanks.
In which case, the upgrade tutorial for iRedAPD needs updating slightly as anyone who follows that will only get to v3.4.
https://docs.iredmail.org/upgrade.iredapd.html

- update repo location
- update filename format
- update command line example to use gzip

7

Re: iRedMail-1.1 has been released.

awol123 wrote:

In which case, the upgrade tutorial for iRedAPD needs updating slightly as anyone who follows that will only get to v3.4.

Updated. Thanks for the feedback. smile
https://docs.iredmail.org/upgrade.iredapd.html

8

Re: iRedMail-1.1 has been released.

Hi guys. I just downloaded it and tried to install it, I'm using mysql, but it dont shows mysql on install. what am I doing wrong? In every video, it shows mysql. dont know how to do it. help me plz

9

Re: iRedMail-1.1 has been released.

mysql = mariadb

10

Re: iRedMail-1.1 has been released.

I've been struggling to get iRedMail-1.0 installed in a FreeBSD (latest 12-stable) jail for several days. First it was the 'arj' package that was not getting installed from ports (which was a FreeBSD Ports problem, solved by using "pkg install arj" before installation), and then problems with MariaDB 10.4.

MariaDB changed the default way the root account can log in, and in how it stores account data. mysql.user is no longer a table, it's a view that pulls from mysql.global_priv. This means that the iRedMail script that sets the root password in mysql.user doesn't work.

See https://mariadb.org/authentication-in-mariadb-10-4/ for more info. The effect of this means that none of the databases required for SoGo, Roundcube, etc. are created.

I tried a few different variations on the iRedMail script to change the MariaDB root password, but none worked. The last complained because in the FreeBSD install it sets --skip-grant-tables. This morning I just changed the freebsd_packages.sh script and set the preferred MariaDB version to be 10.3, but when it started downloading packages I noticed that 1.0 had been updated to 1.1. I will continue to let the install carry on and see if it works with MariaDB 10.3.

The other option that I was going to try was to pre-install MariaDB and use the remote MySQL install instructions.

I didn't notice in the 1.1 release notes that this problem was addressed, but I think it needs to be. It may work for the Linux distributions, but for FreeBSD in a jail the instructions will need to be altered to cover this problem.

Thanks!

11

Re: iRedMail-1.1 has been released.

Any error (on console or in file "runtime/install.log") you got while iRedMail installer resetting root password?

12

Re: iRedMail-1.1 has been released.

When it fails out I just blow away the jail and start over, so I don't have an install.log to pull it from, but the error is basically this:

Column 'authentication_string' is not updatable

MariaDB 10.4 changed mysql.user from a table to a view of mysql.global_priv, so the SQL called in functions/mysql.sh doesn't work.

I changed the functions/packages_freebsd.sh to set PREFERRED_MARIADB to '103', but when I ran the install again, this time install.log had an error that said:

unknown option '--connect-expired-password' 

so no databases were created.

I'm installing MariaDB 10.4 in a separate jail (which I kind of need to do anyway for other reasons) and will use the install settings for a remote MySQL.

13

Re: iRedMail-1.1 has been released.

Hi.

I just download a new version on iRedMail to debian OS and when i run sh script i have a error:

root@mail:/tmp/iRedMail/runtime# cat install.log
[ INFO ] Checking new version of iRedMail ...
+ < DEBUG > Creating necessary directories ...
[ INFO ] apt-get update ...
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 6: https://dl.iredmail.org/yum/misc/iRedAdmin-1.0.tar.bz2
[ INFO ] + 2 of 6: https://dl.iredmail.org/yum/misc/mlmmjadmin-2.1.tar.gz
[ INFO ] + 3 of 6: https://dl.iredmail.org/yum/misc/iRedAPD-3.5.tar.gz
[ INFO ] + 4 of 6: https://dl.iredmail.org/yum/misc/netdata-v1.20.0.gz.run
[ INFO ] + 5 of 6: https://dl.iredmail.org/yum/misc/roundc … ete.tar.gz
[ INFO ] + 6 of 6: https://dl.iredmail.org/yum/misc/webpy-0.40.tar.gz
[ INFO ] Validate downloaded source tarballs ...
<< ERROR >> Package verification failed. Script exit ...

what's a problem and how resolve ?

14

Re: iRedMail-1.1 has been released.

Pixel wrote:

[ INFO ] Validate downloaded source tarballs ...
<< ERROR >> Package verification failed. Script exit ...

What's the error message on console? not the 'runtime/install.log' file.

15

Re: iRedMail-1.1 has been released.

rogwynn wrote:

MariaDB 10.4 changed mysql.user from a table to a view of mysql.global_priv, so the SQL called in functions/mysql.sh doesn't work.

I will test it (without jail) and fix it later. Stay tuned.

16

Re: iRedMail-1.1 has been released.

rogwynn wrote:

I tried a few different variations on the iRedMail script to change the MariaDB root password, but none worked. The last complained because in the FreeBSD install it sets --skip-grant-tables. This morning I just changed the freebsd_packages.sh script and set the preferred MariaDB version to be 10.3, but when it started downloading packages I noticed that 1.0 had been updated to 1.1. I will continue to let the install carry on and see if it works with MariaDB 10.3.

Installation on FreeBSD 12.1 release (without jail) works fine, MySQL passwords were correctly set/reset.
Will test Jail later.

17

Re: iRedMail-1.1 has been released.

@rogwynn

Tried with FreeBSD 12.1 + ezjail and the latest development edition of iRedMail, setting mariadb root password works. Didn't try iRedMail-1.1 yet.
Could you try the development edition of iRedMail too?

18

Re: iRedMail-1.1 has been released.

ZhangHuangbin wrote:

@rogwynn

Tried with FreeBSD 12.1 + ezjail and the latest development edition of iRedMail, setting mariadb root password works. Didn't try iRedMail-1.1 yet.
Could you try the development edition of iRedMail too?

Made a post in support as I should have done to begin with.

19

Re: iRedMail-1.1 has been released.

ZhangHuangbin wrote:
awol123 wrote:

In which case, the upgrade tutorial for iRedAPD needs updating slightly as anyone who follows that will only get to v3.4.

Updated. Thanks for the feedback. smile
https://docs.iredmail.org/upgrade.iredapd.html

Just upgrading to iRedAPD 3.5.   The upgrade doc "tar" example still includes the "j" option for bz2 files.

I used this successfully - please update the upgrade doc.

tar xzvf iRedAPD-3.5.tar.gz

Thanks, Rob.

20

Re: iRedMail-1.1 has been released.

rob.ired wrote:

Just upgrading to iRedAPD 3.5.   The upgrade doc "tar" example still includes the "j" option for bz2 files.

Fixed, thanks for the feedback. smile

21

Re: iRedMail-1.1 has been released.

Just upgraded Centos7.7 iRedMail MySQL/Apache 0.9.9 to 1.0 to 1.1
Along with iRedAPD 3.5, NetData 1.20.

Not updated (as they were already at the specified versions)  mlmmjadmin 2.1.
Not using Roundcube.
Others (like SoGo) upgraded via yum update.

All good.
Thanks for the great work Zhang Huang Bin

Rob.