1

Topic: Keeping iredadmin in separate server

Hello,

We would like to purchase another iredadmin pro license for our new server environment. Before doing that we have a query. Can we put iredadmin in a seperate server? Not in the sever where we will install postfix/dovecot. We will also keep roundcube in separate server. We will use LDAP as backend.

Regards,
Saif

----

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

2

Re: Keeping iredadmin in separate server

moyorakkhi wrote:

Can we put iredadmin in a seperate server? Not in the sever where we will install postfix/dovecot.

Yes you can.

You can try it with iRedAdmin open source first with below steps:

*) Allow remote MySQL/LDAP connection in iptables on iRedMail server. Of course it's better to restrict which server/client can access it. NOTE: iRedAdmin will access MySQL database "iredadmin".
*) Install iRedAdmin open source edition on a separate server which you plan to run iRedAdmin-Pro.
*) Set correct LDAP server address in iRedAdmin config file (settings.ini).

It should works fine.

3

Re: Keeping iredadmin in separate server

Great! Thanks. I shall try that.

4

Re: Keeping iredadmin in separate server

Hi Zhang,

I've installed iredadmin on a separate server. I put correct info for mysql and ldap connection in the settings.ini file. I'm able to login to iredadmin, adding email address etc. But while logging out i'm getting error. I think it's related to session. Here's the apache error log:

[Sat Jul 13 20:18:39 2013] [error] [client 10.100.0.213] Directory index forbidden by Options directive: /var/www/html/
[Sat Jul 13 20:18:39 2013] [error] [client 10.100.0.213] File does not exist: /var/www/html/favicon.ico
[Sat Jul 13 20:18:44 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:18:44 2013] [error] [client 10.100.0.213] 0.0 (2): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:18:44 2013] [error] [client 10.100.0.213] 0.0 (3): UPDATE sessions SET atime = '2013-07-13T20:18:44.905647' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:18:45 2013] [error] [client 10.100.0.213] 0.0 (4): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:18:45 2013] [error] [client 10.100.0.213] 0.0 (5): UPDATE sessions SET data = 'KGRwMQpTJ3VzZXJuYW1lJwpwMgpOc1MnbGFuZycKcDMKUydlbl9VUycKcDQKc1MnaXAnCnA1ClYx\\nMC4xMDAuMC4yMTMKcDYKc1MnZW5hYmxlQW1hdmlzZExvZ2dpbmdJbnRvU1FMJwpwNwpJMDAKc1Mn\\nbG9nZ2VkJwpwOApJMDAKc1MnZW5hYmxlQW1hdmlzZFF1YXJhbnRpbmUnCnA5CkkwMApzUydzZXNz\\naW9uX2lkJwpwMTAKUydmZDBlMzA2M2RiNjk5MDkzY2ViN2UzNDk4ZjgwNTI2ZGY1ZWRlNzFkJwpw\\nMTEKc1MnZW5hYmxlU2hvd1VzZWRRdW90YScKcDEyCkkwMApzUydzdG9yZVBhc3N3b3JkSW5QbGFp\\nbicKcDEzCkkwMApzUydlbmFibGVQb2xpY3lkJwpwMTQKSTAwCnNTJ2ZhaWxlZFRpbWVzJwpwMTUK\\nSTAKc1Mnd2VibWFzdGVyJwpwMTYKUydhZG1pbkBjcm9tYmEubmV0JwpwMTcKcy4=\\n' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:18:46 2013] [error] [client 10.100.0.213] File does not exist: /var/www/html/favicon.ico
[Sat Jul 13 20:19:06 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:19:06 2013] [error] [client 10.100.0.213] 0.0 (2): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:19:06 2013] [error] [client 10.100.0.213] 0.0 (3): UPDATE sessions SET atime = '2013-07-13T20:19:06.007146' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:19:06 2013] [error] [client 10.100.0.213] 0.0 (4): INSERT INTO log (username, domain, admin, ip, loglevel, timestamp, msg, event) VALUES ('', '', 'postmaster@test.net', '10.100.0.213', 'info', '2013-07-13 20:19:06', 'Login success', 'login')
[Sat Jul 13 20:19:06 2013] [error] [client 10.100.0.213] 0.0 (5): SELECT last_insert_id();
[Sat Jul 13 20:19:06 2013] [error] [client 10.100.0.213] 0.0 (6): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:19:06 2013] [error] [client 10.100.0.213] 0.0 (7): UPDATE sessions SET data = 'KGRwMQpTJ3VzZXJuYW1lJwpwMgpTJ3Bvc3RtYXN0ZXJAY3JvbWJhLm5ldCcKcDMKc1MnbGFuZycK\\ncDQKUydlbl9VUycKcDUKc1MnZG9tYWluR2xvYmFsQWRtaW4nCnA2CkkwMQpzUydpcCcKcDcKVjEw\\nLjEwMC4wLjIxMwpwOApzUydlbmFibGVBbWF2aXNkTG9nZ2luZ0ludG9TUUwnCnA5CkkwMApzUyds\\nb2dnZWQnCnAxMApJMDEKc1MnZW5hYmxlQW1hdmlzZFF1YXJhbnRpbmUnCnAxMQpJMDAKc1Mnc2Vz\\nc2lvbl9pZCcKcDEyClMnZmQwZTMwNjNkYjY5OTA5M2NlYjdlMzQ5OGY4MDUyNmRmNWVkZTcxZCcK\\ncDEzCnNTJ2VuYWJsZVNob3dVc2VkUXVvdGEnCnAxNApJMDAKc1Mnc3RvcmVQYXNzd29yZEluUGxh\\naW4nCnAxNQpJMDAKc1MnZW5hYmxlUG9saWN5ZCcKcDE2CkkwMApzUydmYWlsZWRUaW1lcycKcDE3\\nCkkwCnNTJ3dlYm1hc3RlcicKcDE4ClMnYWRtaW5AY3JvbWJhLm5ldCcKcDE5CnNTJ2lzTWFpbFVz\\nZXInCnAyMApJMDEKcy4=\\n' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:19:07 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:19:07 2013] [error] [client 10.100.0.213] 0.0 (2): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:19:07 2013] [error] [client 10.100.0.213] 0.0 (3): UPDATE sessions SET atime = '2013-07-13T20:19:07.014046' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:19:07 2013] [error] [client 10.100.0.213] 0.0 (4): SELECT * FROM updatelog WHERE date >= '2013-07-13'
[Sat Jul 13 20:19:08 2013] [error] [client 10.100.0.213] 0.0 (5): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:19:08 2013] [error] [client 10.100.0.213] 0.0 (6): UPDATE sessions SET data = 'KGRwMQpTJ3VzZXJuYW1lJwpwMgpTJ3Bvc3RtYXN0ZXJAY3JvbWJhLm5ldCcKcDMKc1MnbGFuZycK\\ncDQKUydlbl9VUycKcDUKc1MnZG9tYWluR2xvYmFsQWRtaW4nCnA2CkkwMQpzUydpcCcKcDcKVjEw\\nLjEwMC4wLjIxMwpwOApzUydlbmFibGVBbWF2aXNkTG9nZ2luZ0ludG9TUUwnCnA5CkkwMApzUyds\\nb2dnZWQnCnAxMApJMDEKc1MnZW5hYmxlQW1hdmlzZFF1YXJhbnRpbmUnCnAxMQpJMDAKc1Mnc2Vz\\nc2lvbl9pZCcKcDEyClMnZmQwZTMwNjNkYjY5OTA5M2NlYjdlMzQ5OGY4MDUyNmRmNWVkZTcxZCcK\\ncDEzCnNTJ2VuYWJsZVNob3dVc2VkUXVvdGEnCnAxNApJMDAKc1Mnc3RvcmVQYXNzd29yZEluUGxh\\naW4nCnAxNQpJMDAKc1MnZW5hYmxlUG9saWN5ZCcKcDE2CkkwMApzUydmYWlsZWRUaW1lcycKcDE3\\nCkkwCnNTJ3dlYm1hc3RlcicKcDE4ClMnYWRtaW5AY3JvbWJhLm5ldCcKcDE5CnNTJ2lzTWFpbFVz\\nZXInCnAyMApJMDEKcy4=\\n' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:19:13 2013] [error] [client 10.100.0.213] File does not exist: /var/www/html/favicon.ico
[Sat Jul 13 20:20:10 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:10 2013] [error] [client 10.100.0.213] 0.0 (2): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:10 2013] [error] [client 10.100.0.213] 0.0 (3): UPDATE sessions SET atime = '2013-07-13T20:20:10.601598' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:12 2013] [error] [client 10.100.0.213] 0.0 (4): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:12 2013] [error] [client 10.100.0.213] 0.0 (5): UPDATE sessions SET data = 'KGRwMQpTJ3VzZXJuYW1lJwpwMgpTJ3Bvc3RtYXN0ZXJAY3JvbWJhLm5ldCcKcDMKc1MnbGFuZycK\\ncDQKUydlbl9VUycKcDUKc1MnY3NyZl90b2tlbicKcDYKUyd6OTRFanpoOTRkYzg4UkZTdGtuZnZY\\nMzRqNUx5OG1MOScKcDcKc1MnZG9tYWluR2xvYmFsQWRtaW4nCnA4CkkwMQpzUydpcCcKcDkKVjEw\\nLjEwMC4wLjIxMwpwMTAKc1MnZW5hYmxlQW1hdmlzZExvZ2dpbmdJbnRvU1FMJwpwMTEKSTAwCnNT\\nJ2xvZ2dlZCcKcDEyCkkwMQpzUydlbmFibGVBbWF2aXNkUXVhcmFudGluZScKcDEzCkkwMApzUydz\\nZXNzaW9uX2lkJwpwMTQKUydmZDBlMzA2M2RiNjk5MDkzY2ViN2UzNDk4ZjgwNTI2ZGY1ZWRlNzFk\\nJwpwMTUKc1MnZW5hYmxlU2hvd1VzZWRRdW90YScKcDE2CkkwMApzUydzdG9yZVBhc3N3b3JkSW5Q\\nbGFpbicKcDE3CkkwMApzUydlbmFibGVQb2xpY3lkJwpwMTgKSTAwCnNTJ2ZhaWxlZFRpbWVzJwpw\\nMTkKSTAKc1Mnd2VibWFzdGVyJwpwMjAKUydhZG1pbkBjcm9tYmEubmV0JwpwMjEKc1MnaXNNYWls\\nVXNlcicKcDIyCkkwMQpzLg==\\n' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:14 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:14 2013] [error] [client 10.100.0.213] 0.0 (2): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:14 2013] [error] [client 10.100.0.213] 0.0 (3): UPDATE sessions SET atime = '2013-07-13T20:20:14.484156' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:15 2013] [error] [client 10.100.0.213] File does not exist: /var/www/html/favicon.ico
[Sat Jul 13 20:20:15 2013] [error] [client 10.100.0.213] 0.0 (4): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:15 2013] [error] [client 10.100.0.213] 0.0 (5): UPDATE sessions SET data = 'KGRwMQpTJ3VzZXJuYW1lJwpwMgpTJ3Bvc3RtYXN0ZXJAY3JvbWJhLm5ldCcKcDMKc1MnZW5hYmxl\\nU2hvd1VzZWRRdW90YScKcDQKSTAwCnNTJ2NzcmZfdG9rZW4nCnA1ClMnejk0RWp6aDk0ZGM4OFJG\\nU3RrbmZ2WDM0ajVMeThtTDknCnA2CnNTJ2xhbmcnCnA3ClMnZW5fVVMnCnA4CnNTJ2RvbWFpbkds\\nb2JhbEFkbWluJwpwOQpJMDEKc1MnaXAnCnAxMApWMTAuMTAwLjAuMjEzCnAxMQpzUydlbmFibGVB\\nbWF2aXNkTG9nZ2luZ0ludG9TUUwnCnAxMgpJMDAKc1MnbG9nZ2VkJwpwMTMKSTAxCnNTJ2VuYWJs\\nZUFtYXZpc2RRdWFyYW50aW5lJwpwMTQKSTAwCnNTJ3Nlc3Npb25faWQnCnAxNQpTJ2ZkMGUzMDYz\\nZGI2OTkwOTNjZWI3ZTM0OThmODA1MjZkZjVlZGU3MWQnCnAxNgpzUydzdG9yZVBhc3N3b3JkSW5Q\\nbGFpbicKcDE3CkkwMApzUydlbmFibGVQb2xpY3lkJwpwMTgKSTAwCnNTJ2ZhaWxlZFRpbWVzJwpw\\nMTkKSTAKc1Mnd2VibWFzdGVyJwpwMjAKUydhZG1pbkBjcm9tYmEubmV0JwpwMjEKc1MnaXNNYWls\\nVXNlcicKcDIyCkkwMQpzLg==\\n' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:16 2013] [error] [client 10.100.0.213] File does not exist: /var/www/html/favicon.ico
[Sat Jul 13 20:20:21 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:21 2013] [error] [client 10.100.0.213] 0.0 (2): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:21 2013] [error] [client 10.100.0.213] 0.0 (3): UPDATE sessions SET atime = '2013-07-13T20:20:21.896978' WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:21 2013] [error] [client 10.100.0.213] 0.0 (4): DELETE FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:23 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:24 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:25 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:27 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:28 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:29 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:30 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:31 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:32 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'
[Sat Jul 13 20:20:34 2013] [error] [client 10.100.0.213] 0.0 (1): SELECT * FROM sessions WHERE session_id='fd0e3063db699093ceb7e3498f80526df5ede71d'

5

Re: Keeping iredadmin in separate server

moyorakkhi wrote:

But while logging out i'm getting error

What error? Any related error message?