Sure, for now I had time to just upgrade iRedAPD and seems it went fine, when I have time I need to check that effectively is working below the output after the upgrade:
[root@mail2 ~]# git clone [url]https://github.com/iredmail/iRedAPD.git[/url]
Cloning into 'iRedAPD'...
remote: Enumerating objects: 148, done.
remote: Counting objects: 100% (148/148), done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 5467 (delta 69), reused 82 (delta 39), pack-reused 5319
Receiving objects: 100% (5467/5467), 868.35 KiB | 2.52 MiB/s, done.
Resolving deltas: 100% (3998/3998), done.
[root@mail2 ~]# cd iRedAPD/tools/
[root@mail2 tools]# bash upgrade_iredapd.sh
* Detected Linux/BSD distribution: RHEL
* Found iRedAPD directory: /opt/iredapd, symbol link of /opt/iRedAPD-3.6
* Found iRedAPD config file: /opt/iredapd/settings.py
* Add new SQL tables - if there's any
* Checking dependent Python modules:
+ [required] python-sqlalchemy
+ [required] dnspython
+ [required] requests
Install package: python3-sqlalchemy python3-dns
CentOS-8 - AppStream 21 kB/s | 4.3 kB 00:00
CentOS-8 - Base 25 kB/s | 3.9 kB 00:00
CentOS-8 - Extras 10 kB/s | 1.5 kB 00:00
CentOS-8 - PowerTools 27 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 72 kB/s | 34 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 55 kB/s | 24 kB 00:00
iRedMail 24 kB/s | 2.9 kB 00:00
Inverse SOGo Repository 5.2 kB/s | 2.9 kB 00:00
Dependencies resolved.
===============================================================================================================================================
Package Architecture Version Repository Size
===============================================================================================================================================
Installing:
python3-sqlalchemy x86_64 1.3.2-1.module_el8.1.0+245+c39af44f AppStream 1.9 M
python3-dns noarch 1.15.0-8.el8 BaseOS 253 k
Transaction Summary
===============================================================================================================================================
Install 2 Packages
Total download size: 2.2 M
Installed size: 11 M
Downloading Packages:
(1/2): python3-dns-1.15.0-8.el8.noarch.rpm 1.9 MB/s | 253 kB 00:00
(2/2): python3-sqlalchemy-1.3.2-1.module_el8.1.0+245+c39af44f.x86_64.rpm 5.2 MB/s | 1.9 MB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------
Total 3.9 MB/s | 2.2 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : python3-dns-1.15.0-8.el8.noarch 1/2
Installing : python3-sqlalchemy-1.3.2-1.module_el8.1.0+245+c39af44f.x86_64 2/2
Running scriptlet: python3-sqlalchemy-1.3.2-1.module_el8.1.0+245+c39af44f.x86_64 2/2
Verifying : python3-sqlalchemy-1.3.2-1.module_el8.1.0+245+c39af44f.x86_64 1/2
Verifying : python3-dns-1.15.0-8.el8.noarch 2/2
Installed:
python3-sqlalchemy-1.3.2-1.module_el8.1.0+245+c39af44f.x86_64 python3-dns-1.15.0-8.el8.noarch
Complete!
* Create directory /opt/iRedAPD.
* Copying new version to /opt/iRedAPD
* Copy old config file: settings.py (/opt/iredapd/settings.py -> /opt/iRedAPD/settings.py)
* Copy custom plugins: /opt/iRedAPD-3.6/plugins/custom_*.py.
* Set correct owner and permission for /opt/iRedAPD: root:root, 0500.
* Set permission for iRedAPD config file: /opt/iRedAPD/settings.py -> 0400.
* Re-create symbol link: /opt/iredapd -> /opt/iRedAPD
* Remove existing systemd service files.
* Copy systemd service file: /opt/iredapd/rc_scripts/iredapd.service -> /lib/systemd/system/iredapd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/iredapd.service → /usr/lib/systemd/system/iredapd.service.
Redirecting to /bin/systemctl restart rsyslog.service
* Replace py2 by py3 in cron jobs.
* Restarting iRedAPD service.
* Upgrade completed.
< NOTE > If iRedAPD doesn't work as expected, please post your issue in our
< NOTE > online support forum: [url]http://www.iredmail.org/forum/[/url]
< NOTE >
< NOTE > * Turn on debug mode: [url]http://www.iredmail.org/docs/debug.iredapd.html[/url]
< NOTE > * iRedAPD log file is /var/log/iredapd/iredapd.log.
iRedAPD log
[root@mail2 tools]# cat /var/log/iredapd/iredapd.log
Jun 1 18:51:54 mail2 journal[928]: iredapd Starting iRedAPD (version: 3.6, backend: mysql), listening on 127.0.0.1:7777.
Jun 1 18:51:54 mail2 journal[928]: iredapd Loading plugin (priority: 100): reject_null_sender
Jun 1 18:51:54 mail2 journal[928]: iredapd Loading plugin (priority: 99): wblist_rdns
Jun 1 18:51:54 mail2 journal[928]: iredapd Loading plugin (priority: 90): reject_sender_login_mismatch
Jun 1 18:51:54 mail2 journal[928]: iredapd Loading plugin (priority: 80): greylisting
Jun 1 18:51:54 mail2 journal[928]: iredapd Loading plugin (priority: 60): throttle
Jun 1 18:51:54 mail2 journal[928]: iredapd Loading plugin (priority: 50): sql_alias_access_policy
Jun 1 18:51:54 mail2 journal[928]: iredapd Loading plugin (priority: 40): amavisd_wblist
Jun 1 18:51:54 mail2 journal[928]: iredapd No SRS domain and/or secret strings in settings.py, not loaded.
Jun 4 16:29:59 mail2 journal[915]: iredapd Starting iRedAPD (version: 3.6, backend: mysql), listening on 127.0.0.1:7777.
Jun 4 16:29:59 mail2 journal[915]: iredapd Loading plugin (priority: 100): reject_null_sender
Jun 4 16:29:59 mail2 journal[915]: iredapd Loading plugin (priority: 99): wblist_rdns
Jun 4 16:30:00 mail2 journal[915]: iredapd Loading plugin (priority: 90): reject_sender_login_mismatch
Jun 4 16:30:00 mail2 journal[915]: iredapd Loading plugin (priority: 80): greylisting
Jun 4 16:30:00 mail2 journal[915]: iredapd Loading plugin (priority: 60): throttle
Jun 4 16:30:00 mail2 journal[915]: iredapd Loading plugin (priority: 50): sql_alias_access_policy
Jun 4 16:30:00 mail2 journal[915]: iredapd Loading plugin (priority: 40): amavisd_wblist
Jun 4 16:30:00 mail2 journal[915]: iredapd No SRS domain and/or secret strings in settings.py, not loaded.