四、配置mta-postfix--EXTMAIL

1、安装postfix

安装postfix

 

shell

# yum install postfix
# rpm -e sendmail

2、配置postfix

 

shell

# postconf -n > /etc/postfix/main2.cf
# mv /etc/postfix/main.cf /etc/postfix/main.cf.old
# mv /etc/postfix/main2.cf /etc/postfix/main.cf

编辑main.cf:

 

shell

# vi /etc/postfix/main.cf

增加如下内容:

# hostnamemynetworks = 127.0.0.1myhostname = mail.extmail.org mydestination = $mynetworks $myhostname# banner mail_name = Postfix - by extmail.orgsmtpd_banner = $myhostname ESMTP $mail_name # response immediatelysmtpd_error_sleep_time = 0s # Message and return code controlmessage_size_limit = 5242880 mailbox_size_limit = 5242880show_user_unknown_table_name = no # Queue lifetime controlbounce_queue_lifetime = 1dmaximal_queue_lifetime = 1d

设置postfix开机自启:

 

shell

# chkconfig postfix on


       本文转自glying 51CTO博客,原文链接:http://blog.51cto.com/liying/968573,如需转载请自行联系原作者






上一篇:利用dsamain.exe挂载快照(活动目录快照配置管理系列四)


下一篇:【阿里云资讯】阿里云电子政务云平台首批通过党政部门云服务网络安全审查