Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nginx
GitHub Repository: nginx/nginx.org
Path: blob/main/xml/en/docs/mail/ngx_mail_pop3_module.xml
1 views
1
<?xml version="1.0"?>
2
3
<!--
4
Copyright (C) 2006, 2007 Anton Yuzhaninov
5
Copyright (C) Nginx, Inc.
6
-->
7
8
<!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9
10
<module name="Module ngx_mail_pop3_module"
11
link="/en/docs/mail/ngx_mail_pop3_module.html"
12
lang="en"
13
rev="5">
14
15
<section id="directives" name="Directives">
16
17
<directive name="pop3_auth">
18
<syntax><value>method</value> ...</syntax>
19
<default>plain</default>
20
<context>mail</context>
21
<context>server</context>
22
23
<para>
24
Sets permitted methods of authentication for POP3 clients.
25
Supported methods are:
26
<list type="tag">
27
28
<tag-name><literal>plain</literal></tag-name>
29
<tag-desc>
30
<link url="https://datatracker.ietf.org/doc/html/rfc1939">USER/PASS</link>,
31
<link url="https://datatracker.ietf.org/doc/html/rfc4616">AUTH PLAIN</link>,
32
<link url="https://datatracker.ietf.org/doc/html/draft-murchison-sasl-login-00">AUTH LOGIN</link>
33
</tag-desc>
34
35
<tag-name><literal>apop</literal></tag-name>
36
<tag-desc>
37
<link url="https://datatracker.ietf.org/doc/html/rfc1939">APOP</link>.
38
In order for this method to work, the password must be stored unencrypted.
39
</tag-desc>
40
41
<tag-name><literal>cram-md5</literal></tag-name>
42
<tag-desc>
43
<link url="https://datatracker.ietf.org/doc/html/rfc2195">AUTH CRAM-MD5</link>.
44
In order for this method to work, the password must be stored unencrypted.
45
</tag-desc>
46
47
<tag-name><literal>external</literal></tag-name>
48
<tag-desc>
49
<link url="https://datatracker.ietf.org/doc/html/rfc4422">AUTH EXTERNAL</link> (1.11.6).
50
</tag-desc>
51
52
</list>
53
</para>
54
55
<para>
56
Plain text authentication methods
57
(<literal>USER/PASS</literal>, <literal>AUTH PLAIN</literal>,
58
and <literal>AUTH LOGIN</literal>) are always enabled,
59
though if the <literal>plain</literal> method is not specified,
60
<literal>AUTH PLAIN</literal> and <literal>AUTH LOGIN</literal>
61
will not be automatically included in <link id="pop3_capabilities"/>.
62
</para>
63
64
</directive>
65
66
67
<directive name="pop3_capabilities">
68
<syntax><value>extension</value> ...</syntax>
69
<default>TOP USER UIDL</default>
70
<context>mail</context>
71
<context>server</context>
72
73
<para>
74
Sets the
75
<link url="https://datatracker.ietf.org/doc/html/rfc2449">POP3 protocol</link>
76
extensions list that is passed to the client in response to
77
the <literal>CAPA</literal> command.
78
The authentication methods specified in the <link id="pop3_auth"/> directive
79
(<link url="https://datatracker.ietf.org/doc/html/rfc2449">SASL</link> extension) and
80
<link url="https://datatracker.ietf.org/doc/html/rfc2595">STLS</link>
81
are automatically added to this list depending on the
82
<link doc="ngx_mail_ssl_module.xml" id="starttls"/> directive value.
83
</para>
84
85
<para>
86
It makes sense to specify the extensions
87
supported by the POP3 backends
88
to which the clients are proxied (if these extensions are related to commands
89
used after the authentication, when nginx transparently proxies the client
90
connection to the backend).
91
</para>
92
93
<para>
94
The current list of standardized extensions is published at
95
<link url="http://www.iana.org/assignments/pop3-extension-mechanism">www.iana.org</link>.
96
</para>
97
98
</directive>
99
100
</section>
101
102
</module>
103
104