Yaron B
2009-Nov-03 09:30 UTC
[Dovecot] login BAD Error in IMAP command received by server.
hi, i can open telnet on port 143 but failing on login user/pass and getting - "login BAD Error in IMAP command received by server." i assume that i didnt setup properly the authentication method and user/pass does Dovecot can use postfix user/pass ? less /var/mail/maillog Nov 3 11:21:45 localhost dovecot: imap-login: Login: user=<info>, method=PLAIN, rip=::1, lip=::1, secured Nov 3 11:21:45 localhost dovecot: IMAP(info): Connection closed bytes=41/347 [root at fedora ~]# dovecot --version 1.2.6 [root at fedora ~]# dovecot -n # 1.2.6: /etc/dovecot.conf # OS: Linux 2.6.30.9-90.fc11.i586 i686 Fedora release 11 (Leonidas) ext4 protocols: imap pop3 login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login mail_privileged_group: mail mail_location: mbox:/var/mail/%u maildir_very_dirty_syncs: yes mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 imap_client_workarounds(default): imap_client_workarounds(imap): imap_client_workarounds(pop3): delay-newmail outlook-idle netscape-eoh pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh lda: postmaster_address: postmaster at example.com auth default: passdb: driver: pam userdb: driver: passwd
Timo Sirainen
2009-Nov-03 18:39 UTC
[Dovecot] login BAD Error in IMAP command received by server.
On Tue, 2009-11-03 at 11:30 +0200, Yaron B wrote:> hi, > > i can open telnet on port 143 > but failing on login user/pass and getting - > "login BAD Error in IMAP command received by server." > > i assume that i didnt setup properly the authentication method and user/pass > does Dovecot can use postfix user/pass ?No. You're just not talking IMAP correctly. You need to give command tag before the LOGIN command. http://wiki.dovecot.org/TestInstallation -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091103/e122802d/attachment-0002.bin>
Yaron B
2009-Nov-03 22:31 UTC
[Dovecot] login BAD Error in IMAP command received by server.
thanks, but now im getting something else :-) less /var/log/maillog Nov 4 00:00:01 localhost postfix/smtp[9346]: A56FE19138: to=<root at localhost.localdomain>, relay=none, delay=0.01, delays=0/0/0.01/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localhost.localdomain type=AAAA: Host not found) Nov 4 00:00:01 localhost postfix/qmgr[3061]: A56FE19138: removed A56FE19138: to=<root at localhost.localdomain>, On Tue, Nov 3, 2009 at 8:39 PM, Timo Sirainen <tss at iki.fi> wrote:> On Tue, 2009-11-03 at 11:30 +0200, Yaron B wrote: > > hi, > > > > i can open telnet on port 143 > > but failing on login user/pass and getting - > > "login BAD Error in IMAP command received by server." > > > > i assume that i didnt setup properly the authentication method and > user/pass > > does Dovecot can use postfix user/pass ? > > No. You're just not talking IMAP correctly. You need to give command tag > before the LOGIN command. http://wiki.dovecot.org/TestInstallation > >