diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-06-18 19:49:13 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-06-18 19:49:13 +0400 |
commit | e4eb49311b06fc0f820fb64d800d15a295d190a6 (patch) | |
tree | e8bfa05fd2baebf9275f38b95650f794cf3fd68a /src/smtp_proto.h | |
parent | 42641b4dc3e6b8a42a3a2ff33097403ab4193d30 (diff) | |
download | rspamd-e4eb49311b06fc0f820fb64d800d15a295d190a6.tar.gz rspamd-e4eb49311b06fc0f820fb64d800d15a295d190a6.zip |
* Add limit of maximum allowed smtp session errors
Diffstat (limited to 'src/smtp_proto.h')
-rw-r--r-- | src/smtp_proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/smtp_proto.h b/src/smtp_proto.h index f451f3abf..d44cbe7b1 100644 --- a/src/smtp_proto.h +++ b/src/smtp_proto.h @@ -10,6 +10,7 @@ #define SMTP_ERROR_SEQUENCE "503 Bad sequence of commands" CRLF #define SMTP_ERROR_RECIPIENTS "554 No valid recipients" CRLF #define SMTP_ERROR_UNIMPLIMENTED "502 Command not implemented" CRLF +#define SMTP_ERROR_LIMIT "505 Too many errors. Aborting." CRLF #define SMTP_ERROR_UPSTREAM "421 Service not available, closing transmission channel" CRLF #define SMTP_ERROR_FILE "420 Service not available, filesystem error" CRLF #define SMTP_ERROR_OK "250 Requested mail action okay, completed" CRLF |