部署简单的Postfix设置。 目前使用Google的SMTP服务器作为智能主机:
relayhost = [smtp.gmail.com]:587 smtp_sasl_auth_enable=yes smtp_sasl_security_options=noanonymous smtp_use_tls=yes smtp_tls_note_starttls_offer=yes smtp_tls_security_level=encrypt smtp_sasl_password_maps=hash:/etc/postfix/saslpassword
有相应的文件/etc/postfix/saslpassword
[smtp.gmail.com]:587 <mail>:<password>
但是,明文敏感的凭据困扰我。
有没有办法使用智能主机没有authentificating?
我的意思是,不是通过开放中继发送垃圾邮件,而是为了方便不用纯文本指定密码和多一点隐私?
任何帮助非常感谢,谢谢。
是的,你有两个select:
让Google将您的服务器IP添加为可信发件人(不太可能发生)。
使用您的服务提供商的SMTP服务进行邮件转发。