Ldap图解

来自Ubuntu中文
跳到导航跳到搜索
  • 选择使用openldap或mysql来存储虚拟域和虚拟用户。这里是选择openldap

  • 设置LDAP suffix

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

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

  • 添加第一个domain

  • 设置domain管理员postmaster密码

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

  • 是否启用SPF和DKIM

  • 选择组件

  • 选择webmail的默认语言

  • 设置root的alias

  • 决定是否开始安装

  • 安装完成后,设置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