Mercurial > hg > nginx-site
changeset 636:310872ba13ae
Removed the "timeout=300s" directive from SMTP examples.
Such an initial timeout is too long, and the default timeout of one
minute is long enough. By removing it, we purposedly ignore the
requirement of the current SMTP specification to set it to at least
five minutes: http://tools.ietf.org/html/rfc5321#section-4.5.3.2
Submitted by Maxim Dounin.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 15 Aug 2012 11:28:37 +0000 |
parents | 07f009b59a28 |
children | 9a85069172dc |
files | xml/ru/docs/mail/ngx_mail_core_module.xml |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/ru/docs/mail/ngx_mail_core_module.xml +++ b/xml/ru/docs/mail/ngx_mail_core_module.xml @@ -47,8 +47,6 @@ mail { server { listen 25; protocol smtp; - # По RFC 2821 таймаут должен быть 300 секунд - timeout 300s; } server { listen 110; @@ -64,7 +62,6 @@ mail { server { listen 587; protocol smtp; - timeout 300s; } } </example>