i do some tests with nginx and the mail proxy modules. running imap/pop3
seems to work. Now i try with smtp.
My auth-server is a little php-script:
When testing smtp by telnet i got: 451 4.3.2 Internal server error after
and in log:
2011/02/08 14:04:42 [error] 27740#0: *23 upstream sent invalid response:
“550 5.7.0 Error: insufficient authorization” while reading response
from upstream, client: ip.ip.ip.ip, server: 0.0.0.0:26, login:
“myusername”, upstream: 127.0.0.1:25
what else is needed?
i have 2 more questions.
how to provide a basic log for mail-proxying? i only got server-errorlog
i read that nginx in smtp-proxy mode wants to do the complete auth-stuff
and needs an “open” smtp-engine behind. This is not what i like. I would
like that nginx is just transfering sessions to assigned host and let
the real smtp-engine(postfix) let do the auth stuff. with pop/imap proxy
ngingx is working like this but not with smtp. is this possible with
Posted at Nginx Forum: