Forum: NGINX mysql backend

88c0dae13d60c5a245b6fd5d7da643b3?d=identicon&s=25 Shawn Za (shawn82)
on 2014-04-10 00:06
Hi. If nginx ties back to a mysql backend on a remote server for
IMAP/SMTP, don't I need to add:

$protocol_ports->{'smtp'}=25;

below the $protocol_ports->{'imap'}=143;
?

Also I should not be listening to 993 on my actual backend but rather
143 and just enforce TLS and make sure the ssl protocols are used.

Im combining both of these:
http://wiki.nginx.org/ImapProxyExample
http://wiki.nginx.org/ImapAuthenticateWithEmbeddedPerlScript
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.