1

Topic: installing iredmail on a debian 10 server

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release) : 1.3.1
- Deployed with the downloadable installer
- Linux/BSD distribution name and version : Debian 10 stable
- Store mail accounts in MySQL
- Web server Apache
- Manage mail accounts with iRedAdmin-Pro?

Hi all,

I have been a long time user of Debian for almost all my computer needs.
Running my own web and email servers amongst others. But every year
I have to go through the hassle of reinstalling new ssl certificates and that
is a pain. So I was looking around for some simple solution and hoped I
found it in iredmail.

But I get some apt dependency errors :

root@iemeel:~/iRedMail-1.3.1# bash iRedMail.sh
[ INFO ] Checking configuration file: /root/iRedMail-1.3.1/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /root/iRedMail-1.3.1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-1.3.1/runtime/install.status.
[ INFO ] Installing package(s): postfix postfix-pcre libsasl2-modules mariadb-client mariadb-server postf.........
The following packages have unmet dependencies:
libberkeleydb-perl : Depends: perlapi-5.28.1
libconvert-uulib-perl : Depends: perlapi-5.28.0
libcrypt-openssl-rsa-perl : Depends: perlapi-5.28.0
                             Depends: libcrypt-openssl-bignum-perl but it is not going to be installed
                             Depends: libcrypt-openssl-random-perl but it is not going to be installed
libdbd-mysql-perl : Depends: perlapi-5.28.1
libdbi-perl : Depends: perlapi-5.28.1
libdw1 : Depends: libelf1 (= 0.176-1.1) but 0.180-1+b1 is to be installed
libnet-libidn-perl : Depends: perlapi-5.28.0
libnetaddr-ip-perl : Depends: perlapi-5.28.0
libsocket6-perl : Depends: perlapi-5.28.0
libunix-syslog-perl : Depends: perlapi-5.28.0
lz4 : Depends: liblz4-1 (= 1.8.3-1) but 1.9.2-2 is to be installed
python3-distutils : Depends: python3 (< 3.8) but 3.8.2-3 is to be installed
                     Depends: python3-lib2to3 (>= 3.6.4) but it is not going to be installed
python3-setuptools : Depends: python3-pkg-resources (= 40.8.0-1) but 46.1.3-1 is to be installed
E: Unable to correct problems, you have held broken packages.
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: https://forum.iredmail.org/

I have tried solving the dependencies.

My question is what version of debian is needed for an iredmail install ?
I know the website shows debian 10 as a version that can be used.
But I am looking for confirmation (from someone who installed on v10).

Thank you,
Roelof

----

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

2

Re: installing iredmail on a debian 10 server

Do you use any third-party apt repository? If yes, please disable them all before installing iRedMail.

3

Re: installing iredmail on a debian 10 server

No I do not use anything special :

rth@mail:~$ cat /etc/apt/sources.list
deb http://ftp.nl.debian.org/debian/  buster main contrib non-free
deb http://security.debian.org/ buster/updates main contrib non-free
deb http://ftp.nl.debian.org/debian/ buster-updates main contrib non-free

The package perlapi is just not available in the respitory

Roelof

4

Re: installing iredmail on a debian 10 server

From packages.debian.org :

dep: perlapi-5.30.3
virtual package provided by perl-base

And on my server :

root@mail:~/iRedMail-1.3.1# apt install perlapi-5.30.3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'perl-base' instead of 'perlapi-5.30.3'
perl-base is already the newest version (5.30.3-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Roelof

5

Re: installing iredmail on a debian 10 server

- Make sure your system is a clean / fresh OS.
- Disable all third-party apt repositories.
- Disable the "contrib" and "non-free" repos.

Above steps should make sure iRedMail installation goes well.

6

Re: installing iredmail on a debian 10 server

Still the same error, it looks like the dependencies in
debian apt are wrong :

root@mail:~/iRedMail-1.3.1# apt install libberkeleydb-perl
....
The following packages have unmet dependencies:
libberkeleydb-perl : Depends: perlapi-5.28.1
E: Unable to correct problems, you have held broken packages.

perlapi-5.28 does not exist in the repository.

And that leads me back to my original question :
Who has iredmail installed on a debian 10 from scratch ?
(without the problems I am facing)
A simple yes or no answer is good.

Roelof

7

Re: installing iredmail on a debian 10 server

We have a lot Debian 10 users.
It looks like a package issue on your own server, try to remove this package and re-run iRedMail installer.

8 (edited by LaurentM 2020-10-22 00:07:58)

Re: installing iredmail on a debian 10 server

Hi Roelof,

I am all new to this forum, but the thing I can tell you is that I have VERY recently (begining of October) installed an iRedMail server on a fresh debian 10 server.

At first I have made the mistake to install the apache2 web server, but the installation issued a problem, so I did a new installation of the debian 10 server with only the Mate desktop on it and left all the other choices by default.
The iRedMail installation went smoothly and I just had to find tricks to avoid use of Nginx and use Apache2 instead for the Sogo webmail page display and the iRedAdmin page aswell.

I am even using the ActiveSync functionality from Sogo.

Regards

9

Re: installing iredmail on a debian 10 server

Thank you for your answer. I will setup a new debian 10
install and try again when I am back at home, I am
in ras al kaimah at the moment for a month long job.

Roelof

10

Re: installing iredmail on a debian 10 server

Roelof,

I used Apache2 as a web server for personnal conviniences as I am hosting several web sites, but the Nginx web server was doing the trick too.

The installation of the Apache2 Web server must be done after the iRedMail installation.

And I used the downloadable package.

Laurent

11

Re: installing iredmail on a debian 10 server

I promised to install a fresh new system when I got home.
So I did install a plain no graphical bullshit debian 10.6
64 bit on a harddisc and when that was up and running I
installed ired 1.3.2 without any hickups.
I did not change the apt/sources file from the default, left
everything else as it was installed and setup by the installer.

So something is wrong with my server, maybe if I have time
I will try to figure out what it is.

Roelof

12 (edited by echowarrior108 2020-12-01 21:39:07)

Re: installing iredmail on a debian 10 server

Hi I I am new on here, I get this error:

 
~/iRedMail-1.3.2# sudo bash iRedMail.sh
********* ERROR *********
Release version of the operating system on this server is unsupported by
iRedMail, please access below link to get the latest iRedMail and a list
of supported Linux/BSD distributions and release versions.

http://www.iredmail.org/download.html

*************************

running debian 10


also are you based in China?

13

Re: installing iredmail on a debian 10 server

echowarrior108 wrote:

Hi I I am new on here, I get this error:

Please always create a new forum topic for your own issue.

- Please show us full content of /etc/os-release file.
- also, try to switch to root user first, then run "bash iRedMail.sh", not "sudo bash iRedMail.sh".