个人工具

Ldap图解

来自Ubuntu中文

跳转至: 导航, 搜索
  • 选择使用openldap或mysql来存储虚拟域和虚拟用户。这里是选择openldap

Iredmail03.png

  • 设置LDAP suffix

Iredmail04.png

  • 设置LDAP管理员cn=manager,dc=example,dc=com 密码

Iredmail05.png

  • 设置mysql密码,iredmail需要使用mysql来存储webmail的设置

Iredmail06.png

  • 添加第一个domain

Iredmail07.png

  • 设置domain管理员postmaster密码

Iredmail08.png

  • 设置domain第一个用户www的密码

Iredmail09.png

  • 是否启用SPF和DKIM

Iredmail10.png

  • 选择组件

Iredmail11.png

  • 选择webmail的默认语言

Iredmail12.png

  • 设置root的alias

Iredmail13.png

  • 决定是否开始安装

Iredmail14.png

  • 安装完成后,设置ssh和iptable
*************************************************************************
* iRedMail-0.5.1 installation and configuration complete.
*************************************************************************

< Question > Would you like to use iptables rules shipped within iRedMail now?
< Question > File: /etc/default/iptables, with SSHD port: 22. [Y|n]
< INFO > Copy iptables sample rules: /etc/default/iptables.
< Question > Restart iptables now (with SSHD port 22)? [y|N]
< INFO > Skip restart iptable rules.
< Question > Would you like to start postfix now? [y|N]

********************************************************************
* Congratulations, mail server setup complete. Please refer to tip
* file for more information:
*
*   - /root/iRedMail-0.5.1/iRedMail.tips
*
* And it's sent to your mail account [email protected],[email protected].
*
* If you want to remove and re-install iRedMail, here are steps:
*   - Run script to remove main components installed by iRedMail:
*       # cd tools/
*       # bash clear_iredmail.sh
*   - Remove iRedMail installation process status:
*       # rm -f /root/iRedMail-0.5.1/.iRedMail.installation.status
*   - Install iRedMail like you did before.
*
* Please reboot your system to enable mail services or start them
* manually without reboot:
*
*   # for i in sysklogd  apache2 postfix mysql slapd postfix-policyd dovecot amavis 
clamav-daemon clamav-freshclam cron iptables; do /etc/init.d/${i} restart; done

*
********************************************************************
  • 你可以重新启动机器或者重启邮件相关的服务
# for i in sysklogd  apache2 postfix mysql slapd postfix-policyd dovecot amavis 
clamav-daemon clamav-freshclam cron iptables; do /etc/init.d/${i} restart; done