标签:inter blog https 邮件 bsp curl tco pos sys
题:在系统 system2 和system1 上配置邮件服务,要求:
您可以通过发送邮件到本地用户 dave 来测试您的配置,系统 server.group8.example.com 已经配置把此用户的邮件转到URL http://server.group8.example.com/pub/received_mail/8
分别在system1 和 system2 上执行
1、添加参数
postconf -e inet_interfaces=loopback-only postconf -e mydestindation= postconf -e local_transport=error:err postconf -e relayhost=[mail.group8.example.com] postconf -e myorigin=server.group8.example.com systemctl enable postfix systemctl restart postfix
2、测试
echo "hello" | mail -s testmail dave
curl http://server.group8.example.com/pub/received_mail/8
更多详情:https://www.cnblogs.com/xiangsikai/p/10783161.html
标签:inter blog https 邮件 bsp curl tco pos sys
原文地址:https://www.cnblogs.com/xiangsikai/p/10784045.html