1

Topic: Upgrade Notes

Where can I find upgrade notes for Iredadmin Pro using

Iredmail-mysql 1.2.1

iredadmin 1.5

Regards

----

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

2

Re: Upgrade Notes

Migrate from iRedAdmin open source edition to Pro:
http://www.iredmail.org/wiki/index.php? … ro/OSE-Pro

3

Re: Upgrade Notes

that is for iredadmin 1.4 not 1.5

4

Re: Upgrade Notes

[root@mail www]# cp -p iRedAdmin-0.1.5/settings.ini iRedAdmin-Pro-1.2.1/
cp: cannot create regular file `iRedAdmin-Pro-1.2.1/': Is a directory

5

Re: Upgrade Notes

ZhangHuangbin wrote:

Migrate from iRedAdmin open source edition to Pro:
http://www.iredmail.org/wiki/index.php? … ro/OSE-Pro

This tutorial is for iRedAdmin-0.1.4 (open source edition) and later versions.

tim wrote:

[root@mail www]# cp -p iRedAdmin-0.1.5/settings.ini iRedAdmin-Pro-1.2.1/
cp: cannot create regular file `iRedAdmin-Pro-1.2.1/': Is a directory

You should replace 'iRedAdmin-Pro-1.2.1' with 'iRedAdmin-Pro-MySQL-1.2.1'.

6

Re: Upgrade Notes

I have copy and pasted the install

and i get

You don't have permission to access /iredadmin/ on this server.

[Mon Jul 11 22:57:40 2011] [error] [client XX.XX.XX] Symbolic link not allowed or link target not accessible: /var/www/iredadmin
[Mon Jul 11 23:07:30 2011] [error] [client XX.XX.XX] Symbolic link not allowed or link target not accessible: /var/www/iredadmin
[Mon Jul 11 23:07:44 2011] [error] [client X.XX.XX] Directory index forbidden by Options directive: /var/www/html/
[Mon Jul 11 23:08:00 2011] [error] [client XX.XX.XX] Symbolic link not allowed or link target not accessible: /var/www/iredadmin

7

Re: Upgrade Notes

Rerun the install script and I get the following

[Sun Jun 12 09:09:16 2011] [error] [client xxxxx] Target WSGI script not found or unable to stat: /var/www/iredadmin
[Sun Jun 12 09:12:20 2011] [error] [client xxxxxx] Target WSGI script not found or unable to stat: /var/www/iredadmin
[Sun Jun 12 09:12:36 2011] [error] [client xxxxxx] Directory index forbidden by Options directive: /var/www/html/

8

Re: Upgrade Notes

tim wrote:

[Mon Jul 11 22:57:40 2011] [error] [client XX.XX.XX] Symbolic link not allowed or link target not accessible: /var/www/iredadmin

Which OS do you use?

9

Re: Upgrade Notes

Centos

10

Re: Upgrade Notes

Httpd on CentOS 5 allows symbolic link by default, can you show me output of below commands:

# grep -v '^#' /etc/httpd/conf.d/iredadmin.conf
# grep -v '^#' /etc/httpd/conf.d/ssl.conf

11

Re: Upgrade Notes

[root@mail ~]# grep -v '^#' /etc/httpd/conf.d/iredadmin.conf

WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess iredadmin user=iredadmin threads=15
WSGIProcessGroup iredadmin

AddType text/html .py

<Directory /var/www/iredadmin/>
    Order deny,allow
    Allow from all
</Directory>
[root@mail ~]#

[root@mail ~]# grep -v '^#' /etc/httpd/conf.d/ssl.conf

LoadModule ssl_module modules/mod_ssl.so

Listen 443


AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl    .crl

SSLPassPhraseDialog  builtin

SSLSessionCache         shmcb:/var/cache/mod_ssl/scache(512000)
SSLSessionCacheTimeout  300

SSLMutex default

SSLRandomSeed startup file:/dev/urandom  256
SSLRandomSeed connect builtin

SSLCryptoDevice builtin


<VirtualHost _default_:443>


ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn

SSLEngine on

SSLProtocol all -SSLv2

SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW

SSLCertificateFile /etc/pki/tls/certs/iRedMail_CA.pem

SSLCertificateKeyFile /etc/pki/tls/private/iRedMail.key





<Files ~ "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
    SSLOptions +StdEnvVars
</Directory>

SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0

CustomLog logs/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

Alias /mail "/var/www/roundcubemail/"
Alias /webmail "/var/www/roundcubemail/"
Alias /roundcube "/var/www/roundcubemail/"
Alias /phpmyadmin "/var/www/phpmyadmin/"
Alias /awstats/icon "/var/www/awstats/icon/"
ScriptAlias /awstats "/var/www/awstats/"
WSGIScriptAlias /iredadmin "/var/www/iredadmin/iredadmin.py/"
Alias /iredadmin/static "/var/www/iredadmin/static/"
</VirtualHost>                                 

[root@mail ~]#

12

Re: Upgrade Notes

Configure files are OK.

tim wrote:

<Directory /var/www/iredadmin/>

Is this a symbol link or a directory? Did you have correct permission on this directory?
iRedAdmin directory should be owned by user/group 'vmail:mail', file permission is 0555, permission of config file /var/www/iredadmin/settings.ini is 0400.