如何在 nullmailer 1.0.5 中启用安全身份验证(ssl、tls、starttls)。并将 nullmailer 升级到 1.11
How to enable secure authentication (ssl,tls,starttls) in nullmailer 1.0.5. and upgrade nullmailer to 1.11
我正在使用基于 linux 的设备,我们使用 nullmailer 通过 smtp 发送电子邮件。
nullmailer version: 1.0.5
User-Agent: Mutt/1.5.19 (2009-01-05)
在现有机制下,我们的smtp服务器没有任何authentication.It只是纯文本。
现在我们需要 smtp 的安全身份验证。
通过谷歌搜索,我发现了一些解决方法,建议是更改中的值
/etc/nullmailer/remotes
。我已经按照建议进行了更改,并尝试 运行 nullmailer-send
但没有成功。
这是我在 /etc/nullmailer/remotes
中所做的更改列表:
使用论文 http://blog.janjonas.net/2011-04-22/configure-nullmailer-smtp-authentication http://metz.gehn.net/2012/11/nullmailer-with-starttls/ 参考资料
1. smtp.gmail.com smtp --user=[GMAIL_USERNAME@gmail.com] --pass=[GMAIL_PASSWORD]
2. smtp.gmail.com smtp --auth-login --user=[GMAIL_USERNAME@gmail.com] --pass=[GMAIL_PASSWORD]
3. smtp.gmail.com smtp --port=25 --user=[GMAIL_USERNAME@gmail.com] --pass=[GMAIL_PASSWORD]
4. smtp.gmail.com smtp --port=587 --starttls --user=[GMAIL_USERNAME@gmail.com] --pass=[GMAIL_PASSWORD]
5. smtp.gmail.com smtp --port=465 --auth-login --user=[GMAIL_USERNAME@gmail.com] --pass=[GMAIL_PASSWORD] --ssl
None 他们正在工作。
我再次发现 nullmailer(1.0.5) 的版本可能不支持任何安全身份验证 (ssl/tls/starttls)。我通过 --help
验证了这个概念
参见此参考资料:http://www.troubleshooters.com/linux/nullmailer/
-p, --port=INT Set the port number on the remote host to connect to
--user=VALUE Set the user name for authentication
--pass=VALUE Set the password for authentication
--auth-login Use AUTH LOGIN instead of AUTH PLAIN in SMTP
[可以看到ssl/tls/starttls没有选项]
因此,我从 1.0.5 to 1.11
更新了 nullmailer 的版本但是当我执行 nullmailer-send
以发送 /var/nullmailer/queue
中的排队消息时遇到以下错误
Could not load the config
长话短说,这是我关心的问题:
1. Can I secure the smtp channel using the existing version of nullmailer.
2. Is nullmailer 1.0.5 does not supprt any secured authentication. (ssl/tls/starttls)
3. If it does how can I set the security what should be the /etc/nullmailer/remotes value.
4. If I update the version from 1.0.5 to 1.11 what are the dependencies.
我几乎浏览了google提供的所有链接,但仍然很困惑。
非常感谢您的帮助。
我可能错过了一些重要的东西。
如果这个问题对任何人都不清楚,请提出任何问题。
Nullmailer 1.0.5 不支持 tls/ssl。将您的 nullmailer 更新到最新 (1.11)
我正在使用基于 linux 的设备,我们使用 nullmailer 通过 smtp 发送电子邮件。
nullmailer version: 1.0.5
User-Agent: Mutt/1.5.19 (2009-01-05)
在现有机制下,我们的smtp服务器没有任何authentication.It只是纯文本。 现在我们需要 smtp 的安全身份验证。
通过谷歌搜索,我发现了一些解决方法,建议是更改中的值
/etc/nullmailer/remotes
。我已经按照建议进行了更改,并尝试 运行 nullmailer-send
但没有成功。
这是我在 /etc/nullmailer/remotes
中所做的更改列表:
使用论文 http://blog.janjonas.net/2011-04-22/configure-nullmailer-smtp-authentication http://metz.gehn.net/2012/11/nullmailer-with-starttls/ 参考资料
1. smtp.gmail.com smtp --user=[GMAIL_USERNAME@gmail.com] --pass=[GMAIL_PASSWORD]
2. smtp.gmail.com smtp --auth-login --user=[GMAIL_USERNAME@gmail.com] --pass=[GMAIL_PASSWORD]
3. smtp.gmail.com smtp --port=25 --user=[GMAIL_USERNAME@gmail.com] --pass=[GMAIL_PASSWORD]
4. smtp.gmail.com smtp --port=587 --starttls --user=[GMAIL_USERNAME@gmail.com] --pass=[GMAIL_PASSWORD]
5. smtp.gmail.com smtp --port=465 --auth-login --user=[GMAIL_USERNAME@gmail.com] --pass=[GMAIL_PASSWORD] --ssl
None 他们正在工作。
我再次发现 nullmailer(1.0.5) 的版本可能不支持任何安全身份验证 (ssl/tls/starttls)。我通过 --help
参见此参考资料:http://www.troubleshooters.com/linux/nullmailer/
-p, --port=INT Set the port number on the remote host to connect to
--user=VALUE Set the user name for authentication
--pass=VALUE Set the password for authentication
--auth-login Use AUTH LOGIN instead of AUTH PLAIN in SMTP
[可以看到ssl/tls/starttls没有选项]
因此,我从 1.0.5 to 1.11
更新了 nullmailer 的版本但是当我执行 nullmailer-send
以发送 /var/nullmailer/queue
中的排队消息时遇到以下错误
Could not load the config
长话短说,这是我关心的问题:
1. Can I secure the smtp channel using the existing version of nullmailer.
2. Is nullmailer 1.0.5 does not supprt any secured authentication. (ssl/tls/starttls)
3. If it does how can I set the security what should be the /etc/nullmailer/remotes value.
4. If I update the version from 1.0.5 to 1.11 what are the dependencies.
我几乎浏览了google提供的所有链接,但仍然很困惑。
非常感谢您的帮助。 我可能错过了一些重要的东西。
如果这个问题对任何人都不清楚,请提出任何问题。
Nullmailer 1.0.5 不支持 tls/ssl。将您的 nullmailer 更新到最新 (1.11)