1

Topic: Next Debian Version (Debian 9)

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.3
- Linux/BSD distribution name and version: Debian 8 Jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

I just have a generic question.
Will I be able to change my sources.list file to stretch and will iRedmail still work?
If not what should be the procedure to go to Debian 9?

----

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

2

Re: Next Debian Version (Debian 9)

Debian 9 is not yet released, and we didn't test it yet, so no comment here.

When it released, we will test iRedMail and support it.

3

Re: Next Debian Version (Debian 9)

Hi Zhang,

Debian 9 is now released. Can I be using iredmail if I change my sources.list?

Thanx

4

Re: Next Debian Version (Debian 9)

+1

5

Re: Next Debian Version (Debian 9)

gondim wrote:

Debian 9 is now released. Can I be using iredmail if I change my sources.list?

What do you mean changing the sources.list?

6

Re: Next Debian Version (Debian 9)

ZhangHuangbin wrote:
gondim wrote:

Debian 9 is now released. Can I be using iredmail if I change my sources.list?

What do you mean changing the sources.list?

Change jessie to stretch

deb http://ftp.br.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.br.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.br.debian.org/debian/ stretch-updates main contrib non-free

and after:

# apt-get update
# apt-get upgrade
# apt-get dist-upgrade

7

Re: Next Debian Version (Debian 9)

Upgrading from Debian 8 to 9 should be fine.

8

Re: Next Debian Version (Debian 9)

ZhangHuangbin wrote:

Upgrading from Debian 8 to 9 should be fine.

Thanks! I will try to upgrade my iredmail server from Debian 8 to Debian 9 today.

9

Re: Next Debian Version (Debian 9)

It did not work update for Debian 9. Many errors occurred mainly with the spamassassin and in the end the postfix also did not initiate. Since my server is virtualized, I returned with the snapshot.

10

Re: Next Debian Version (Debian 9)

Is it possible for you to clone a VM and do the upgrade, show us all the original error messages?

11 (edited by gondim 2017-06-23 21:48:40)

Re: Next Debian Version (Debian 9)

ZhangHuangbin wrote:

Is it possible for you to clone a VM and do the upgrade, show us all the original error messages?

Yes, I can show. At the moment I'm not in the company but at night I can do the procedure again and then share the results here.

But I have already discovered a bug in the spamassassin package and have already opened a bugreport in Debian.

12

Re: Next Debian Version (Debian 9)

First problem in migration:

- postfix not start. Log:

postmulti[2240]: fatal: instance /etc/postfix, shlib_directory=/usr/lib/postfix conflicts with instance /etc/postfix, daemon_directory=/usr/lib/postfix

Resolved with comment this lines in main.cf:

#daemon_directory = /usr/lib/postfix
#data_directory = /var/lib/postfix

- dovecot not work. log:

Jun 24 13:05:40 lmtp(3632): Fatal: Invalid ssl_protocols setting: Unknown protocol 'SSLv2'
Jun 24 13:05:40 lmtp(3638): Fatal: Invalid ssl_protocols setting: Unknown protocol 'SSLv2'

Resolved change line in dovecot.conf to:

ssl_protocols = !SSLv3

Still testing the rest.

13

Re: Next Debian Version (Debian 9)

Thanks gondim, these tips are very much appreciated and needed.

14

Re: Next Debian Version (Debian 9)

I had nothing but a big nightmare and frustration getting upgraded from Debian 8 to Debian 9. Dovecot stopped working, Apache stopped working, my certificates stopped being trusted (Totally unrelated to iRedMail, but frustrating enough -- I had a 3 year certificate from WoSign before everyone dropped them as a trusted CA, and their old certificates were grandfathered into being trusted if they were issued before a certain date, now apparently Microsoft and Apple have dropped trust for WoSign as a CA). I also had syntax problems with my old custom Fail2Ban filter files that worked in Debian 8. Debian changed the structure of Modsecurity, they changed to php 7.0 which broke my phpList installation, because the php7.0-imap package wasn't installed by default. I'm still having problems with users who are using Microsoft Outlook, and are unable to connect, but slowly but surely, I'm managing to get everything fixed. I'm now at about 97% working again. I just need to figure out why Outlook clients that used to be able to connect just fine are now completely unable to connect. Yeah... Upgrading has been really frustrating, and this upgrade has been particularly bad.... I know that my experience isn't the same for everyone else across the board, but since we're talking about Debian upgrade issues, I figured that I'd chime in too.