2024年3月17日发(作者:)
RHEL 5.0 postfix dovecot openwebmail 邮件服务器
一、先卸载sendmain
[root@ser ~]# yum remove sendmail
二、安装postfix ,dovecot,cyrus-sasl
[root@ser ~]# yum -y install postfix
[root@ser ~]# yum -y install dovecot
[root@ser ~]# yum -y install cyrus-sasl
四、 修改postfix的配置文件
[root@ser ~]# vim /etc/postfix/
myhostname =
mydomain =
myorigin =
inet_interfaces =all
mynetworks = 192.168.1.0/24
relay_domains = , $mydomain
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
mail.$mydomain,
www.$mydomain
,
ftp.$mydomain
重启 postfix 服务
[root@ser ~]# service postfix restart
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
[root@ser ~]# chkconfig postfix on
[root@ser ~]# chkconfig dovecot on
修改dovecot的配置文件
发布评论