Thanks Maxim, how should I put all in one server block because I thought the logic will be as follow: mail { auth_http 127.0.0.1/auth.php; imap_capabilities "IMAP4rev1" "UIDPLUS"; server { listen 0.0.0.0:143; server_name mail.domainA.com; protocolby entpneur - Nginx Mailing List - English
Hello, I tried to setup NGiNX as a Mail Proxy for two domains behind NAT. Users will be diverted to the right server base on domain (eg./ user@domainA.com will be diverted to Server A and user@domainB.com will be diverted to Server B). When I test the nginx.conf it gives me the following: "nginx: duplicate "0.0.0.0:143" address and port pair ..." After some digginby entpneur - Nginx Mailing List - English