ToDo: Kontrolle

Servermeldungen bzw. Protokoll-Antwortcodes

Ursprünglich von Wolfgang Jäth am 26.01.2010 in Newsgroup hamster.de.misc,
vgl. Message-ID <hjmc46.58c.1@ID-4636.user.dfncis.de> (Auszug, leicht geändert)

Gemäß RFC 977 gelten für NNTP folgende Codes (wahrscheinlich gibt es noch ein paar mehr in Erweiterungen zu diesem RFC; aber das wäre eine Heidenarbeit, die alle zu durchsuchen):
100help text follows
199debug output
200server ready - posting allowed
201server ready - no posting allowed
202slave status noted
205closing connection - goodbye!
211n f l s group selected
215list of newsgroups follows
220n <a> article retrieved - head and body follow 221 n <a> article retrieved - head follows
222n <a> article retrieved - body follows
223n <a> article retrieved - request text separately 230 list of new articles by message-id follows
231list of new newsgroups follows
235article transferred ok
240article posted ok
335send article to be transferred. End with <CR-LF>.<CR-LF>
340send article to be posted. End with <CR-LF>.<CR-LF>
400service discontinued
411no such news group
412no newsgroup has been selected
420no current article has been selected
421no next article in this group
422no previous article in this group
423no such article number in this group
430no such article found
435article not wanted - do not send it
436transfer failed - try again later
437article rejected - do not try again.
440posting not allowed
441posting failed
500command not recognized
501command syntax error
502access restriction or permission denied
503program fault - command not performed

Für SMTP (RFC 2821) gelten:
211System status, or system help reply
214Help message
220<domain> Service ready
221<domain> Service closing transmission channel
250Requested mail action okay, completed
251User not local; will forward to <forward-path>
252Cannot VRFY user, but will accept message and attempt delivery
354Start mail input; end with <CRLF>.<CRLF>
421<domain> Service not available, closing transmission channel (This may be a reply to any command if the service knows it must shut down)
450Requested mail action not taken: mailbox unavailable (e.g., mailbox busy)
451Requested action aborted: local error in processing
452Requested action not taken: insufficient system storage
500Syntax error, command unrecognized (This may include errors such as command line too long)
501Syntax error in parameters or arguments
502Command not implemented (see section 4.2.4)
503Bad sequence of commands
504Command parameter not implemented
550Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)
551User not local; please try <forward-path>
552Requested mail action aborted: exceeded storage allocation
553Requested action not taken: mailbox name not allowed (e.g., mailbox syntax incorrect)
554Transaction failed (Or, in the case of a connection-opening response, "No SMTP service here")

Und bei POP3 gibt es nur „+OK“ und „-ERR“.