Im still not able to call this script. Is there something I need to
define in the http { section for php? I have not done that. I tried
adding another server { block inside the http block to listen to
127.0.0.1:9000 but still cant call my php script. nginx does not know
how to use php. I do hav
This dummy auth script has been the ONLY way I can get my imap or smtp
proxy working!
The problem is that I can only have either imap or smtp. The block below
works great, I just put my backend server (remote location) instead of
127.0.0.1, and my Auth-Port is 143. I see that nginx accepts SSL
Does this mean that from the nginx proxy to the backend, the passwords
will fly through the internet wide open if the backend is a remote
machine?
Maxim Dounin wrote in post #995934:
> 2. SSL backends isn't supported by nginx mail proxy, you need
> non-ssl backend and direct nginx to it.
>
> BT
Does this location snippet go inside the mail directive or outside of
it in nginx.conf? I only have 1 backend, I am using it to proxy for http
but also need imap/smtp proxy for it. When i use location inside the
mail directive and reload nginx, it throws an error
Maxim Dounin wrote in post #11
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 a