26

Re: iRedMail-0.9.3 has been released.

drsbaitso wrote:

When you enable greylisting in iredapd, don't you need to add greylisting to the settings config value in settings.py or else iredapd won't use that plugin?

Oh, you caught a bug.

iRedMail-0.9.3 enables greylisting by default, but if you upgrade from old iRedMail release, it doesn't enable greylisting by default, you have to enable it with a SQL command (we take MySQL for example):

sql> USE iredapd;
sql> INSERT INTO greylisting (account, priority, sender, sender_priority, active) VALUES ('@.', 0, '@.', 0, 1);

I will update upgrade tutorial immediately.

----

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

27 (edited by iamarmanjon 2015-12-16 11:01:29)

Re: iRedMail-0.9.3 has been released.

I installed in on a fresh ubuntu 14.04, and got this error on apache2

* Starting web server apache2                                                                                                                                 *
* The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 27 of /etc/apache2/sites-enabled/default-ssl.conf:
Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.


EDIT:

Fixed it by running `a2enmod headers` and restarting apache2

28

Re: iRedMail-0.9.3 has been released.

iamarmanjon wrote:

EDIT:
Fixed it by running `a2enmod headers` and restarting apache2

Bug in iRedMail-0.9.3 with Apache, fixed and re-packed iRedMail-0.9.3 for download:
https://bitbucket.org/zhb/iredmail/downloads

Thanks for the feedback.

29

Re: iRedMail-0.9.3 has been released.

[ INFO ] Configure LDAP server: OpenLDAP.
cp: missing destination file operand after `/etc/openldap/schema/amavisd-new.schema'
Try `cp --help' for more information.
[ INFO ] Setup daily cron job to backup LDAP data with /var/vmail/backup/backup_openldap.sh
[ INFO ] Configure MySQL database server.
[ INFO ] Setup daily cron job to backup SQL databases with /var/vmail/backup/backup_mysql.sh
[ INFO ] Configure Postfix (Message Transfer Agent).
[ INFO ] Configure Dovecot (pop3/imap/managesieve server).
[ INFO ] Configure ClamAV (anti-virus toolkit).
usermod: user 'amavis' does not exist
chmod: cannot access `/var/spool/amavisd/tmp': No such file or directory
chmod: cannot access `/var/spool/amavisd/quarantine': No such file or directory
[ INFO ] Configure Amavisd-new (interface between MTA and content checkers).
chgrp: invalid group: `amavis'
chmod: cannot access `/etc/amavisd/amavisd.conf': No such file or directory
chmod: cannot access `/etc/amavisd/amavisd.conf': No such file or directory
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
sed: can't read /etc/amavisd/amavisd.conf: No such file or directory
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 140: /etc/amavisd/amavisd.conf: No such file or directory
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 148: /etc/amavisd/amavisd.conf: No such file or directory
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 258: /etc/amavisd/amavisd.conf: No such file or directory
chown: invalid user: `amavis:amavis'
chown: invalid user: `amavis:amavis'
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 38: /etc/amavisd/amavisd.conf: No such file or directory
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 349: /etc/amavisd/amavisd.conf: No such file or directory
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 388: /etc/amavisd/amavisd.conf: No such file or directory
Can't open /usr/sbin/amavisd: No such file or directory.
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 416: /etc/amavisd/amavisd.conf: No such file or directory
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 434: /etc/amavisd/amavisd.conf: No such file or directory
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 442: /etc/amavisd/amavisd.conf: No such file or directory
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 451: /etc/amavisd/amavisd.conf: No such file or directory
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 480: /etc/amavisd/amavisd.conf: No such file or directory
/root/distr/iRedMail-0.9.3/functions/amavisd.sh: line 494: /etc/amavisd/amavisd.conf: No such file or directory
Can't open /etc/amavisd/amavisd.conf: No such file or directory.
[ INFO ] Configure SpamAssassin (content-based spam filter).
[ INFO ] Configure iRedAPD (postfix policy daemon).
[ INFO ] Configure iRedAdmin (official web-based admin panel).
[ INFO ] Configure Fail2ban (authentication failure monitor).
[ INFO ] Configure Roundcube webmail.
[ INFO ] Configure Awstats (logfile analyzer for mail and web server).

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

[ INFO ] Disable SELinux in /etc/selinux/config.
< Question > Would you like to use firewall rules provided by iRedMail?
< Question > File: /etc/sysconfig/iptables, with SSHD port: 22. [Y|n]



Maybe smth is wrong in install script?

30

Re: iRedMail-0.9.3 has been released.

tenhi wrote:

[ INFO ] Configure LDAP server: OpenLDAP.
cp: missing destination file operand after `/etc/openldap/schema/amavisd-new.schema'
Try `cp --help' for more information.
...
[ INFO ] Configure ClamAV (anti-virus toolkit).
usermod: user 'amavis' does not exist
chmod: cannot access `/var/spool/amavisd/tmp': No such file or directory
chmod: cannot access `/var/spool/amavisd/quarantine': No such file or directory
[ INFO ] Configure Amavisd-new (interface between MTA and content checkers).
chgrp: invalid group: `amavis'
chmod: cannot access `/etc/amavisd/amavisd.conf': No such file or directory

It's caused by missing package 'amavisd-new'.

Maybe there's some temporary network error (or other error) while downloading packages from EPEL repo.
I'm afraid that you have to re-install OS, then install iRedMail.

31

Re: iRedMail-0.9.3 has been released.

No configuration sogo in Apache 2.4 on FreeBSD 10.2

32

Re: iRedMail-0.9.3 has been released.

Grzesiek wrote:

No configuration sogo in Apache 2.4 on FreeBSD 10.2

Sorry about this trouble. Please fix it with below steps:

*) Enable apache modules 'proxy_module' and 'proxy_http_module':

perl -pi -e 's/^#(LoadModule proxy_module.*)/${1}/' /usr/local/etc/apache24/httpd.conf
perl -pi -e 's/^#(LoadModule proxy_http_module.*)/${1}/' /usr/local/etc/apache24/httpd.conf

*) Copy our sample SOGo config file to /usr/local/etc/apache24/Includes/ and restart Apache service:

cd /tmp
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/sogo/sogo-apache.conf
perl -pi -e 's#PH_SOGO_GNUSTEP_DIR#/usr/local/GNUstep/Local/Library/SOGo#g' sogo-apache.conf
cp sogo-apache.conf /usr/local/etc/apache24/Includes/
service apache24 restart

Please do let me know whether or not it works for you.

33

Re: iRedMail-0.9.3 has been released.

Improvements

    - SOGo Groupware is now available on FreeBSD.

Works on new distribution releases

    - OpenBSD 5.8. Notes:

        OpenBSD 5.7 and earlier releases are not supported.

Please, put this information to http://www.iredmail.org/download.html

34

Re: iRedMail-0.9.3 has been released.

Peter2121 wrote:

Please, put this information to http://www.iredmail.org/download.html

Updated. Sorry about this.

35 (edited by kmihalj 2015-12-19 03:05:49)

Re: iRedMail-0.9.3 has been released.

Just soo this:

Cent OS 7 ... minimal install
and installing iredmail

* Storage base directory:               /var/vmail
* Mailboxes:                            /var/vmail/vmail1
* Daily backup of SQL/LDAP databases:   /var/vmail/backup
* Store mail accounts in:               OpenLDAP
* Web server:                           Apache
* First mail domain name:               xxxx.hr
* Mail domain admin:                    xxxxx@xxxx.hr
* Additional components:                iRedAdmin Roundcubemail SOGo Awstats Fail2ban

< Question > Continue? [y|N]y
/root/iRedMail-0.9.3/functions/packages.sh: line 60: perl: command not found
[ INFO ] Add yum repo for SOGo: /etc/yum.repos.d/sogo.repo.

36

Re: iRedMail-0.9.3 has been released.

Please install perl first.
Seems perl is not part of base system of CentOS 7? Weird.

37

Re: iRedMail-0.9.3 has been released.

i use ubuntu server 14.04.3 ?? download iRedMail-0.9.3 ??

38 (edited by Grzesiek 2015-12-20 07:36:40)

Re: iRedMail-0.9.3 has been released.

*) Enable apache modules 'proxy_module' and 'proxy_http_module':

perl -pi -e 's/^#(LoadModule proxy_module.*)/${1}/' /usr/local/etc/apache24/httpd.conf
perl -pi -e 's/^#(LoadModule proxy_http_module.*)/${1}/' /usr/local/etc/apache24/httpd.conf

*) Copy our sample SOGo config file to /usr/local/etc/apache24/Includes/ and restart Apache service:

cd /tmp
wget https://bitbucket.org/zhb/iredmail/raw/default/iRedMail/samples/sogo/sogo-apache.conf
perl -pi -e 's#PH_SOGO_GNUSTEP_DIR#/usr/local/GNUstep/Local/Library/SOGo#g' sogo-apache.conf
cp sogo-apache.conf /usr/local/etc/apache24/Includes/
service apache24 restart

iredmail 0.9.3 in  jail freebsd 10.2

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.2 netmask 0xffffffff

The configuration of Apache running.
There is another problem with the connection to the database in freebsd 10.0.
an extract from the log.
You can log on to sogo, but there is a problem with the address book

sogod[25627:100525] ERROR: could not open MySQL4 connection to database 'sogo': Can't connect to MySQL server on '127.0.0.2' (61)
Dec 16 13:30:42 sogod [25627]: [ERROR] <0x0x80ef23050[GCSChannelManager]> could not open channel <MySQL4Channel[0x0x80eeedf30] connection=0x(null)> for mysql://127.0.0.2/sogo/sogo_user_profile

Found the solution
http://www.iredmail.org/forum/topic8968 … erver.html
service sogod restart -- SOGo will create required SQL tables automatically.

39

Re: iRedMail-0.9.3 has been released.

ZhangHuangbin wrote:

Dear pgatling,

I repacked iRedAPD-1.7.0, please download iRedMail-0.9.3 and try again:
https://bitbucket.org/zhb/iredmail/downloads

thanks a lot for the great job ZHB. 
About the small installation glitch on OpenBSD 5.8:  the MD5 checksumming of the iredmail components still fails with your most recent tarball, because there is no md5sum on OpenBSD, only the command md5.
Very simple and trivial, I changed in get_all.sh line 136:
md5sum -c ${MD5_FILE}
with
md5 -c ${MD5_FILE}

(but of course should be fixed with an extra if/fi specific to OpenBSD to keep get_all.sh working elsewhere than on OpenBSD).

40

Re: iRedMail-0.9.3 has been released.

antoniob wrote:

no md5sum on OpenBSD, only the command md5.

Fixed. thanks. smile

41

Re: iRedMail-0.9.3 has been released.

I had trouble with upgrade_iredapd.sh in line 404 as I decided not to install iRedAdmin (open source edition) in the initial setup:

-i used with no filenames on the command line, reading from STDIN.

I skipped this command.

Also I couldn't "Migrate Cluebringer to iRedAPD" as there's not cluebringer-database present on my system - the version of the initial setup was 0.9.2. Are the greylisting and throttling settings now missing on my system completely or did I just skip the migration of user defined setting I didn't had?

Nevertheless: Great upgrade instructions, thanks for the work!

42

Re: iRedMail-0.9.3 has been released.

Unfortunately I have a little issue after upgrading from 0.9.2 to 0.9.3 (I have followed all the steps in the tutorial).

iRedAdmin (free) is not working properly anymore. When I open it with Firefox, Google Chrome or Internet Explorer on Windows 10 or Safari, Firefox or Google Chrome on Mac OS X 10.11 or Safari or Google Chrome on iOS 9.2 then I only see html source code of the page.

When I open iRedAdmin with lynx directly on the server console (Cent OS 7) then I see the login page.

Since I see the login page with lynx I think it's no general configuration issue with python or nginx. Any ideas? Before the upgrade iRedAdmin was working properly.

43

Re: iRedMail-0.9.3 has been released.

heavygale wrote:

I had trouble with upgrade_iredapd.sh in line 404 as I decided not to install iRedAdmin (open source edition) in the initial setup:

-i used with no filenames on the command line, reading from STDIN.

I skipped this command.

This is a bug in tools/upgrade_iredapd.sh, caused by incorrect variable name (IREDADMIN_CONF_PY should be IREDAPD_CONF_PY). It's safe to skip it if you don't have iRedAdmin.

heavygale wrote:

Also I couldn't "Migrate Cluebringer to iRedAPD" as there's not cluebringer-database present on my system - the version of the initial setup was 0.9.2. Are the greylisting and throttling settings now missing on my system completely or did I just skip the migration of user defined setting I didn't had?

If you didn't run Cluebringer, it's ok to skip the migration.

44

Re: iRedMail-0.9.3 has been released.

Chrissicom wrote:

iRedAdmin (free) is not working properly anymore. When I open it with Firefox, Google Chrome or Internet Explorer on Windows 10 or Safari, Firefox or Google Chrome on Mac OS X 10.11 or Safari or Google Chrome on iOS 9.2 then I only see html source code of the page.

This doesn't make sense to me sad
If it works for local access (http://127.0.0.1), it should work for external access.

*) Do you run Apache on Debian/Ubuntu? do you have Apache config file 'iredadmin.conf' enabled with command "a2enconf iredadmin"?
*) If you're running other Linux/BSD distributions, please make sure iRedAdmin config file for Apache is loaded by Apache. for example, on RHEL/CentOS, it's /etc/httpd/conf.d/iredadmin.conf.

45

Re: iRedMail-0.9.3 has been released.

Hello Zhang , gr8 work
I have iredmail-0.9.2 with IredAdmin Pro , Ubuntu 14.04 LTS
upgrade is working for Ubuntu 14.04 ??

46

Re: iRedMail-0.9.3 has been released.

k-hussein wrote:

I have iredmail-0.9.2 with IredAdmin Pro , Ubuntu 14.04 LTS
upgrade is working for Ubuntu 14.04 ??

Yes. Please upgrade iRedMail to iRedMail-0.9.3 first, then upgrade iRedAdmin-Pro.
Don't upgrade iRedAdmin-Pro before iRedMail.

47

Re: iRedMail-0.9.3 has been released.

hello ZhangHuangbin !! Once installed , the installation is complete iredmail 0.9.3 . I visited 192.168.1.100 (ip static address) then display 404 Not Found . but 0.9.2 then display web mail...

48

Re: iRedMail-0.9.3 has been released.

huyrevison2010 wrote:

hello ZhangHuangbin !! Once installed , the installation is complete iredmail 0.9.3 . I visited 192.168.1.100 (ip static address) then display 404 Not Found . but 0.9.2 then display web mail...

did you restart server to make all required services running?

49

Re: iRedMail-0.9.3 has been released.

First of all Thanks!

When following this : Web server: Enable HSTS (HTTP Strict Transport Security) support
I encountered the following error on Apache 2 in Ubuntu:

user@server:~$ /iRedAdmin-Pro-SQL-2.2.0/tools# service  apache2 restart
* Restarting web server apache2                                                                                        [fail]
* The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 52 of /etc/apache2/sites-enabled/web.site.conf:
Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.

If you encounter this, the headers module of Apache2 isn't installed

This is easy to resolve :
(install the headers mod for Apache2)
sudo a2enmod headers

Next you need to restart Apache2

sudo service apache2 restart

That's it. Now it will work.

50

Re: iRedMail-0.9.3 has been released.

Jochie wrote:

If you encounter this, the headers module of Apache2 isn't installed

This is easy to resolve :
(install the headers mod for Apache2)
sudo a2enmod headers

Thanks for the remind, updated iRedMail upgrade tutorial with this fix.