configurationPostfix只在生产服务器上发送邮件的最佳方法是什么?
我正在挖网,findconfigurationPostfix的最佳方式。 我不想安装一个完整的Postfix服务器,我唯一想要的是用PHP邮件()发送邮件。 我知道这可能是棘手的,垃圾邮件发送者喜欢错误configuration的邮件服务器。 所以,我正在寻找最好的方法来做到这一点。 我发现的最好的文档是Archlinux 。 但在几个博客上,我发现了一些更棘手的configuration myhostname = foo.me mydestination = localhost mynetworks = 127.0.0.0/8 myorigin = /etc/mailname mydestination = sd-24300.com , localhost mail_owner = postfix smtpd_recipient_restrictions =reject_unknown_sender_domain,reject_non_fqdn_sender,reject_unknown_recipient_domain,reject_non_fqdn_recipient,permit_mynetworks,reject_unauth_destination,permit smtpd_data_restrictions =reject_unauth_pipelining,permit inet_interfaces = loopback-only 所以我的问题是很容易的,最好的办法是什么? 我最好的意思是更安全的一个。 Ps:我的服务器使用LAMP运行Ubuntu 12.04