File: mail

package info (click to toggle)
nginx 1.26.3-3%2Bdeb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 9,360 kB
  • sloc: ansic: 165,437; sh: 613; perl: 439; python: 240; makefile: 126; cpp: 19
file content (30 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
##
#  File:
#    mail
#  Description:
#    Provides a basic example of a mail proxy.
##

# All mail proxy configuration should be inside of the mail block.
# Most settings here are pretty self explanatory.
# See http://wiki.nginx.org/MailCoreModule
mail {
	# See sample authentication script at:
	# http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
 
	# auth_http localhost/auth.php;
	# pop3_capabilities "TOP" "USER";
	# imap_capabilities "IMAP4rev1" "UIDPLUS";
 
	server {
		listen     localhost:110;
		protocol   pop3;
		proxy      on;
	}
 
	server {
		listen     localhost:143;
		protocol   imap;
		proxy      on;
	}
}