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

Naresh V nareshov at gmail.com
Fri Dec 10 18:15:45 MSK 2010


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


-Naresh V.



More information about the nginx-devel mailing list