Perl Script Laboratory

SMTP応答コード一覧表

まだ作りかけです。日本語訳は近日中に書き加える予定です。いまのところ私自身のリファレンスがわりといった感じです。

コード説明
211System status, or system help reply
214Help message
220 Service ready
221 Service closing transmission channel
250Requested mail action okay, completed
251User not local; will forward to
354Start mail input; end with .
421 Service not available, closing transmission channel
450Requested mail action not taken: mailbox unavailable
451Requested action aborted: local error in processing
452Requested action not taken: insufficient system storage
500Syntax error, command unrecognized
501Syntax error in parameters or arguments
502Command not implemented
503Bad sequence of commands
504Command parameter not implemented
550Requested action not taken: mailbox unavailable
551User not local; please try
552Requested mail action aborted: exceeded storage allocation
553Requested action not taken: mailbox name not allowed
554Transaction failed

コマンド別応答コードの一覧です。

コマンド成功失敗エラー
接続時220421-
HELO250-500, 501, 504, 421
MAIL250552, 451, 452500, 501, 421
RCPT250, 251550, 551, 552, 553, 450, 451, 452500, 501, 503, 421
DATA-451, 554500, 501, 503, 421

354
250552, 554, 451, 452-
RSET250-500, 501, 504, 421
SEND250552, 451, 452500, 501, 502, 421
SOML250552, 451, 452500, 501, 502, 421
SAML250552, 451, 452500, 501, 502, 421
VRFY250, 251550, 551, 553500, 501, 502, 504, 421
EXPN250550500, 501, 502, 504, 421
HELP211, 214-500, 501, 502, 504, 421
NOOP250-500, 421
QUIT221-500
TURN250502500, 503