- 系统环境:CentOS 5.6 32bit
- 域名:qiu.com
- yum -y install sendmail-* 主程序
- yum -y install m4-* 配置工具
- yum -y install cyrus-sasl SMTP认证
- yum -y install dovecot POP IMAP 接收
- m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
- makemap hash /etc/mail/access.db < /etc/mail/access
- services sendmail start
- services dovecot start
- services saslauthd start
- groupadd mail_user #添加一个邮件组
- useradd -s /sbin/nologin -g mail_user zhang3 # 添加一个名为张3的用户
- useradd -s /sbin/nologin -g mail_user li4 # 添加一个名为l4的用户
- echo Test_zhang3 | passwd --stdin zhang3 # 为张3设置密码为Test_zhang3
- echo Test_li4 | passwd --stdin li4 # 为张3设置密码为Test_li4
- yum -y install lftp
- lftpget http://openwebmail.org/openwebmail/download/redhat/rpm/release/openwebmail.repo
- yum -y install openwebmail