Mercurial > hg > nginx-site
comparison xml/ru/docs/mail/ngx_mail_core_module.xml @ 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 |
comparison
equal
deleted
inserted
replaced
635:07f009b59a28 | 636:310872ba13ae |
---|---|
45 xclient off; | 45 xclient off; |
46 | 46 |
47 server { | 47 server { |
48 listen 25; | 48 listen 25; |
49 protocol smtp; | 49 protocol smtp; |
50 # По RFC 2821 таймаут должен быть 300 секунд | |
51 timeout 300s; | |
52 } | 50 } |
53 server { | 51 server { |
54 listen 110; | 52 listen 110; |
55 protocol pop3; | 53 protocol pop3; |
56 proxy on; | 54 proxy on; |
62 proxy on; | 60 proxy on; |
63 } | 61 } |
64 server { | 62 server { |
65 listen 587; | 63 listen 587; |
66 protocol smtp; | 64 protocol smtp; |
67 timeout 300s; | |
68 } | 65 } |
69 } | 66 } |
70 </example> | 67 </example> |
71 </para> | 68 </para> |
72 | 69 |