サービスご利用中のお客さま

VPSならラピッドサイト。VPS(仮想専用サーバー)販売14年の実績!

06) SMTP over SSL

SMTP over SSL

SMTP over SSLはメール送信時のユーザーとメールサーバー間の通信をSSLを使って暗号化します。

RV-7シリーズではsendmailの設定を変更することでSMTP over SSLでの暗号化したメール送信が行えます。

sendmailの設定変更

[root@linux /]# vinstall sendmailcert

installing sendmailcert

Please specify your country's 2-character country code [US]: 国コードを2文字で入力します。(例:JP)

Most mail clients will complain unless your certificate uses
the hostname they configure as their outgoing SMTP server.

Specify the hostname that clients use as their outgoing SMTP server [お客さまのドメイン名]: メールサーバーのドメイン名を入力します。

[root@linux /]# echo DAEMON_OPTIONS\(\`Port=smtps, Name=TLSMTA, Port=465, M=s\'\)dnl >> /etc/mail/sendmail.mc

[root@linux /]# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
[root@linux /]# restart_sendmail

動作確認

[root@arai-linux /]# telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 arai-linux.rsjp.net ESMTP Sendmail 8.13.1/8.13.1; Wed, 6 Jun 2007 10:56:49 +0900
ehlo ドメイン名
250-arai-linux.rsjp.net Hello arai-linux.rsjp.net [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH PLAIN LOGIN
250-STARTTLS --> "STARTTLS"が表示されていればOK
250-DELIVERBY
250 HELP
quit

メールソフトの設定変更(Becky!)



ページの先頭へ戻る