26

Re: iRedMail-0.9.0-rc1 has been released

3m wrote:

1. Roundcube does not send mail ..."Timeout request".

I cannot reproduce this issue, but i got another issue:

Oct 22 16:29:58 fb10 amavis[2290]: (!!)TROUBLE in pre_loop_hook: config: no rules were found!  Do you need to run 'sa-update'?
Oct 22 16:29:58 fb10 amavis[2290]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found!  Do you need to run 'sa-update'?

This is caused by sa-update. I tried to update it manually, but failed:

# sa-update -v
Update available for channel updates.spamassassin.org: -1 -> 1633078
http: (curl) GET http://www.sa-update.pccc.com/1633078.tar.gz, success
http: (curl) GET http://sa-update.secnap.net/1633078.tar.gz, success
http: (curl) GET http://sa-update.space-pro.be/1633078.tar.gz, success
http: (curl) GET http://sa-update.dnswl.org/1633078.tar.gz, success
channel: could not find working mirror, channel failed
Update failed, exiting with code 4

Re-tried several times, finally works:

# sa-update -v
Update available for channel updates.spamassassin.org: -1 -> 1633078
http: (curl) GET http://sa-update.secnap.net/1633078.tar.gz, success
http: (curl) GET http://sa-update.secnap.net/1633078.tar.gz.sha1, success
http: (curl) GET http://sa-update.secnap.net/1633078.tar.gz.asc, success
Update was available, and was downloaded and installed successfully

Restarted Amavisd service, sending email, works. smile

3m wrote:

< INFO > Configure Awstats (logfile analyzer for mail and web server).
pkg_info: can't find package 'awstats-*' installed or in a file!

I have Awstats installed successfully:

# pkg info awstats
awstats-7.3,1
Name           : awstats
Version        : 7.3,1
Installed on   : Wed Oct 22 08:29:47 HKT 2014
Origin         : www/awstats
Architecture   : freebsd:10:x86:64
...

----

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

hi,

Installing on clean Centos 7 total failure. near end of scripts everything fails because of :
< INFO > Create required system account: vmail, iredadmin, iredapd.
/root/iRedMail-0.9.0-rc1/functions/system_accounts.sh: line 12: [: too many arguments
/root/iRedMail-0.9.0-rc1/functions/system_accounts.sh: line 13: [: too many arguments
/root/iRedMail-0.9.0-rc1/functions/system_accounts.sh: line 14: [: too many arguments
and as of then all other actions result in failures.
regards,

28

Re: iRedMail-0.9.0-rc1 has been released

hi,

update :

apparently the instal cm mo longer be run on a xenserver console (and some others) to the server and may only be run through a shh login to the server.
Also the graphical dialog has graphics issues as for some reason it will not present all its screens while when not using a ssh onsole.

Good to know ! : -- > Do not run on  xenserver remote consoles to your vm < --

regards,

29

Re: iRedMail-0.9.0-rc1 has been released

Hi,

seperate issue (or not).
did clam av got removed or replaced by something else or is there no more virusscanning ?

else clamav and clamav-update are not installed (some clamav components are) and therefor daily freshclam is missing. (many other non iredmail scripts depend on freshclam in my case and the sudden removal breaks allot of things.

regards,

30

Re: iRedMail-0.9.0-rc1 has been released

riverco wrote:

did clam av got removed or replaced by something else or is there no more virusscanning ?

The service is called 'clamd@amavisd', not 'clamd' anymore. And freshclam update is executed via cron job by default.
This is changed by EPEL package maintainers, not iRedMail.

31

Re: iRedMail-0.9.0-rc1 has been released

Hi Zhang,

Yes correct however clam-update and clamav (only clam-server)are not installed. everything only started working after i also manually installed
by doing :  # yum install clamav and yum install clam-update. epel package maintainers do say install clamav and clam-update also (iredmail only installed clam-server and not all clam packages somewhere the iredm,ail script doesnt install all clammodules?)

32 (edited by riverco 2014-11-06 11:18:18)

Re: iRedMail-0.9.0-rc1 has been released

hi,
---- awstat and cluebringer issue httpd conf ---

in awstats.conf and cluebringer.conf is mentioned :

AuthzLDAPAuthoritative   Off

please comment it out or remove this is deprecated with apache 2.4 and makes hhtpd fail to start
Nov 06 04:03:51 server.sample.net httpd[5163]: Invalid command 'AuthzLDAPAuthoritative', perhaps misspelled or defined by a module not included in the server configuration
Nov 06 04:03:51 server.sample.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Nov 06 04:03:51 server.sample.net systemd[1]: Failed to start The Apache HTTP Server.
Nov 06 04:03:51 server.sample.net systemd[1]: Unit httpd.service entered failed state.

removing the line fixes everything.
regards.

33

Re: iRedMail-0.9.0-rc1 has been released

hi,

Nginx - hhtpd issue

after running the entire install and even when i choose apache i still end up with nginx that i cannot remove or roundcube apparently breaks. Please allow us to either choose nginx or apache but do NOT install both ! (due to restrictions in some locations we cannot and are not allowed to install nginx )
i know in the menu we can choose but script still installs both which is an issue.
regards,

34

Re: iRedMail-0.9.0-rc1 has been released

riverco wrote:

Yes correct however clam-update and clamav (only clam-server)are not installed. everything only started working after i also manually installed ...

My mistake, fixed in iRedMail moment ago. smile

35

Re: iRedMail-0.9.0-rc1 has been released

riverco wrote:

AuthzLDAPAuthoritative   Off

Fixed weeks ago.

riverco wrote:

after running the entire install and even when i choose apache i still end up with nginx that i cannot remove or roundcube apparently breaks. Please allow us to either choose nginx or apache but do NOT install both ! (due to restrictions in some locations we cannot and are not allowed to install nginx )

On some distributions, installing PHP will install Apache too, so we configure both to make it simpler, and you're free to switch between them.

We plan to stick to Nginx and drop support for Apache in iRedMail-1.0. No need to provide both of them.

By the way, if we drop Apache, you will lose Awstats and Cluebringer webui (cluebringer daemon is still running, just the web ui). because they depends on Apache basic auth via .htaccess file or mod_auth_mysql/pgsql.

With .htaccess, you cannot use the accounts stored in SQL/LDAP directly, and have to update .htaccess file manually.
mod_auth_mysql is not compatible with Apache-2.4 (CentOS 7, Ubuntu 14.04/14.10, FreeBSD).

So, no reason to provide Awstats + Cluebringer web ui.

36

Re: iRedMail-0.9.0-rc1 has been released

FreeBSD 9.3 MySql
installed Iredmail 0.9.0 rc2 whith option "Apaсhe" but Apache does not start
# dmesg -a

Creating and/or trimming log files.
Starting syslogd.
Setting date via ntp.
11 Nov 17:30:18 ntpdate[451]: step time server 195.20.96.8 offset -0.583267 sec
Clearing /tmp (X related).
Updating motd:.
Starting ntpd.
Starting mysql.
Starting amavisd.
Starting clamav_clamd.
Starting clamav_freshclam.
Starting dovecot.
postfix/postfix-script: starting the Postfix mail system
Starting policyd2.
Starting iredapd ...
Performing sanity check on sshd configuration.
Starting sshd.
Configuring syscons: blanktime.
Starting cron.
Starting background file system checks in 60 seconds

37

Re: iRedMail-0.9.0-rc1 has been released

Could you please show me file 'config' under iRedMail directory? e.g. iRedMail-0.9.0-rc/config. Remove password and sensitive info in this file before pasting.

38

Re: iRedMail-0.9.0-rc1 has been released

Hi 3m,

Confirmed it's a bug in the latest development edition, fixed moment ago:
https://bitbucket.org/zhb/iredmail/comm … /apache.sh