Jean-Luc Wasmer
2016-09-04 16:03:25 UTC
Hi,
I use Imapproxy 1.2.7 between Roundcube & Dovecot. I installed a
Roundcube plugging that sends the web client's IP address to the IMAP
server using the ID command. This way log files contain the real IP of
the user instead of the web server IP address.
Unfortunately, Imapproxy doesn't like that:
* OK [CAPABILITY IMAP4rev1 LITERAL+ LOGIN-REFERRALS ID ENABLE
XIMAPPROXY] Dovecot ready.
A0001 ID ("x-originating-ip" "24.212.235.245")
A0001 BAD Please login first
A0002 LOGIN user1 "password"
When I by-pass Imapproxy:
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE STARTTLS AUTH=PLAIN] Dovecot ready.
A0001 ID ("x-originating-ip" "24.212.235.245")
* ID ("name" "Dovecot")
A0001 OK ID completed.
A0002 AUTHENTICATE PLAIN AAAABBBBBCCCCDDD==
This seems like a rather simple command to support, would it be possible
to add it?
Thanks!
Jean-Luc
I use Imapproxy 1.2.7 between Roundcube & Dovecot. I installed a
Roundcube plugging that sends the web client's IP address to the IMAP
server using the ID command. This way log files contain the real IP of
the user instead of the web server IP address.
Unfortunately, Imapproxy doesn't like that:
* OK [CAPABILITY IMAP4rev1 LITERAL+ LOGIN-REFERRALS ID ENABLE
XIMAPPROXY] Dovecot ready.
A0001 ID ("x-originating-ip" "24.212.235.245")
A0001 BAD Please login first
A0002 LOGIN user1 "password"
When I by-pass Imapproxy:
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE STARTTLS AUTH=PLAIN] Dovecot ready.
A0001 ID ("x-originating-ip" "24.212.235.245")
* ID ("name" "Dovecot")
A0001 OK ID completed.
A0002 AUTHENTICATE PLAIN AAAABBBBBCCCCDDD==
This seems like a rather simple command to support, would it be possible
to add it?
Thanks!
Jean-Luc