1

Topic: iRedMail-0.8.6 has been released

Dear all,

iRedMail-0.8.6 has been released. This is a bug fix release.

iRedMail-0.8.6 works on several new Linux/BSD distribution releases
  • Ubuntu 13.10 (saucy). NOTE: phpLDAPadmin is not available for OpenLDAP backend because it cannot be installed at all.

  • OpenBSD 5.4, plus Awstats support.

iRedMail-0.8.6 drops support for below Linux/BSD distribution releases
  • Debian 6 (squeeze). Please use Debian 7 (wheezy) instead.

  • OpenBSD 5.3. Please use OpenBSD 5.4 (released on 2013-11-01) instead.

iRedMail-0.8.6 drops support for below Linux distributions (we describe why we drop them at the bottom)
  • Gentoo Linux.

  • openSUSE Linux

Improvements
  • Better support for installing iRedMail with remote MySQL server. Reference: http://www.iredmail.org/wiki/index.php? … sql.server

  • Enable 'innodb_file_per_table' (per-table tablespaces) in MySQL by default, this parameter avoids large ibdata files (.idb). Reference: http://dev.mysql.com/doc/refman/5.5/en/ … paces.html

  • Enable Opportunistic TLS support in Postfix when sending mail to remote SMTP server (smtp_tls_security_level=may). Thanks kotso <admin _at_ co.ge> and vlastikcz for the report.

  • Switch from Policyd-1.8 to Cluebringer on all Linux/BSD distributions. NOTE: The latest iRedAdmin-Pro supports Cluebringer management, includes white/black/greylisting, per-domain and per-user throttling.

  • Add parameter ‘inet6 => 0' in Amavisd ldap settings to avoid ldap connection error. NOTE: it’s not necessary to add this on running iRedMail server.

Fixed issues
  • Not detect backupmx status in SQL/LDAP query for domain transport.

  • Not setup cron job to cleanup expired entries in Cluebringer database.

Updated packages
  • iRedAPD -> 1.4.2. Fixed a bug in plugin sql_user_restrictions.py.

  • iRedAdmin -> 0.3. Use python source file as config file.

  • Roundcube webmail -> 0.9.5

  • phpMyAdmin -> 4.0.10

Why drop support for Gentoo and openSUSE
  • Just few users chose them, so we decided to drop it to reduce our workload and bring you better support for other supported Linux/BSD distributions.

  • openSUSE encourages users to manage system with YaST, that’s fine, and YaST is great. The problem is openSUSE splits software config files into multiple files, and adds many addition files/parameters to make it work with YaST, for example, /etc/sysconfig/*, /etc/apache2/. It’s hard to, and i’m tired to manage config files with command line on openSUSE. It requires too many small hacks to make softwares (required by iRedMail) work like on other Linux distributions, especially Postfix. I believe /etc/init.d/postfix and /usr/sbin/config.postfix are over-designed, they SUCK. Please don’t do too much for your users.

Top 10 Linux/BSD distributions used by iRedMail users with iRedMail-0.8.5, since July 15, 2013

Amount Distribution and release number
  7950 CentOS 6
  7712 Ubuntu 12.04 (precise)
  5226 Debian 7 (wheezy)
  1796 Ubuntu 13.04 (raring)
  1644 Debian 6 (squeeze)
   760 FreeBSD 9
   449 Ubuntu 13.10 (saucy)
   391 Red Hat Enterprise Linux 6
   281 openSUSE 12.3 (dartmouth)
   145 OpenBSD 5.3

iRedMail-0.8.5 hits total 41846 downloads, 27888 installations, about 271 downloads and 181 installations per day.

----

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.8.6 has been released

Hi ZhangHuangbin,

FreeBSD instalation don't have cluebringer packet.

[]'s
Gondim

3

Re: iRedMail-0.8.6 has been released

install on fresh ubuntu 13.10 amd64, iredadmin get 500 Internal Server Error

[Mon Dec 16 15:31:46.030266 2013] [:error] [pid 1815] [client 121.228.64.104:54964] mod_wsgi (pid=1815): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Mon Dec 16 15:31:46.070490 2013] [:error] [pid 1815] [client 121.228.64.104:54964] mod_wsgi (pid=1815): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.
[Mon Dec 16 15:31:46.070528 2013] [:error] [pid 1815] [client 121.228.64.104:54964] Traceback (most recent call last):
[Mon Dec 16 15:31:46.070558 2013] [:error] [pid 1815] [client 121.228.64.104:54964]   File "/usr/share/apache2/iredadmin/iredadmin.py", line 9, in <module>
[Mon Dec 16 15:31:46.070678 2013] [:error] [pid 1815] [client 121.228.64.104:54964]     from libs import iredbase
[Mon Dec 16 15:31:46.070705 2013] [:error] [pid 1815] [client 121.228.64.104:54964]   File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 18, in <module>
[Mon Dec 16 15:31:46.070844 2013] [:error] [pid 1815] [client 121.228.64.104:54964]     import iredutils
[Mon Dec 16 15:31:46.070867 2013] [:error] [pid 1815] [client 121.228.64.104:54964]   File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 13, in <module>
[Mon Dec 16 15:31:46.071087 2013] [:error] [pid 1815] [client 121.228.64.104:54964]     import settings
[Mon Dec 16 15:31:46.071122 2013] [:error] [pid 1815] [client 121.228.64.104:54964] ImportError: No module named settings
[Mon Dec 16 15:33:35.147473 2013] [:error] [pid 2859] [client 121.228.64.104:55097] mod_wsgi (pid=2859): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Mon Dec 16 15:33:35.147536 2013] [:error] [pid 2859] [client 121.228.64.104:55097] mod_wsgi (pid=2859): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.
[Mon Dec 16 15:33:35.147566 2013] [:error] [pid 2859] [client 121.228.64.104:55097] Traceback (most recent call last):
[Mon Dec 16 15:33:35.147593 2013] [:error] [pid 2859] [client 121.228.64.104:55097]   File "/usr/share/apache2/iredadmin/iredadmin.py", line 9, in <module>
[Mon Dec 16 15:33:35.147695 2013] [:error] [pid 2859] [client 121.228.64.104:55097]     from libs import iredbase
[Mon Dec 16 15:33:35.147717 2013] [:error] [pid 2859] [client 121.228.64.104:55097]   File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 18, in <module>
[Mon Dec 16 15:33:35.147852 2013] [:error] [pid 2859] [client 121.228.64.104:55097]     import iredutils
[Mon Dec 16 15:33:35.147875 2013] [:error] [pid 2859] [client 121.228.64.104:55097]   File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 13, in <module>
[Mon Dec 16 15:33:35.148092 2013] [:error] [pid 2859] [client 121.228.64.104:55097]     import settings
[Mon Dec 16 15:33:35.148125 2013] [:error] [pid 2859] [client 121.228.64.104:55097] ImportError: No module named settings
[Mon Dec 16 15:33:37.598552 2013] [:error] [pid 1811] [client 121.228.64.104:55088] mod_wsgi (pid=1811): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Mon Dec 16 15:33:37.598598 2013] [:error] [pid 1811] [client 121.228.64.104:55088] mod_wsgi (pid=1811): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.
[Mon Dec 16 15:33:37.598627 2013] [:error] [pid 1811] [client 121.228.64.104:55088] Traceback (most recent call last):
[Mon Dec 16 15:33:37.598654 2013] [:error] [pid 1811] [client 121.228.64.104:55088]   File "/usr/share/apache2/iredadmin/iredadmin.py", line 9, in <module>
[Mon Dec 16 15:33:37.598754 2013] [:error] [pid 1811] [client 121.228.64.104:55088]     from libs import iredbase
[Mon Dec 16 15:33:37.598777 2013] [:error] [pid 1811] [client 121.228.64.104:55088]   File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 18, in <module>
[Mon Dec 16 15:33:37.598914 2013] [:error] [pid 1811] [client 121.228.64.104:55088]     import iredutils
[Mon Dec 16 15:33:37.598936 2013] [:error] [pid 1811] [client 121.228.64.104:55088]   File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 13, in <module>
[Mon Dec 16 15:33:37.599155 2013] [:error] [pid 1811] [client 121.228.64.104:55088]     import settings
[Mon Dec 16 15:33:37.599188 2013] [:error] [pid 1811] [client 121.228.64.104:55088] ImportError: No module named settings
[Mon Dec 16 15:33:49.115247 2013] [:error] [pid 2857] [client 121.228.64.104:55095] mod_wsgi (pid=2857): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Mon Dec 16 15:33:49.115296 2013] [:error] [pid 2857] [client 121.228.64.104:55095] mod_wsgi (pid=2857): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.
[Mon Dec 16 15:33:49.115326 2013] [:error] [pid 2857] [client 121.228.64.104:55095] Traceback (most recent call last):
[Mon Dec 16 15:33:49.115352 2013] [:error] [pid 2857] [client 121.228.64.104:55095]   File "/usr/share/apache2/iredadmin/iredadmin.py", line 9, in <module>
[Mon Dec 16 15:33:49.115453 2013] [:error] [pid 2857] [client 121.228.64.104:55095]     from libs import iredbase
[Mon Dec 16 15:33:49.115476 2013] [:error] [pid 2857] [client 121.228.64.104:55095]   File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 18, in <module>
[Mon Dec 16 15:33:49.115613 2013] [:error] [pid 2857] [client 121.228.64.104:55095]     import iredutils
[Mon Dec 16 15:33:49.115635 2013] [:error] [pid 2857] [client 121.228.64.104:55095]   File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 13, in <module>
[Mon Dec 16 15:33:49.115858 2013] [:error] [pid 2857] [client 121.228.64.104:55095]     import settings
[Mon Dec 16 15:33:49.115908 2013] [:error] [pid 2857] [client 121.228.64.104:55095] ImportError: No module named settings

4

Re: iRedMail-0.8.6 has been released

there is no /etc/amavisd/amavisd.conf on ubuntu 13.10 fresh install, how can I disable  spam/virus scanning but keep DKIM signing/verification ?

5

Re: iRedMail-0.8.6 has been released

Hi Zhang,

Missed the instructions on how to change the policyd to policyd2 (cluebringer).

Best regards,

6

Re: iRedMail-0.8.6 has been released

gondim wrote:

Hi Zhang,

Missed the instructions on how to change the policyd to policyd2 (cluebringer).

Best regards,

Yes apparently the instructions how to migrate policyd to cluebringer are missing.
Can we have them? I tried to figure it out but broke the testserver lol smile

thanks

7

Re: iRedMail-0.8.6 has been released

gondim wrote:

FreeBSD instalation don't have cluebringer packet.

Port mail/policyd2 is cluebringer.

8

Re: iRedMail-0.8.6 has been released

weicaitv wrote:

install on fresh ubuntu 13.10 amd64, iredadmin get 500 Internal Server Error

Do you have file /usr/share/apache2/iredadmin/settings.py?

9

Re: iRedMail-0.8.6 has been released

riverco wrote:

Yes apparently the instructions how to migrate policyd to cluebringer are missing.
Can we have them? I tried to figure it out but broke the testserver lol

Let's discuss Policyd upgrading issue here:
http://www.iredmail.org/forum/topic5836 … issue.html

10

Re: iRedMail-0.8.6 has been released

same problem here
debian 7

after untar and  copy setting from old version to new version

i got internal server error and apache log says

ImportError: No module named settings

11

Re: iRedMail-0.8.6 has been released

It's mentioned in iRedAdmin-Pro upgrade tutorial, please follow below steps to fix it:

1) Make sure you have old config file (settings.ini) in new version of iRedAdmin-Pro.
2) Execute script 'tools/convert_ini_to_py.sh' to convert old config file to new config file format (Python source file):

# bash tools/convert_ini_to_py.sh settings.ini

It will create a new file named 'settings.py'.
3) Set correct file owner and permission:

# chown iredadmin:iredadmin settings.py
# chmod 0400 settings.py

4) Remove old config file:

# rm settings.ini

12

Re: iRedMail-0.8.6 has been released

I just updated and now i got this error:
postfix/smtpd[7904]: NOQUEUE: reject: RCPT from dub0-omc3-s33.dub0.hotmail.com[157.55.2.42]: 451 4.3.5 Server configuration problem; from=<xxxxx@hotmail.com> to=<xxxx@xxxx.com>

13

Re: iRedMail-0.8.6 has been released

Hi @connor_mcl,

Please post related log of this smtp session, not just the line which contains error message.

14 (edited by connor_mcl 2013-12-17 10:29:06)

Re: iRedMail-0.8.6 has been released

ZhangHuangbin wrote:

Hi @connor_mcl,

Please post related log of this smtp session, not just the line which contains error message.

The error was that i tried install cluebringer and the installation stoped couse i lose connection with the remote machine. Now i havent policyd and i havent cluebringer. What can i do now? Im on debian wheezy, mysql backend

Edit - I add old repo debian squeeze, and reinstall again policyd1.82, now is working.

P.D - I think it would be better to remove entries of cluebringer to not confuse people while  there is no manual how to update

15 (edited by weicaitv 2013-12-17 13:10:10)

Re: iRedMail-0.8.6 has been released

ZhangHuangbin wrote:
weicaitv wrote:

install on fresh ubuntu 13.10 amd64, iredadmin get 500 Internal Server Error

Do you have file /usr/share/apache2/iredadmin/settings.py?

Yes, I have it. 

ll /usr/share/apache2/iredadmin/settings.py
-r-------- 1 iredadmin iredadmin 3932 Dec 16 14:44 /usr/share/apache2/iredadmin/settings.py

I change it to 0755, and it working now.  but it show html source code instead a html page on last chrome. I guess apache mime is worng or need adjust on python code.

the mime type is text/x-python on firefox.

I install a fresh AWS ubuntu 13.10 amd64 server, just install IredMail and no other packages.  So I guess IRedMail install script is still has issue.

16

Re: iRedMail-0.8.6 has been released

mod_wsgi (pid=3433): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
mod_wsgi (pid=3433): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.

weicaitv +1. Fresh Ubuntu 13.10
ZhangHuangbin help please

17 (edited by tetedekloo 2013-12-18 00:08:02)

Re: iRedMail-0.8.6 has been released

Hi Zhang,
Thx for new 8.6 release.

I try to install LDAP version on fresh 7.2 debian distro and it doesn't reach the end.

Warnings about missing conf files "default-ssl.conf", "cluebringer.conf" and "security.conf".

I cannot access to web configuration either.

Apache logs
[Tue Dec 17 15:41:14 2013] [error] [client xx.xx.xx.xx] File does not exist: /var/www/mail, referer: https://mail.xxxxx.fr/
[Tue Dec 17 15:41:18 2013] [error] [client xx.xx.xx.xx] File does not exist: /var/www/iredadmin



********************************************************************
* Start iRedMail Configurations
********************************************************************
< INFO > Create self-signed SSL certification files.
< INFO > Create required system accounts: vmail, iredapd, iredadmin.
< INFO > Configure Apache web server and PHP.
Can't open /etc/apache2/conf-available/security.conf: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
< INFO > Configure LDAP server: OpenLDAP.
< INFO > Configure Postfix (Message Transfer Agent).
< INFO > Configure Cluebringer (postfix policy server).
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
/root/iRedMail-0.8.6/functions/cluebringer.sh: line 382: /etc/apache2/conf-available/cluebringer.conf: No such file or directory
/root/iRedMail-0.8.6/functions/cluebringer.sh: line 406: /etc/apache2/conf-available/cluebringer.conf: No such file or directory
/root/iRedMail-0.8.6/functions/cluebringer.sh: line 532: /etc/apache2/conf-available/cluebringer.conf: No such file or directory
< INFO > Configure Dovecot-2 (pop3/imap/managesieve server).
< INFO > Configure ClamAV (anti-virus toolkit).
< INFO > Configure Amavisd-new (interface between MTA and content checkers).
< INFO > Configure SpamAssassin (content-based spam filter).
< INFO > Configure iRedAPD (postfix policy daemon).
< INFO > Configure iRedAdmin (official web-based admin panel).
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
/root/iRedMail-0.8.6/functions/iredadmin.sh: line 97: /etc/apache2/conf-available/iredadmin.conf: No such file or directory
< INFO > Configure Fail2ban (authentication failure monitor).
< INFO > Configure Awstats (logfile analyzer for mail and web server).
/root/iRedMail-0.8.6/functions/awstats.sh: line 36: /etc/apache2/conf-available/awstats.conf: No such file or directory
/root/iRedMail-0.8.6/functions/awstats.sh: line 64: /etc/apache2/conf-available/awstats.conf: No such file or directory
/root/iRedMail-0.8.6/functions/awstats.sh: line 70: /etc/apache2/conf-available/awstats.conf: No such file or directory
/root/iRedMail-0.8.6/functions/awstats.sh: line 207: /etc/apache2/conf-available/awstats.conf: No such file or directory
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
< INFO > Configure Roundcube webmail.
/root/iRedMail-0.8.6/functions/roundcubemail.sh: line 44: /etc/apache2/conf-available/roundcubemail.conf: No such file or directory
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
< INFO > Configure phpLDAPadmin (web-based LDAP management tool).
/root/iRedMail-0.8.6/functions/phpldapadmin.sh: line 37: /etc/apache2/conf-available/phpldapadmin.conf: No such file or directory
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.
< INFO > Configure phpMyAdmin (web-based MySQL management tool).
Can't open /etc/apache2/sites-available/default-ssl.conf: No such file or directory.

*************************************************************************
* iRedMail-0.8.6 installation and configuration complete.
*************************************************************************

18

Re: iRedMail-0.8.6 has been released

Hi @tetedekloo, please show me which apache packages you have:

# dpkg -l | grep -i apache

19

Re: iRedMail-0.8.6 has been released

root@mail:~# dpkg -l | grep -i apache
ii  apache2-mpm-prefork              2.2.22-13                     amd64        Apache HTTP Server - traditional non-threaded model
ii  apache2-utils                    2.2.22-13                     amd64        utility programs for webservers
ii  apache2.2-bin                    2.2.22-13                     amd64        Apache HTTP Server common binary files
ii  apache2.2-common                 2.2.22-13                     amd64        Apache HTTP Server common files
ii  libapache2-mod-php5              5.4.4-14+deb7u7               amd64        server-side, HTML-embedded scripting language (Apache 2 module)
ii  libapache2-mod-wsgi              3.3-4                         amd64        Python WSGI adapter module for Apache
ii  libapr1                          1.4.6-3+deb7u1                amd64        Apache Portable Runtime Library
ii  libaprutil1                      1.4.1-3                       amd64        Apache Portable Runtime Utility Library
ii  libaprutil1-dbd-sqlite3          1.4.1-3                       amd64        Apache Portable Runtime Utility Library - SQLite3 Driver
ii  libaprutil1-ldap                 1.4.1-3                       amd64        Apache Portable Runtime Utility Library - LDAP Driver

20

Re: iRedMail-0.8.6 has been released

In config install when im typing root password to mysql nothing are doing. I check config file:

export VMAIL_USER_HOME_DIR='/var/vmail'
export STORAGE_BASE_DIR='/var/vmail'
export STORAGE_MAILBOX_DIR='/var/vmail/vmail1'
export SIEVE_DIR='/var/vmail/sieve'
export BACKUP_DIR='/var/vmail/backup'
export BACKUP_SCRIPT_OPENLDAP='/var/vmail/backup/backup_openldap.sh'
export BACKUP_SCRIPT_MYSQL='/var/vmail/backup/backup_mysql.sh'
export BACKUP_SCRIPT_PGSQL='/var/vmail/backup/backup_pgsql.sh'
export BACKEND_ORIG='MYSQL'
export BACKEND='MYSQL'
export VMAIL_DB_BIND_PASSWD=''
export VMAIL_DB_ADMIN_PASSWD=''
export LDAP_BINDPW=''
export LDAP_ADMIN_PW=''

I cant exit from installation. I must put ctrl+c on keyboard. 0.8.5 install config works fine.

21

Re: iRedMail-0.8.6 has been released

Hi @tetedekloo,

Ubuntu 13.10 ships Apache 2.4, not 2.2.x, why you have Apache 2.2 installed instead?
http://packages.ubuntu.com/search?keywo … ection=all

22

Re: iRedMail-0.8.6 has been released

Hi @dong,

I'm sorry that i don't quite understand what your issue is. Empty password for MySQL root password is not allowed.

23

Re: iRedMail-0.8.6 has been released

Hi Zhang,
Wheezy with stables deb, its apache 2.2..

24 (edited by camel1cz 2013-12-19 19:51:55)

Re: iRedMail-0.8.6 has been released

Hi Zhang,

I have just upgraded my system from 0.8.5 to latest 0.8.6 - everything was fine, thank you!

Only one minor change - please remove from the upgrade instructions in cluebringer section for pgsql the instruction to run column_character_set.mysql - it doesn't work on pgsql and has no equivalent in pgsql (the database uses UTF8 already for all text data types and on top the version 9.1 iirc doesn't support per column charset).

Thanks for your excellent work!

25 (edited by zing 2013-12-20 05:37:23)

Re: iRedMail-0.8.6 has been released

Hi ZhangHuangbin,
I got internal server error on fresh 13.10 ubuntu. Help please.

-r--------  1 iredadmin iredadmin  3932 dec   19 19:09 settings.py

Post's attachments

error.log 14.94 kb, 10 downloads since 2013-12-19 

You don't have the permssions to download the attachments of this post.