I was ordered to configure nginx as SMTP proxy. That's all details I have. I've looked though some books and docs and don't see neither any examples of such configuration nor explanations of why this might be useful. Probably, to handle SMTP AUTH through the http server to decrease load, I don't know.

Could someone point me to the sense of this setup? My nginx.conf is default, no changes made, I don't think you will ask me about it. Would someone be kind to share his experience of SMTP proxy configuration?

link|improve this question

74% accept rate
1  
You need to know why you need an SMTP proxy. In my personal view there is no need to have one. What is your purpose of having a SMTP proxy? What are you trying to achieve? – mailq Oct 20 '11 at 11:02
you're right, after googling and reading docs, I've understood that I need a separate server to proxy emails to, but there is no need for such configuration when you can have let's say Postfix to handle everything. So, consider this question as non-professional and thank you for all answers. – Andrew Oct 20 '11 at 14:40
feedback

1 Answer

up vote 1 down vote accepted

http://wiki.nginx.org/Modules

section Mail modules

  Name   Description    
  Core   Nginx is able to handle and proxy the IMAP, POP3, SMTP    protocols.
  Auth   Use Nginx to authenticate mail services.
  Proxy  Nginx can proxy IMAP, POP3, and SMTP protocols.
  SSL    This module ensures SSL/TLS support for POP3/IMAP/SMTP.     -

on that page hyperlink to example config for each module

link|improve this answer
sorry, it's explained just how to enable the proxy module but not how to configure the SMTP authentication with nginx – Andrew Oct 20 '11 at 8:46
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.