1

Topic: iRedMail-0.7.1 released.

Dear all,

iRedMail-0.7.1 is now available for production use. New version of iRedOS is available too, ships iRedMail-0.7.1.
v0.7.1 is a bug fix release, it also integrates Fail2ban to harden your mail server.

Below are major changes since v0.7.0:

  • Integrate Fail2ban to harden your mail server. Note: It doesn't work on FreeBSD yet.

  • Use 2048 as default SSL key length. Thanks mike.f@forum <m.fresel@>.

  • Increase Postfix timeout seconds: smtp_data_init_timeout (120s -> 240s), and smtp_data_xfer_timeout (180s -> 600s). Hope to avoid some timeout issues. Thanks write4saini@forum, mbsouth@forum.

  • Support domain alias in mail alias, catch-all account. (OpenLDAP backend special)

  • Roundcube-0.5.2

Links:

----

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

2

Re: iRedMail-0.7.1 released.

root@mail:/var/www# fail2ban-regex /var/log/mail.log /etc/fail2ban/filter.d/postfix.iredmail.conf
/usr/share/fail2ban/server/filter.py:442: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5

root@mail:/var/www# fail2ban-regex /var/log/dovecot.log /etc/fail2ban/filter.d/dovecot.iredmail.conf
/usr/share/fail2ban/server/filter.py:442: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5


Is this something important?

3

Re: iRedMail-0.7.1 released.

How can i upgrade, without overwriting the setup files?

Can you please advise?


cheers, Jochie

4

Re: iRedMail-0.7.1 released.

Upgrading iRedMail is just updating config files by following upgrade tutorials, so you can backup config files before changing them.

5 (edited by OviVan 2011-05-04 05:24:50)

Re: iRedMail-0.7.1 released.

hm I am not sure if I understand it right, on the link below there is an explanation how to update from iRedMail 0.7.0 to 0.7.1
but what I see is only this config line in case using MySQL ver.

http://www.iredmail.org/wiki/index.php? … .7.0-0.7.1

File: /etc/postfix/mysql/relay_domains.cf

query = (SELECT domain FROM domain WHERE domain='%s' AND backupmx=1 AND active=1) UNION (SELECT alias_domain FROM alias_domain WHERE alias_domain='%s' AND active=1)


But what about the iRedMail package I downloaded ?? because it contains more than explained on the update link....

6

Re: iRedMail-0.7.1 released.

Most of them are designed for new installation, so you don't need to apply them if you didn't meet same issues.

7

Re: iRedMail-0.7.1 released.

but if I will upgrade it, is it enough just overwrite the files for 0.7.0 ver or ?
is there any step-by-step upgrade from 0.7.0 -> 0.7.1 ?

8

Re: iRedMail-0.7.1 released.

OviVan wrote:

is there any step-by-step upgrade from 0.7.0 -> 0.7.1 ?

It's mentioned in release notes, here it is:
http://www.iredmail.org/wiki/index.php? … .7.0-0.7.1

9

Re: iRedMail-0.7.1 released.

so if I understand it right now so, the downloaded tar file iRedMail-0.7.1.tar is only in case of new fresh install, but in order to upgrade it from 0.7.0 it is enough to make the small changes ? which are described on the link above ?

I am not using ldap but mysql.

MySQL backend special
No changes in MySQL backend.

10

Re: iRedMail-0.7.1 released.

OviVan wrote:

so if I understand it right now so, the downloaded tar file iRedMail-0.7.1.tar is only in case of new fresh install, but in order to upgrade it from 0.7.0 it is enough to make the small changes ? which are described on the link above ?

Correct. smile

11

Re: iRedMail-0.7.1 released.

ok, than I don`t need to touch the iRedMail but just upgrade the iRedAdmin to latest ver....

12

Re: iRedMail-0.7.1 released.

the smile, was it sarcasm or ? smile:) heheheh just joking

13

Re: iRedMail-0.7.1 released.

will make this change as I need it, so on this link:

http://www.iredmail.org/wiki/index.php? … .7.0-0.7.1

I see that we need to replace the lines in the postfix:

from:

query = SELECT domain FROM domain WHERE domain='%s' AND backupmx=1 AND active=1

to:

query = (SELECT domain FROM domain WHERE domain='%s' AND backupmx=1 AND active=1) UNION (SELECT alias_domain FROM alias_domain WHERE alias_domain='%s' AND active=1)

but the question is shell I use the bracket () ?? as it`s not used in the line I see now in the postfix ...

14

Re: iRedMail-0.7.1 released.

What i miss in http://www.iredmail.org/wiki/index.php? … .7.0-0.7.1
is upgrading roundcube from 0.5.1 to 0.5.2. I might be silly, but  if i follow the link  i will only change 2 sql queries.
And install fail2ban.

can you point me into the right direction?

tnx,

Jochie

15 (edited by OviVan 2011-05-04 18:01:23)

Re: iRedMail-0.7.1 released.

maybe I can point you to the right direction as I already asked for it:
Just keep in mind that you have to replace the file names with new version...
as the document is written for the older ver...

http://iredmail.org/wiki/index.php?titl … e_to_0.3.1

http://trac.roundcube.net/wiki/Howto_Upgrade

16

Re: iRedMail-0.7.1 released.

OviVan wrote:

query = (SELECT domain FROM domain WHERE domain='%s' AND backupmx=1 AND active=1) UNION (SELECT alias_domain FROM alias_domain WHERE alias_domain='%s' AND active=1)

Don't do this change. it's reversed in upgrade tutorial.

Also, please create a new topic if your questions are about upgrading.

17

Re: iRedMail-0.7.1 released.

ok will not do any changes... thank You

18

Re: iRedMail-0.7.1 released.

Hello,

Care to update the update tutorial as in how to upgrade the new package(s)
I tried roundcubemail, but encountered some weird errors.

19

Re: iRedMail-0.7.1 released.

ZhangHuangbin wrote:
OviVan wrote:

is there any step-by-step upgrade from 0.7.0 -> 0.7.1 ?

It's mentioned in release notes, here it is:
http://www.iredmail.org/wiki/index.php? … .7.0-0.7.1

work in progress as some items were missing to reflect all needed changes