smtp proxy with postfix

Maxim Dounin mdounin at
Wed Dec 30 15:55:58 UTC 2015


On Wed, Dec 30, 2015 at 10:49:06AM -0500, Cugar15 wrote:

> HI Maxim, thanks for reply!
> 1) Interesting, I will look into the ngx_stream_core_module
> 2) I still have one question for Xclient = on - since I'm banged my head
> against it for days now:
> You state: All information obtained by nginx is passed via the XCLIENT
> command.
> Is this true for all credentials?? Like username and password as optained
> with a 'auth login' sequence:
> Somehow, I can find: sasl_method=XCLIENT, sasl_username=username at
> in the postfix logfile. 
> However, I cannot find the password information...

Passwords are not present in XCLIENT and aren't expected to.  
Authentication is done by nginx and it's nginx responsibility to 
check passwords, and it does so using auth_http service.  Note 
well that in many authentication methods passwords aren't sent at 
all, appropriate hashes are used instead.

Maxim Dounin

More information about the nginx mailing list