「AuthPasswordを設定できません」ssmtp

「AuthPasswordを設定できません」ssmtp

端末経由でメールを送信するようにsmtpを設定していますが、「0」以外の状態が表示されます。私のログファイルに「Unable to set AuthPassword」というログがあります。パスワードには文字と数字が含まれています。

ssmtp.conf:

 1 #
 2 # Config file for sSMTP sendmail
 3 #
 4 # The person who gets all mail for userids < 1000
 5 # Make this empty to disable rewriting.
 6 [email protected]
 7 [email protected]
 8 AuthPassword=word12345
 9 UseTLS=YES
10 UseSTARTTLS=YES
11 
12 # The place where the mail goes. The actual machine name is required no 
13 # MX records are consulted. Commonly mailhosts are named mail.domain.com
14 mailhub=smtp-mail.outlook.com:587
15 
16 # Where will the mail seem to come from?
17 #rewriteDomain=
18 rewriteDomain=outlook.com
19 
20 # The full hostname
21 [email protected]
22 
23 
24 # Are users allowed to set their own From: address?
25 # YES - Allow the user to specify their own From: address
26 # NO - Use the system generated From: address

ベストアンサー1

マニュアルページからssmtp.conf

AuthPass SMTP認証に使用されるパスワード。

ssmtp.conf整理したけどAuthPassword予期しないようです。マニュアルページのフラグを試してください。

少なくとも私の考えでは、質問を投稿するときにパスワードも変更する必要があると思います!

おすすめ記事