Here you can find my patch to add SMTP AUTH LOGIN to backend server : https://github.com/guyguy333/nginx/commit/09ac17efa8cc28bf758d03ddafbccea663fa4779 Posted at Nginx Forum: http://forum.nginx.org/read.php?2,245939,249425#msg-249425