File: mail

package info (click to toggle)
nginx 1.28.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,508 kB
  • sloc: ansic: 169,561; sh: 623; perl: 439; python: 240; makefile: 130; 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;
	}
}