1

Topic: Installation and Explanation

Hi everyone i would like to ask anyone to explain this part of installation.

Thanks!!

# Edit settings.ini and set several variables.
NOTE: For more inforamtion, please read settings.ini, it's self-documented.
NOTE: You should ensure both bind dn and bind_pw are correct with below command:

$ ldapsearch -x -D 'YOUR_BIND_DN' -W

WARNING: Bind password is plain text here, not encryped/hashed one.

[general]
admin = user@domain.ltd
debug = False
lang = en_US
backend = ldap
storage_base_directory = /var/vmail/vmail01

[iredadmin]
dbn = mysql
host = localhost
port = 3306
db = iredadmin
user = iredadmin
passwd = secret_passwd

[ldap]
uri = ldap://127.0.0.1:389
suffix = dc=iredmail,dc=org
basedn = o=domains,dc=iredmail,dc=org
domainadmin_dn = o=domainAdmins,dc=iredmail,dc=org
bind_dn = cn=vmailadmin,dc=iredmail,dc=org
bind_pw = passwd

# Make settings.ini not world-writeable and restart apache web server.

# chmod -w settings.ini
# /etc/init.d/httpd restart

----

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

2

Re: Installation and Explanation

Confused? Which part?

3

Re: Installation and Explanation

ZhangHuangbin wrote:

Confused? Which part?

in this part ldapsearch and editing some  variables in setting.ini
what should i input in this section 'YOUR_BIND-DN'?
Thanks

$ ldapsearch -x -D 'YOUR_BIND_DN' -W

WARNING: Bind password is plain text here, not encryped/hashed one.

[general]
admin = user@domain.ltd
debug = False
lang = en_US
backend = ldap
storage_base_directory = /var/vmail/vmail01

[iredadmin]
dbn = mysql
host = localhost
port = 3306
db = iredadmin
user = iredadmin
passwd = secret_passwd

[ldap]
uri = ldap://127.0.0.1:389
suffix = dc=iredmail,dc=org
basedn = o=domains,dc=iredmail,dc=org
domainadmin_dn = o=domainAdmins,dc=iredmail,dc=org
bind_dn = cn=vmailadmin,dc=iredmail,dc=org
bind_pw = passwd

# Make settings.ini not world-writeable and restart apache web server.

# chmod -w settings.ini
# /etc/init.d/httpd restart

4

Re: Installation and Explanation

Oh, my mistake.

Bind dn/pw is stored in your iRedMail installation directory, e.g. /root/iRedMail-0.5.1/iRedMail.tips.
Usually, it's cn=vmailadmin,dc=xxx,dc=xxx.

I will update installation guide later, Thanks for your report. smile

5

Re: Installation and Explanation

ZhangHuangbin wrote:

Oh, my mistake.

Bind dn/pw is stored in your iRedMail installation directory, e.g. /root/iRedMail-0.5.1/iRedMail.tips.
Usually, it's cn=vmailadmin,dc=xxx,dc=xxx.

I will update installation guide later, Thanks for your report. smile


Thank you sir!! i will just wait for the installation guide!!

Can i have a request also if can create the installation guide much detailed and much specific
because currently i am new to linux.. and i am not good in text base installation due to windows gui..

Thank you very much!! much appreciated your help!!!

6

Re: Installation and Explanation

eq_dryxl wrote:

Thank you sir!! i will just wait for the installation guide!!

I just add a notice in the installation guide, guide users to find bind dn and password in iRedMail-x.y.z/iRedMail.tips file.

eq_dryxl wrote:

Can i have a request also if can create the installation guide much detailed and much specific
because currently i am new to linux.. and i am not good in text base installation due to windows gui..

I don't know how to make it more detailed sad

7

Re: Installation and Explanation

Thank you for the reply sir this will be my last question for this topic!!

8

Re: Installation and Explanation

thank you for the reply sir this will be my last question for this topic!!

just add a notice in the installation guide, guide users to find bind dn and password in iRedMail-x.y.z/iRedMail.tips file.

how can i bind password? because i already bind the dn!!