#1486112 closed Feature Patches (invalid)
error in roundcube-0.3 and dovecot
| Reported by: | rafalm | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3.1 |
| Component: | IMAP connection | Version: | 0.3-stable |
| Severity: | normal | Keywords: | |
| Cc: | vbenincasa@… |
Description
DoveCot? Server, send longer header (with FTP <enter>)
FTP * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready.
and roundcube check only first chars
in program/lib/imap.inc
PHP Code:
if (!preg_match('/^\* (OK|PREAUTH)/i', $line)) {
must by
PHP Code:
if (!preg_match('/\* (OK|PREAUTH)/i', $line)) {
Change History (7)
comment:1 Changed 4 years ago by alec
- Milestone changed from later to 0.3.1
comment:2 Changed 4 years ago by rafalm
I use dovecot 1.2.1
no proxy
php server & imap server is in the same machine
comment:3 Changed 4 years ago by alec
What PHP version? I've searched dovecot's source code, there's no "FTP" string.
comment:4 Changed 4 years ago by netbit
- Cc vbenincasa@… added
Unusual behavior with your Dovecot... My dovecot v1.2.4 doesn't return this "FTP" string (1). Try to update your installation and review your "dovecot.conf" please.
(1) $telnet mail.***.com.br 143 * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready.
comment:5 Changed 4 years ago by rafalm
PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 26 2009 20:09:03)
run as fast-cgi with suexec
dovecot.conf is clear
mail_plugins = quota imap_quota trash xexec
and
passdb vpopmail {
}
telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. FTP * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready.
now i search where is FTP string
comment:6 Changed 4 years ago by rafalm
OK i find it !
in /etc/xinetd.d/imap
service imap
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/local/libexec/dovecot/imap-login
flags = IPv4
only_from = 127.0.0.1
banner = /usr/local/etc/deny_banner
}
cat /usr/local/etc/deny_banner
is FTP
but i don't know why
OK it is my BUG, sorry
comment:7 Changed 4 years ago by alec
- Resolution set to invalid
- Status changed from new to closed

Looks like a bug in dovecot. Which version? Do you use some proxy?