Postfixの動作確認 telnet localhost 25(enter) Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 host2.example.co.jp ESMTP Postfix hello example.co.jp(enter) ; メールサーバーのドメインを指定する。 250 mail.example.co.jp mail from: root@example.co.p(enter) ; メールの発信者を指定する。 250 2.1.0 ok rcpt to: user@example.co.jp(enter) ; メールの受信者を指定する。 250 2.1.5 ok data(enter) ; データの送信 354 End data with (CR)(LF).(CR)(LF) Subject: test mail(enter) : サブジェクトを入力する。 (enter) ; 空行を入力する。 This is test mail.(enter) .(enter) ; データ入力を終了するために行頭にピリオドを入力する。 250 2.0.0 ok : queued as nnnnnnnnn quit(enter) ; Telet を終了する。 Connection closed by foreign host.
Dovecot のテスト telnet localhost 110(enter) Trying 120.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. +OK Dovecot ready. USER root(enter) +OK PASS password(enter) +OK Logged in. quit(enter)