26

Re: iRedMail-0.8.6 has been released

camel1cz wrote:

Only one minor change - please remove from the upgrade instructions in cluebringer section for pgsql the instruction to run column_character_set.mysql

My mistake, sorry about this. And it's fixed moment ago. Thanks very much. smile

----

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

27

Re: iRedMail-0.8.6 has been released

Hi @zing,

Does setting file permission of 'settings.py' to 0700 fix this issue?

28

Re: iRedMail-0.8.6 has been released

ZhangHuangbin wrote:

Hi @zing,

Does setting file permission of 'settings.py' to 0700 fix this issue?

-r-xr-xr-x  1 iredadmin iredadmin    49 окт.  14 09:20 AUTHORS
-r-xr-xr-x  1 iredadmin iredadmin  3958 окт.  14 09:20 ChangeLog
dr-xr-xr-x  6 iredadmin iredadmin  4096 дек.  20 10:45 controllers
dr-xr-xr-x  3 iredadmin iredadmin  4096 дек.  20 10:45 docs
dr-xr-xr-x 18 iredadmin iredadmin  4096 дек.  20 10:45 i18n
-r-xr-xr-x  1 iredadmin iredadmin   402 окт.  14 09:20 iredadmin.py
dr-xr-xr-x  6 iredadmin iredadmin  4096 дек.  20 10:45 libs
-r-xr-xr-x  1 iredadmin iredadmin 18092 окт.  14 09:20 LICENSE
-r-xr-xr-x  1 iredadmin iredadmin   439 окт.  14 09:20 README
-rwx------  1 iredadmin iredadmin  4559 дек.  20 10:45 settings.py
-r-xr-xr-x  1 iredadmin iredadmin  4468 окт.  14 09:20 settings.py.ldap.sample
-r-xr-xr-x  1 iredadmin iredadmin  3831 окт.  14 09:20 settings.py.mysql.sample
-r-xr-xr-x  1 iredadmin iredadmin  3814 окт.  14 09:20 settings.py.pgsql.sample
dr-xr-xr-x  4 iredadmin iredadmin  4096 дек.  20 10:45 static
dr-xr-xr-x  3 iredadmin iredadmin  4096 дек.  20 10:45 templates
dr-xr-xr-x  2 iredadmin iredadmin  4096 окт.  14 09:20 tools
[Fri Dec 20 13:15:51.565119 2013] [:error] [pid 1795] [client 192.168.0.114:61683] mod_wsgi (pid=1795): Target WSGI script '/usr/share/apache2/iredadmin/i$
[Fri Dec 20 13:15:51.565180 2013] [:error] [pid 1795] [client 192.168.0.114:61683] mod_wsgi (pid=1795): Exception occurred processing WSGI script '/usr/sh$
[Fri Dec 20 13:15:51.565233 2013] [:error] [pid 1795] [client 192.168.0.114:61683] Traceback (most recent call last):
[Fri Dec 20 13:15:51.565283 2013] [:error] [pid 1795] [client 192.168.0.114:61683]   File "/usr/share/apache2/iredadmin/iredadmin.py", line 9, in <module>
[Fri Dec 20 13:15:51.565352 2013] [:error] [pid 1795] [client 192.168.0.114:61683]     from libs import iredbase
[Fri Dec 20 13:15:51.565383 2013] [:error] [pid 1795] [client 192.168.0.114:61683]   File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 18, in <mo$
[Fri Dec 20 13:15:51.565436 2013] [:error] [pid 1795] [client 192.168.0.114:61683]     import iredutils
[Fri Dec 20 13:15:51.565466 2013] [:error] [pid 1795] [client 192.168.0.114:61683]   File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 13, in <m$
[Fri Dec 20 13:15:51.565517 2013] [:error] [pid 1795] [client 192.168.0.114:61683]     import settings
[Fri Dec 20 13:15:51.565565 2013] [:error] [pid 1795] [client 192.168.0.114:61683] ImportError: No module named settings

29

Re: iRedMail-0.8.6 has been released

same here

30

Re: iRedMail-0.8.6 has been released

I have      v1.4.0 (MySQL)  version, is any manual to upgrede to new  version iRedMail-0.8.6 (MySQL).

Thanks

31

Re: iRedMail-0.8.6 has been released

Hi @urbanekp,

Upgrade tutorials for iRedMail: http://www.iredmail.org/doc.html#upgrade
Upgrade tutorials for iRedAdmin-Pro: http://www.iredmail.org/wiki/

32

Re: iRedMail-0.8.6 has been released

Hi ToniS, Zine,

Please try below command on Ubuntu 13.10:

# a2enconf iredadmin
# /etc/init.d/apache2 restart

Don't forget to set file permission of /usr/share/apache2/iredadmin/settings.py to 0400. This file contains sensitive info, so it cannot be read by others.

33

Re: iRedMail-0.8.6 has been released

ZhangHuangbin wrote:

Hi ToniS, Zine,

Please try below command on Ubuntu 13.10:

# a2enconf iredadmin
# /etc/init.d/apache2 restart

Don't forget to set file permission of /usr/share/apache2/iredadmin/settings.py to 0400. This file contains sensitive info, so it cannot be read by others.

Thanks! It's working.

34

Re: iRedMail-0.8.6 has been released

Thanks for your feedback.
I repacked iRedMail-0.8.6 with this fix for Ubuntu 13.10, without another announcement, no new feature/improvements, just this fix.

35 (edited by alirezahbb 2013-12-24 15:11:42)

Re: iRedMail-0.8.6 has been released

After unzip and replace setting.ini with setting.py

i got internal error under domain settings

and apache says

throttleLib = throttle.Throttle()
[Tue Dec 24 10:27:05 2013] [error] [client 1] NameError: global name 'throttle' is not defined

36

Re: iRedMail-0.8.6 has been released

Hi alirezahbb,

May i know which version and backend of iRedAdmin you're running? Your server OS and version number?

37 (edited by alirezahbb 2013-12-24 17:09:26)

Re: iRedMail-0.8.6 has been released

Hi Zhang

root@mail:~# cat /etc/iredmail-release
0.8.5

and os is
Debian GNU/Linux 6.6


iRedadmin-Pro  1.8

38

Re: iRedMail-0.8.6 has been released

Hi alirezahbb,

Did you apply this fix? http://www.iredmail.org/forum/post26298.html#p26298

39

Re: iRedMail-0.8.6 has been released

alirezahbb wrote:

After unzip and replace setting.ini with setting.py

i got internal error under domain settings

and apache says

throttleLib = throttle.Throttle()
[Tue Dec 24 10:27:05 2013] [error] [client 1] NameError: global name 'throttle' is not defined

I cannot reproduce this issue.

40

Re: iRedMail-0.8.6 has been released

Hi
I'm a bit in a dark spot here. In order to upgrade iRedAdmin-Pro we got to upgrade iRedMail to 0.8.6 before.

Which simply required us to upgrade Debian to wheezy, which in turn broke the whole dovecot-config (fixed after an hour of debugging I believe), removes suhosin, upgrades mysql-server and so on and so on...

the improvements of 0.8.6 come only by manual config I guess and currently there is no path to Cluebringer so it seems to upgrade for iRedAdmin-Pro is possible in the end...

please advise how this should work (if at all).

thank you,
hk

41

Re: iRedMail-0.8.6 has been released

Hi hk@,

Upgrading iRedMail doesn't require to upgrade your OS. Usually, upgrading iRedMail is just updating some config files. Please check our upgrade tutorials here:
http://www.iredmail.org/doc.html#upgrade

42

Re: iRedMail-0.8.6 has been released

Dear Zhang,
I'm pretty sure I read that wheezy is now the only supported Debian where it was written that support for OpenSUSE and Gentoo are dropped, though I seem unable to locate this page again at the moment.

Anyway, I'd much appreciate a guide from policyd to cluebringer.

Besides the dovecot upgrading which was a hard one at first, we now did the iRedAdmin-Pro-upgrade too and now these things happen:

/bin/bash /var/vmail/backup/backup_mysql.sh complains about two issues:
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
bzip2: Output file /var/vmail/backup/mysql/2013/12/31/mysql-2013.12.31.03.30.01.sql.bz2 already exists.
bzip2: Output file /var/vmail/backup/mysql/2013/12/31/vmail-2013.12.31.03.30.01.sql.bz2 already exists.

and the log shows:
* File size:
----
35M    /var/vmail/backup/mysql/2013/12/31/amavisd-2013.12.31.03.30.01.sql.bz2
8.0K    /var/vmail/backup/mysql/2013/12/31/iredadmin-2013.12.31.03.30.01.sql.bz2
520K    /var/vmail/backup/mysql/2013/12/31/mysql-2013.12.31.03.30.01.sql
104K    /var/vmail/backup/mysql/2013/12/31/mysql-2013.12.31.03.30.01.sql.bz2
20K    /var/vmail/backup/mysql/2013/12/31/postfixpolicyd-2013.12.31.03.30.01.sql.bz2
20K    /var/vmail/backup/mysql/2013/12/31/roundcubemail-2013.12.31.03.30.01.sql.bz2
60K    /var/vmail/backup/mysql/2013/12/31/vmail-2013.12.31.03.30.01.sql
12K    /var/vmail/backup/mysql/2013/12/31/vmail-2013.12.31.03.30.01.sql.bz2

indeed in the filesystem there are two files:
-rw-r--r-- 1 root root   530180 Dec 31 03:30 mysql-2013.12.31.03.30.01.sql
-rw-r--r-- 1 root root   102520 Dec 31 03:30 mysql-2013.12.31.03.30.01.sql.bz2
-rw-r--r-- 1 root root    59239 Dec 31 03:30 vmail-2013.12.31.03.30.01.sql
-rw-r--r-- 1 root root     9250 Dec 31 03:30 vmail-2013.12.31.03.30.01.sql.bz2

which I guess is kind of a bug.

I fixed the events issue in /var/vmail/backup/backup_mysql.sh like this:

        # Dump
        ${CMD_MYSQLDUMP} \
            -u"${MYSQL_USER}" \
            -p"${MYSQL_PASSWD}" \
            --events \
            --default-character-set=${DB_CHARACTER_SET} \
            ${db} > ${output_sql}
        # hk@ 20131231 "--events" added above

for the issue with compressed and uncompressed files for mysql and vmail I have no clue what's going wrong.

regards,
hk

43

Re: iRedMail-0.8.6 has been released

hk@ wrote:

I'm pretty sure I read that wheezy is now the only supported Debian

You're right. But we also provide technical support for existing iRedMail servers running on old distribution releases, just cannot install the LATEST iRedMail on old distribution releases. Hope it's clear.

hk@ wrote:

for the issue with compressed and uncompressed files for mysql and vmail I have no clue what's going wrong.

Will check this issue later. thanks for your feedback.

44

Re: iRedMail-0.8.6 has been released

Let us have ever integration with dbmail?
The project has stalled since 2012. It seemed like a great solution ...

45

Re: iRedMail-0.8.6 has been released

Hi Zhang,

today I found out, changing password via roundcube stopped to work after manual upgrade to latest roundcube.
After some fiddling I found out you need to apply the pgsql patch included in the iRedMail installation.

Please make a note in the update howto - it could someone save same time.

Thanks for your great work!

46

Re: iRedMail-0.8.6 has been released

tetedekloo wrote:

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.
.........
*************************************************************************
* iRedMail-0.8.6 installation and configuration complete.
*************************************************************************

I have the same problem... ;/ (Debian 7.4)

Is there any solution?


My apache packages:
ii  apache2                         2.2.22-13+deb7u1              amd64        Apache HTTP Server metapackage
ii  apache2-mpm-prefork             2.2.22-13+deb7u1              amd64        Apache HTTP Server - traditional non-threaded model
ii  apache2-utils                   2.2.22-13+deb7u1              amd64        utility programs for webservers
ii  apache2.2-bin                   2.2.22-13+deb7u1              amd64        Apache HTTP Server common binary files
ii  apache2.2-common                2.2.22-13+deb7u1              amd64        Apache HTTP Server common files
ii  libapache2-mod-php5             5.4.4-14+deb7u8               amd64        server-side, HTML-embedded scripting language (Apache 2 module)
ii  libapache2-mod-xsendfile        0.12-1                        amd64        Serve large static files efficiently from web applications
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

47

Re: iRedMail-0.8.6 has been released

Hi x-tro,

I cannot reproduce this issue. Did you see any error message during iRedMail installation?

48

Re: iRedMail-0.8.6 has been released

is there and update/upgrade for iRedAdmin-Pro ?

After the 0.8.6 -> 0.8.7 upgrade, do we need to reinstall or upgrade  iRedAdmin-Pro ?

49

Re: iRedMail-0.8.6 has been released

extremeshok wrote:

is there and update/upgrade for iRedAdmin-Pro ?

Coming soon.