#contents();
*** 受信サーバーの設定 [#i5c10f7d]
- SSL 接続 (ポート=993)
- &color(red){ここで TLSを利用/可能ならTLS を利用を選ばない};
- 保護された認証(APOP、NTML、CRAM-MD5)を利用する ⇒ 設定しない

&ref(server_setting.JPG);

- これでも dovecot では TLS でログインされている

 Feb 17 13:59:52 spirit dovecot: imap-login: Login: user=<stored_mail>, method=plain, rip=192.168.1.148, lip=192.168.1.22, TLS
 Feb 17 13:59:53 spirit dovecot: imap-login: Login: user=<server_admin>, method=plain, rip=192.168.1.148, lip=192.168.1.22, TLS

*** 送信サーバーの設定 [#ib47495b]
- SMTP/Auth 接続 (ポート=25)
- ユーザー名を指定する
- &color(red){ここでも TLSを利用/可能ならTLS を利用を選ばない};

&ref(sender_setting.JPG);

- これで dovecot では TLS でセッションが開始され送信されている

 Feb 17 14:02:47 spirit postfix/smtpd[4999]: connect from unknown[192.168.1.12]
 Feb 17 14:02:47 spirit postfix/smtpd[4999]: setting up TLS connection from unknown[192.168.1.12]
 Feb 17 14:02:48 spirit postfix/smtpd[4999]: TLS connection established from unknown[192.168.1.12]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
 Feb 17 14:02:48 spirit postfix/smtpd[4999]: 0ADB0FD01EE: client=unknown[192.168.1.12], sasl_method=PLAIN, sasl_username=munakata

- メールヘッダー には smtp/auth を実行したユーザー名が書き込まれている

&ref(smtpauth.JPG);

*** IMAP サーバーの設定 [#f02dec62]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS