Imap: invalid header in response while in http auth state

I’m using imapproxy and trying to switch to nginx. courier is
listening on port 143.

mail {
auth_http localhost:143;
proxy on;
server {
listen 144;
protocol imap;
}
}

I get:

auth http server 127.0.0.1:143 sent invalid header in response while
in http auth state, client: 127.0.0.1, server: 0.0.0.0:144

Does anyone know what’s wrong?

  • Grant

Hello!

On Thu, Mar 07, 2013 at 01:55:35PM -0800, Grant wrote:

}

I get:

auth http server 127.0.0.1:143 sent invalid header in response while
in http auth state, client: 127.0.0.1, server: 0.0.0.0:144

Does anyone know what’s wrong?

You are trying to use auth_http with imap port, which is wrong.
It is expected to be http service with headers used for
communication, see here:

http://nginx.org/en/docs/mail/ngx_mail_auth_http_module.html


Maxim D.
http://nginx.org/en/donation.html

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs