1 (edited by Barcel0 2011-02-03 02:31:11)

Topic: Installing IredMail-0.7.0-beta1

I had install this IredMail-0.7.0-beta1 in Debian Lenny 5.0.5 with guide
http://code.google.com/p/iredmail/wiki/ … _on_Debian

but, I have problem in :

servmail:~/iRedMail-0.7.0-beta1/pkgs# bash get_all.sh
< INFO > ==================== Fetching Source Tarballs ====================
< INFO > * 1/6: http://iredmail.org/apt/misc/iRedAPD-1.3.3.tar.bz2
< INFO > * 2/6: http://iredmail.org/apt/misc/iRedAdmin-0.1.3.tar.bz2
< INFO > * 3/6: http://iredmail.org/apt/misc/phpMyAdmin … es.tar.bz2
< INFO > * 4/6: http://iredmail.org/apt/misc/phpldapadmin-1.2.0.5.tgz
< INFO > * 5/6: http://iredmail.org/apt/misc/postfixadmin-2.3.2.tar.gz
< INFO > * 6/6: http://iredmail.org/apt/misc/roundcubemail-0.4.2.tar.gz
< INFO > Validate Packages ...md5sum: misc/iRedAPD-1.3.3.tar.bz2: No such file or directory
md5sum: misc/iRedAdmin-0.1.3.tar.bz2: No such file or directory
md5sum: misc/phpMyAdmin-3.3.7-all-languages.tar.bz2: No such file or directory
md5sum: misc/phpldapadmin-1.2.0.5.tgz: No such file or directory
md5sum: misc/postfixadmin-2.3.2.tar.gz: No such file or directory
md5sum: misc/roundcubemail-0.4.2.tar.gz: No such file or directory
md5sum: WARNING: 6 of 6 listed files could not be read
misc/iRedAPD-1.3.3.tar.bz2: FAILED open or read
misc/iRedAdmin-0.1.3.tar.bz2: FAILED open or read
misc/phpMyAdmin-3.3.7-all-languages.tar.bz2: FAILED open or read
misc/phpldapadmin-1.2.0.5.tgz: FAILED open or read
misc/postfixadmin-2.3.2.tar.gz: FAILED open or read
misc/roundcubemail-0.4.2.tar.gz: FAILED open or read
    [ FAILED ]
< ERROR > MD5 check failed. Check your rpm packages. Script exit ...

servmail:~/iRedMail-0.7.0-beta1/pkgs#

(sorry my english not is good).

somebody help me please?
You meet some guide for install and configure iRedMail in Spanish?

2

Re: Installing IredMail-0.7.0-beta1

now I had prove with this guide
http://www.howtoforge.com/iredmail-0.7. … nsuse-11.3

but http://pastebin.com/maBsReSL

3

Re: Installing IredMail-0.7.0-beta1

Please make sure these packages were successfully downloaded under iRedMail-0.7.0-beta1/pkgs/.

4

Re: Installing IredMail-0.7.0-beta1

I have problemas to acced to https://mi_domain/iredadmin
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.5.2 Server at mail.ssp.co.cu Port 443

/var/log/apache2/error.log
[Thu Feb 03 22:35:08 2011] [notice] Apache/2.2.9 (Debian) configured -- resuming normal operations
[Thu Feb 03 22:35:11 2011] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using mail.ssp.co.cu for ServerName
[Thu Feb 03 22:35:11 2011] [notice] Apache/2.2.9 (Debian) configured -- resuming normal operations
[Thu Feb 03 22:35:11 2011] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using mail.ssp.co.cu for ServerName
[Thu Feb 03 22:35:11 2011] [notice] Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch configured -- resuming norma$
[Thu Feb 03 22:35:12 2011] [notice] child pid 10730 exit signal Segmentation fault (11)
[Thu Feb 03 22:35:12 2011] [notice] child pid 10731 exit signal Segmentation fault (11)
[Thu Feb 03 22:35:12 2011] [notice] child pid 10732 exit signal Segmentation fault (11)

to http://mi_domain/webmail and https://mi_domain/phpldapadmin I can access good.

whats is the problem?
help me please..

5

Re: Installing IredMail-0.7.0-beta1

tail -f /var/log/apache2/error.log
[Fri Feb 04 00:17:30 2011] [error] [client 200.55.186.58]     from web.contrib.template import render_jinja
[Fri Feb 04 00:17:30 2011] [error] [client 200.55.186.58] ImportError: No module named contrib.template
[Fri Feb 04 00:17:31 2011] [error] [client 200.55.186.58] mod_wsgi (pid=3101): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Fri Feb 04 00:17:31 2011] [error] [client 200.55.186.58] mod_wsgi (pid=3101): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.

6

Re: Installing IredMail-0.7.0-beta1

Barcel0 wrote:

[Fri Feb 04 00:17:30 2011] [error] [client 200.55.186.58] ImportError: No module named contrib.template

Please make sure you have python module "web.py" installed. You can install it
with "easy_install":

# easy_install web.py

7

Re: Installing IredMail-0.7.0-beta1

ZhangHuangbin wrote:
Barcel0 wrote:

[Fri Feb 04 00:17:30 2011] [error] [client 200.55.186.58] ImportError: No module named contrib.template

Please make sure you have python module "web.py" installed. You can install it
with "easy_install":

# easy_install web.py

ok, thank!!! now just this:
Error: Error in configuration file /etc/dovecot/dovecot.conf line 20: Unknown setting: mail_uid
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf

nano /etc/dovecot/dovecot.conf
.........................
# mail uid/gid.
mail_uid = 1001   **(line 20)**
mail_gid = 1001


sorry for disturb

8 (edited by Barcel0 2011-02-04 22:23:14)

Re: Installing IredMail-0.7.0-beta1

I had comented the lines

# mail uid/gid.
#mail_uid = 1001
#mail_gid = 1001

and
#/etc/init.d/dovecot start
Error: Error in configuration file /etc/dovecot/dovecot.conf line 96: Unknown setting: ssl
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf

# SSL support.
ssl = yes
verbose_ssl = no
ssl_key_file = /etc/ssl/private/iRedMail.key
ssl_cert_file = /etc/ssl/certs/iRedMail_CA.pem

I run

#ls /etc/ssl/private/
dovecot.pem  iRedMail.key  ssl-cert-snakeoil.key

#ls /etc/ssl/certs/
c27e0406  dovecot.pem  iRedMail_CA.pem    ssl-cert-snakeoil.pem

and comented lines
#ssl = yes
#verbose_ssl = no


:~# /etc/init.d/dovecot restart
Restarting IMAP/POP3 mail server: dovecot.  ***(good?)**
:~#

but when I try access to http://my_domain/mail ***(roundcube)***
with user an password correct, it says

Error conecction wiht server IMAP.

PS: :s I maked all step of http://code.google.com/p/iredmail/wiki/ … _on_Debian

9 (edited by shake 2011-02-04 23:37:12)

Re: Installing IredMail-0.7.0-beta1

whether is possible you install iredmail 0.7 again. the better check out the newest version of iredmail.

for debian 5, have make some change and use backport.

you can try directly run

bash iRedMail.sh

it would update the source and use the backport and download the package.

10

Re: Installing IredMail-0.7.0-beta1

(Solved)
thak!
alreay Ihad update pakages of backports, and all run good...

thank..