File: mail

package info (click to toggle)
nginx 1.2.1-2.2%2Bwheezy4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 36,644 kB
  • sloc: ansic: 126,205; python: 1,695; sh: 1,018; perl: 523; makefile: 283; php: 122; asm: 48; ruby: 31; cpp: 17
file content (30 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (14)
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;
	}
}