Config Mail Proxy for POP3/SMTP microsoft exchange

Maxim Dounin mdounin at mdounin.ru
Sat Oct 19 10:04:53 UTC 2013


Hello!

On Sat, Oct 19, 2013 at 05:36:54AM -0400, hcmnttan wrote:

> Thanks Max,
> 
> I could config NGINX work for POP3, 
> But in SMTP, I just could do auth login only, when send a test email, an
> error message appear ( using telnet )
> --------------------------------------------------
> telnet 192.168.1.15 25
> 
> 220 mailproxy ESMTP ready
> auth login
> 334 VXNlcm5hbWU6
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 334 UGFzc3dvcmQ6
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 235 2.0.0 OK
> mail from: nt.tan at abc.com.vn
> 250 2.1.0 Sender OK
> rcpt to: nt.tan at abc.com.vn
> 250 2.1.5 Recipient OK
> data
> 354 Start mail input; end with <CRLF>.<CRLF>
> subject: Test mail
> test
> .
> 550 5.7.1 Client does not have permissions to send as this sender
> --------------------------------------------------
> 
> I could do a test telnet from nginx to backend SMTP server. Could you help
> ??
> Below is my config file

It's an error from your backend server.  Please note that nginx 
doesn't try to authenticate against SMTP backends.  Instead, it 
uses xclient to pass username to a backend, but in your config 
it's switched off.

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list