[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@fedora ~]# dovecot --version 1.2.6
[root@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@example.com auth default: passdb: driver: pam userdb: driver: passwd
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
thanks,
but now im getting something else :-)
less /var/log/maillog
Nov 4 00:00:01 localhost postfix/smtp[9346]: A56FE19138: to=root@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@localhost.localdomain,
On Tue, Nov 3, 2009 at 8:39 PM, Timo Sirainen tss@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
Am 03.11.2009 um 23:31 schrieb Yaron B:
thanks,
but now im getting something else :-)
less /var/log/maillog
Nov 4 00:00:01 localhost postfix/smtp[9346]: A56FE19138: to=root@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
This has nothing to do with dovecot, but with your postfix
configuration.
Try reading something about postfix configuration and hosts/domains in
general:
for instance an old posting: http://lists.debian.org/debian-user/2003/05/msg00579.html
regards, oliver
participants (3)
-
Oliver Eales
-
Timo Sirainen
-
Yaron B