centos7怎么使用postfix发送邮件


本文摘自PHP中文网,作者V,侵删。

1、配置hosts映射

53114a30dbccf873f2b35ecb419d3cd.png

2、安装Postfix与Mailx工具

1

2

3

4

5

[root@mail ~]# yum -y install postfix mailx

[root@mail ~]# systemctl start postfix

[root@mail ~]# systemctl enable postfix

[root@mail ~]# netstat -anput | grep 25

tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1820/master

3、定义Postfix配置文件

1

2

3

4

5

6

[root@mail ~]# vim /etc/postfix/main.cf

myhostname = mail.mds.com

mydomain = mds.com

myorigin = $mydomain

inet_interfaces = all

mydestination = $myhostname,$mydomain

阅读剩余部分

相关阅读 >>

关于CentOS7 /boot/分区处理

CentOS7如何搭建gitlab

CentOS7如何使用命令重启或关机

安装CentOS7后中文显示乱码

CentOS7连不上网络

tomcat日志中文乱码怎么解决?

CentOS7系统如何查看端口

CentOS7怎么关闭防火墙

如何解决CentOS7中如何输入中文

如何解决CentOS7安装rpm包时依赖检测失败

更多相关阅读请进入《CentOS7》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...