How do I send an ID command (IMAP) in the mail module?

Maxim Dounin mdounin at mdounin.ru
Sat Dec 11 04:22:28 MSK 2010


Hello!

On Fri, Dec 10, 2010 at 08:45:45PM +0530, Naresh V wrote:

> Hi,
> 
> As per my understanding of the mail module so far, the only
> communication that is done with the upstream and then handled is the
> LOGIN command in
> http://lxr.evanmiller.org/http/source/mail/ngx_mail_proxy_module.c#L327
> i.e.
> 
> nginx:C> a012 LOGIN user at domain password
> dovecot:S> * OK
> 
> and then subsequent communication happens without any specific
> handling by nginx.
> 
> I want to send a ID command <http://www.faqs.org/rfcs/rfc2971.html>
> before the above LOGIN command, how do I go about it?
> 
> nginx:C> a012 ID ( "X-ORIGINATING-IP" "172.31.1.76" )
> dovecot:S> * ID NIL
> nginx:C> a012 LOGIN user at domain password
> dovecot:S> * OK

This isn't currently possible.  Feel free to provide patch.

Maxim Dounin



More information about the nginx-devel mailing list