1

Topic: iRedMail-0.8.0-beta3 has been released

Dear all,

iRedMail-0.8.0-beta3 is now available for testing, you can download it here: iRedMail-0.8.0-beta3.tar.bz2.

Please do NOT install beta releases on production server, there's no upgrade tutorials available for beta releases.


Drops support for several old releases in 0.8.0-beta3
  • Debian 5 (Lenny)

  • Ubuntu 8.x, 9.x, 10.10, 11.04

  • openSUSE: 11.x

  • FreeBSD: 7.x

iRedMail-0.8.0-beta3 supports below Linux/BSD distributions and releases:

  • Red Hat Enterprise Linux 5.x, 6.x

  • CentOS 5.x, 6.x

  • Scientific Linux 5.x, 6.x

  • Debian 6.x (Squeeze)

  • Ubuntu 10.04 (LTS), 11.10, 12.04 (LTS)

  • Linux Mint 12 (based on Ubuntu, code name 'lisa')

  • openSUSE 12.1

  • Gentoo, the latest official release (or daily build) with the latest portage

  • FreeBSD 8.x, 9.x


Major changes since iRedMail-0.8.0-beta2
  • It now works on Ubuntu Linux 12.04 (code name 'precise'). Tested with Ubuntu 12.04 Beta 1. [0.8.0-beta3]

  • Works on Linux Mint 12 (based on Ubuntu, code name: lisa) [0.8.0-beta3]

  • PostgreSQL support is now available on RHEL/CentOS 6.x, Ubuntu (11.10, 12.04) and FreeBSD (8.x, 9.x).  PostgreSQL edition of iRedAdmin will be available soon. [0.8.0-beta3]

  • It now will setup cron job with shell scripts to backup OpenLDAP data and/or MySQL databases daily by default, backup directory is /var/vmail/backup by default. [0.8.0-beta3]

  • Use Dovecot-2.0 instead of 1.2.x on openSUSE-12.1. [0.8.0-beta3]

  • Enable greylist opt-in in Policyd-1.x by default. Next release of iRedAdmin-Pro will support managing greylist opt-in, please be patient. [0.8.0-beta3]

  • Add share folder support within Dovecot 2. [0.8.0-beta3]


0.8.0-beta3 also fixes two minor bugs
  • Fixed incorrect postrotate command for dovecot log files. Thanks raffayellow@gmail for the report. [0.8.0-beta3]

  • Fix file permission of two dovecot config files which are world readable: used_quota.conf, share-folder.conf. Thanks Martin Kuchar for the report. [0.8.0-beta3]


Some packages are updated to the latest version
  • Roundcube -> 0.7.2

  • iRedAPD -> 1.3.7, with PostgreSQL support. No new features.

  • MySQL -> 5.5 (FreeBSD)

  • Dovecot -> 2.0 (FreeBSD)


Addition Notes
  • There will be one more beta release available soon for new features:

    • PostgreSQL support in iRedAdmin, both open source edition and iRedAdmin-Pro

  • Policyd-2 (code name: cluebringer) support will not be available in next release of the iRedAdmin-Pro admin panel.

Also, we need your help to make iRedMail work on Arch Linux, please refer to this post:

- Call for help: Missing two required packages in Arch Linux
  http://www.iredmail.org/forum/topic2836 … linux.html

See also:

2

Re: iRedMail-0.8.0-beta3 has been released

I would really like to see integration with SElinux.
Are there plan in the future to integrate that in IredMail?

Not looking for a discussion wether SElinux is good or not.....

Thanks for all your good work.

3

Re: iRedMail-0.8.0-beta3 has been released

Hi sander,

No plan for SELinux yet, sorry.

4

Re: iRedMail-0.8.0-beta3 has been released

Opensuse 12.1

Problems with Installation
Hangs on Configure Policyd (postfix policy server, version 1.8).

5

Re: iRedMail-0.8.0-beta3 has been released

darth_wells wrote:

Opensuse 12.1

Problems with Installation
Hangs on Configure Policyd (postfix policy server, version 1.8).

Bug in iRedMail-0.8.0-beta3, fixed in beta4, will be released soon.

To fix it, please open functions/packages.sh, edit line 189, replace 'cluebringer' by 'policyd'.

    elif [ X"${DISTRO}" == X"SUSE" ]; then
        ALL_PKGS="${ALL_PKGS} policyd"

6 (edited by darth_wells 2012-04-19 21:18:10)

Re: iRedMail-0.8.0-beta3 has been released

Open Suse 12.1
Dovecot 2

Doveadm doesn't work

From command line
doveadm mailbox list -A
doveadm(root): Error: User listing returned failure
doveadm: Error: Failed to iterate through some users

/var/log/dovecot.log
Apr 19 08:01:03 auth-worker: Error: mysql: Query failed, retrying: Table 'vmail.users' doesn't exist
Apr 19 08:01:03 auth-worker: Error: sql: Iterate query failed: Table 'vmail.users' doesn't exist (using built-in default iterate_query: SELECT username, domain FROM users)

What I think may be the Possible Problems ?
1.  Maybe dovecot needs to run as vmail which has rights to the directories
2.  the dovecot-mysql.conf is not correct so doveadm can correctly intreprete

7

Re: iRedMail-0.8.0-beta3 has been released

I got different output with OpenLDAP backend, with the same command, it simply reports:

# doveadm mailbox list -s -u www@a.cn
doveadm(user@domain.ltd): Fatal: User doesn't exist

And you found a bug related to doveadm support. Here's solution to fix it:

1) For MySQL/PostgreSQL backend, please add one more column in table 'vmail.mailbox':

# For MySQL:
mysql> ALTER TABLE mailbox ADD COLUMN enabledoveadm TINYINT(1) NOT NULL DEFAULT 1;

# For PostgreSQL:
sql> ALTER TABLE mailbox ADD COLUMN enabledoveadm INT2 NOT NULL DEFAULT 1;

2) For OpenLDAP backend, all mail users should add one more value for attribute: enabledService:

enabledService=doveadm

Then it should work as expected.

== UPDATE ==
1) With OpenLDAP backend, 'doveadm mailbox list -A' doesn't work at all, because Dovecot will query LDAP server to get attribute 'uid' with filter "(objectClass=posixAccount)", but iRedMail user doesn't has this objectClass by default, and it should get attribute 'mail' instead of uid. I don't know how to configure filter and returned attributes yet, sorry.

2) About 'doveadm mailbox list -A', i asked in Dovecot mailing list about custom ldap filter here: http://marc.info/?l=dovecot&m=13348 … 01&w=2. [UPDATE: SOLVED by add two new lines in dovecot-ldap.conf:]

iterate_attrs   = mail=user
iterate_filter  = (&(objectClass=mailUser)(accountStatus=active)(enabledService=mail))

3) Please add below line in dovecot-mysql.conf (or dovecot-pgsql.conf if you're running PostgreSQL backend) to fix this issue:

iterate_query = SELECT username AS user FROM mailbox