Sendmail

Last Updated:
Simple Mail Transfer protocol

Test

ex)


[katosa@linux01 mail_test]$ /usr/sbin/sendmail katosa -v < test1
katosa... Connecting to [127.0.0.1] via relay...
220 linux01.graphk.co.jp ESMTP Sendmail 8.12.8/8.12.8; Tue, 10 May 2005 22:46:53 +0900
>>> EHLO linux01.graphk.co.jp
250-linux01.graphk.co.jp Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI
250-DELIVERBY
250 HELP
>>> MAIL From: SIZE=14 AUTH=katosa@linux01.graphk.co.jp
250 2.1.0 ... Sender ok
>>> RCPT To:
>>> DATA
250 2.1.5 ... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 j4ADkrkI024532 Message accepted for delivery
katosa... Sent (j4ADkrkI024532 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 linux01.graphk.co.jp closing connection


sendmail.cf

command description
V Version バージョン
M mail agent メールエージェント
D define macro
R rule
S start rule set
C class macro
F file(pipe) class macro
O option
H header
P priority
T trusted user
K key database