您的位置:首页 > 职场人生

RHEL4下Postfix+dovecot实现简单邮件服务

2007-07-17 11:04 447 查看
Postfix+dovecot实现简单邮件服务
1. 删除sendmail,#rpm –e sendmail
2. 检查网络环境。
网卡配置:/etc/sysconfig/network-scripts/ifcfg-eth0,设置IP,掩码,网关等。
网络配置:/etc/sysconfig/network,内容为:HOSTNAME=localhost
NETWORKING=yes
主机配置:/etc/hosts,加上:192.168.1.236 test.com localhost
3.重新启动网络服务:service network restart
4.安装postfix(在光盘中找到),#rpm –ivh *.rpm
5.配置/etc/postfix/main.cf(注意先备份)。
Inet-interfaces=all
6.重启postfix服务,#service podtfix restart
7.安装dovecot(在光盘中找到)
8.配置/etc/dovecot.conf
Protocols=imap pop3
9.重启dovecot服务,#service dovecot restart
10.测试(同sendmail)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息