nullmailer 1.0.5でセキュリティ認証(ssl、tls、starttls)を有効にする方法。 nullmailerを1.11にアップグレードしてください。

nullmailer 1.0.5でセキュリティ認証(ssl、tls、starttls)を有効にする方法。 nullmailerを1.11にアップグレードしてください。

私はLinuxベースのデバイスを使用しており、nullmailerを使用してsmtpを使用して電子メールを送信しています。

nullmailer version: 1.0.5

User-Agent: Mutt/1.5.19 (2009-01-05)

既存のメカニズムでは、smtpサーバーに認証がなく、プレーンテキストのみがあります。これで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=[[email protected]] --pass=[GMAIL_PASSWORD]
2. smtp.gmail.com smtp --auth-login --user=[[email protected]] --pass=[GMAIL_PASSWORD]
3. smtp.gmail.com smtp --port=25 --user=[[email protected]] --pass=[GMAIL_PASSWORD]
4. smtp.gmail.com smtp --port=587 --starttls --user=[[email protected]] --pass=[GMAIL_PASSWORD]
5. smtp.gmail.com smtp --port=465 --auth-login --user=[[email protected]] --pass=[GMAIL_PASSWORD] --ssl

それらのどれも仕事がありません。

今回も、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のオプションがないことがわかります]

だからnullmailerのバージョンを更新しましたが、待機中のメッセージを送信するために1.0.5 to 1.11実行すると、次のエラーが発生します。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が提供するほとんどすべてのリンクを見てきましたが、まだ1つの大きな謎に閉じ込められています。

助けてくれてありがとう。私が重要なことを逃したかもしれません。

この質問について不明な人がいる場合は、質問してください。

ベストアンサー1

smtp.gmail.comでnullmailerが失敗する場合は、IPv4アドレス(74.125.206.109)を直接試してください。

私の/etc/nullmailer/remotesは次のようになります:

74.125.206.108 smtp --port=465 --auth-login --ssl [email protected] --pass=PASS --insecure

おすすめ記事