Skip to content

Instantly share code, notes, and snippets.

@fatefox
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatefox/fb38ed7075aa48150bf7 to your computer and use it in GitHub Desktop.
Save fatefox/fb38ed7075aa48150bf7 to your computer and use it in GitHub Desktop.
nginx.conf
mail {
auth_http localhost:9000/cgi-bin/auth;
pop3_capabilities "TOP" "USER";
imap_capabilities "IMAP4ver1" "UIDPLUS";
smtp_capabilities "SIZE 10240000" "VRFY" "ETRN" "ENHANCEDSTATUSCODES" "8BITMIME" "DSN" "AUTH PLAIN LOGIN";
server{
listen 110;
protocol pop3;
proxy on;
}
server {
listen 143;
protocol imap;
proxy on;
}
server {
listen 25;
protocol smtp;
proxy on;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment