【mail邮件系统】linux上安装部署sendmail邮件系统
sendmail是linux系统中一个邮箱系统,在系统中配置好sendmail就可以直接使用它来发送邮箱。 sendmail的配置文件 /etc/mail/sendmail.cf :Sendmail的主配置文件; /etc/mail/access :中继访问控制; /etc/mail/domaintable ;域名映射; /etc/mail/local-host-names ;本地主机别名; /etc/mail/mailertable :为特定的域指定特殊的路由规则; /etc/mail/virtusertable :虚拟域配置。 中继的配置: 是指一台服务器接受并传递源地址和目的地址都不是本服务器的邮件。 在两个文件中进行设置: /etc/mail/relay-domains /etc/mail/access。 一、安装软件 [root@VM_0_10_centos ~]# yum -y install sendmail sendmail-cf 启动saslauthd服务进行SMTP验证(默认是安装的,如果没有,就手动安装) [root@VM_0_10_centos ~]# systemctl restart saslauthd 二、邮件服务配置 1)需关闭防火墙 [root@VM_0_10_centos ~]# systemctl stopfirewalld [root@VM