Mercurial > hg > nginx
diff src/mail/ngx_mail.h @ 7844:ec1071830799
Mail: max_errors directive.
Similarly to smtpd_hard_error_limit in Postfix and smtp_max_unknown_commands
in Exim, specifies the number of errors after which the connection is closed.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 19 May 2021 03:13:31 +0300 |
parents | b38728495e1a |
children | dc955d274130 |
line wrap: on
line diff
--- a/src/mail/ngx_mail.h Wed May 19 03:13:28 2021 +0300 +++ b/src/mail/ngx_mail.h Wed May 19 03:13:31 2021 +0300 @@ -115,6 +115,8 @@ ngx_msec_t timeout; ngx_msec_t resolver_timeout; + ngx_uint_t max_errors; + ngx_str_t server_name; u_char *file_name; @@ -231,6 +233,7 @@ ngx_uint_t command; ngx_array_t args; + ngx_uint_t errors; ngx_uint_t login_attempt; /* used to parse POP3/IMAP/SMTP command */