Cant connect to Dovecot POP3/IMAP from Thunderbird/Outlook

9 posts / 0 new
Last post
#1 Tue, 11/20/2012 - 02:06
daro2012

Cant connect to Dovecot POP3/IMAP from Thunderbird/Outlook

Hi,

I have installed Virtualmin on CentOs 6 64bit and it works perfectly well for virtual web server and Squirrelmail - i can send and receive emails without issues.

However, when i try to set up my email on Thunderbird or Outlook, it refuses and says wrong username and password?

What other configurations do I need to make in order for Thunderbird email working?

Could you please help with this.

Many thanks

Daro

Tue, 11/20/2012 - 08:11
andreychek

Howdy,

Can you post any errors that you see in your secure and mail logs when trying to login with Outlook/Thunderbird?

Those logs are located in /var/log/secure and /var/log/maillog.

Thanks!

-Eric

Tue, 11/20/2012 - 16:27
daro2012

Hi Eric,

Thank you for your prompt reply. Here is the error logs in cat /var/log/maillog:

command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Nov 21 01:10:03 ns1 postfix/qmgr[14502]: 092F03703C29: removed
Nov 21 01:10:50 ns1 postfix/smtpd[14832]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:10:50 ns1 postfix/smtpd[14835]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:10:50 ns1 dovecot: imap-login: Disconnected: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124, TLS
Nov 21 01:10:50 ns1 postfix/smtpd[14832]: lost connection after CONNECT from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:10:50 ns1 postfix/smtpd[14832]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:10:50 ns1 postfix/smtpd[14835]: lost connection after CONNECT from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:10:50 ns1 postfix/smtpd[14835]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:11:01 ns1 postfix/pickup[14501]: 7A0CF3703C27: uid=0 from=<root>
Nov 21 01:11:01 ns1 postfix/cleanup[14507]: 7A0CF3703C27: message-id=<20121120221101.7A0CF3703C27@ns1.goforlatedeals.com>
Nov 21 01:11:01 ns1 postfix/qmgr[14502]: 7A0CF3703C27: from=<root@ns1.goforlatedeals.com>, size=701, nrcpt=1 (queue active)
Nov 21 01:11:01 ns1 postfix/local[14510]: 7A0CF3703C27: to=<root@ns1.goforlatedeals.com>, orig_to=<root>, relay=local, delay=0.64, delays=0.43/0/0/0.2, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Nov 21 01:11:01 ns1 postfix/qmgr[14502]: 7A0CF3703C27: removed
Nov 21 01:11:07 ns1 postfix/smtpd[14832]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:11:07 ns1 postfix/smtpd[14835]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:11:07 ns1 postfix/smtpd[14832]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:11:07 ns1 postfix/smtpd[14835]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:11:07 ns1 dovecot: pop3-login: Disconnected: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124, TLS

I copied only the last part of logs.

there seems to be issue with TLS, but I have no clue how to fix it as my Linux tech is very low. Everything works perfectly from web hosting to Squirrelmail sending/receiving. The only issue is I cannot log into or set up Dovecot pop3/imap remotely from Thunderbird/Outlook

The error message in Thunderbird:

Thunderbird failed to find settings for your email account

Could you please help?

Tue, 11/20/2012 - 16:38
Locutus

This is getting amusing. Must be "Thunderbird Fail Day" or something, this is like the fifth user today reporting problems with email login. :)

@daro: Please enclose shell logs in [code][/code] tags, so that line breaks and fixed-width font survive. Also, your log excerpt seems to contain unrelated lines; it'd be better if you do a new well-directed test, and paste only the Dovecot/Auth related lines here (nothing from Postfix or Procmail).

Tue, 11/20/2012 - 16:55
daro2012

Hi Locutus,

thanks. Here is new error logs:

Nov 21 01:33:01 ns1 postfix/pickup[14501]: C91CA3703C27: uid=0 from=<root> Nov 21 01:33:01 ns1 postfix/cleanup[14507]: C91CA3703C27: message-id=<20121120223301.C91CA3703C27@ns1.goforlatedeals.com> Nov 21 01:33:02 ns1 postfix/qmgr[14502]: C91CA3703C27: from=<root@ns1.goforlatedeals.com>, size=701, nrcpt=1 (queue active) Nov 21 01:33:02 ns1 postfix/local[14510]: C91CA3703C27: to=<root@ns1.goforlatedeals.com>, orig_to=<root>, relay=local, delay=0.9, delays=0.64/0/0/0.26, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME) Nov 21 01:33:02 ns1 postfix/qmgr[14502]: C91CA3703C27: removed Nov 21 01:33:15 ns1 postfix/smtpd[15559]: connect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15558]: connect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 dovecot: imap-login: Aborted login: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124 Nov 21 01:33:15 ns1 dovecot: pop3-login: Aborted login: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124 Nov 21 01:33:15 ns1 last message repeated 2 times Nov 21 01:33:15 ns1 postfix/smtpd[15562]: connect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15561]: connect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 dovecot: imap-login: Aborted login: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124 Nov 21 01:33:15 ns1 dovecot: imap-login: Aborted login: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124 Nov 21 01:33:15 ns1 postfix/smtpd[15564]: connect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15565]: connect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15566]: connect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15567]: connect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15565]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15562]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15561]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15566]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15559]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15558]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15567]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:15 ns1 postfix/smtpd[15564]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207] Nov 21 01:33:16 ns1 dovecot: imap-login: Disconnected: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124 Nov 21 01:33:16 ns1 dovecot: pop3-login: Disconnected: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124 Nov 21 01:33:25 ns1 dovecot: imap-login: Disconnected: user=<info>, method=PLAIN, rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124, TLS Nov 21 01:33:31 ns1 dovecot: imap-login: Disconnected: user=<info@goforlatedeals.com>, method=PLAIN, rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124, TLS Nov 21 01:33:43 ns1 dovecot: pop3-login: Disconnected: user=<info>, method=PLAIN, rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124, TLS Nov 21 01:33:51 ns1 dovecot: pop3-login: Disconnected: user=<info@goforlatedeals.com>, method=PLAIN, rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124, TLS Nov 21 01:34:02 ns1 postfix/pickup[14501]: 003943703C27: uid=0 from=<root> Nov 21 01:34:02 ns1 postfix/cleanup[14507]: 003943703C27: message-id=<20121120223402.003943703C27@ns1.goforlatedeals.com> Nov 21 01:34:02 ns1 postfix/qmgr[14502]: 003943703C27: from=<root@ns1.goforlatedeals.com>, size=701, nrcpt=1 (queue active) Nov 21 01:34:02 ns1 postfix/local[14510]: 003943703C27: to=<root@ns1.goforlatedeals.com>, orig_to=<root>, relay=local, delay=0.49, delays=0.3/0/0/0.19, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME) Nov 21 01:34:02 ns1 postfix/qmgr[14502]: 003943703C27: removed

And the error messages in Thunderbird is:

Configuration could not be verified - Is the user name or password wrong?

Here is the output of dovecod -n:

[root@ns1 ~]# dovecod -n -bash: dovecod: command not found [root@ns1 ~]# dovecot -n # 1.0.7: /etc/dovecot.conf 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_location: maildir:~/Maildir 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): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): outlook-idle pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default:  passdb:   driver: pam userdb:   driver: passwd

I appreciate your help.

Daro

Tue, 11/20/2012 - 16:57
daro2012

sorry I did put  , but the lines dont break?

Tue, 11/20/2012 - 17:45
andreychek

It looks like you have a set of code tags on each line... instead of that, you'd want to put an opening tag before the first line, and a closing tag at the end of your last line.

-Eric

Tue, 11/20/2012 - 17:56
daro2012

Hi,

I though I need to put code for each line. Yes, I will do next time. So I posted the above error logs again here::

Nov 21 01:33:01 ns1 postfix/pickup[14501]: C91CA3703C27: uid=0 from=<root>
Nov 21 01:33:01 ns1 postfix/cleanup[14507]: C91CA3703C27: message-id=<20121120223301.C91CA3703C27@ns1.goforlatedeals.com>
Nov 21 01:33:02 ns1 postfix/qmgr[14502]: C91CA3703C27: from=<root@ns1.goforlatedeals.com>, size=701, nrcpt=1 (queue active)
Nov 21 01:33:02 ns1 postfix/local[14510]: C91CA3703C27: to=<root@ns1.goforlatedeals.com>, orig_to=<root>, relay=local, delay=0.9, delays=0.64/0/0/0.26, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Nov 21 01:33:02 ns1 postfix/qmgr[14502]: C91CA3703C27: removed
Nov 21 01:33:15 ns1 postfix/smtpd[15559]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15558]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 dovecot: imap-login: Aborted login: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124
Nov 21 01:33:15 ns1 dovecot: pop3-login: Aborted login: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124
Nov 21 01:33:15 ns1 last message repeated 2 times
Nov 21 01:33:15 ns1 postfix/smtpd[15562]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15561]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 dovecot: imap-login: Aborted login: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124
Nov 21 01:33:15 ns1 dovecot: imap-login: Aborted login: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124
Nov 21 01:33:15 ns1 postfix/smtpd[15564]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15565]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15566]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15567]: connect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15565]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15562]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15561]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15566]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15559]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15558]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15567]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:15 ns1 postfix/smtpd[15564]: disconnect from 02d8eecf.bb.sky.com[2.216.238.207]
Nov 21 01:33:16 ns1 dovecot: imap-login: Disconnected: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124
Nov 21 01:33:16 ns1 dovecot: pop3-login: Disconnected: rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124
Nov 21 01:33:25 ns1 dovecot: imap-login: Disconnected: user=<info>, method=PLAIN, rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124, TLS
Nov 21 01:33:31 ns1 dovecot: imap-login: Disconnected: user=<info@goforlatedeals.com>, method=PLAIN, rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124, TLS
Nov 21 01:33:43 ns1 dovecot: pop3-login: Disconnected: user=<info>, method=PLAIN, rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124, TLS
Nov 21 01:33:51 ns1 dovecot: pop3-login: Disconnected: user=<info@goforlatedeals.com>, method=PLAIN, rip=::ffff:2.216.238.207, lip=::ffff:149.255.105.124, TLS
Nov 21 01:34:02 ns1 postfix/pickup[14501]: 003943703C27: uid=0 from=<root>
Nov 21 01:34:02 ns1 postfix/cleanup[14507]: 003943703C27: message-id=<20121120223402.003943703C27@ns1.goforlatedeals.com>
Nov 21 01:34:02 ns1 postfix/qmgr[14502]: 003943703C27: from=<root@ns1.goforlatedeals.com>, size=701, nrcpt=1 (queue active)
Nov 21 01:34:02 ns1 postfix/local[14510]: 003943703C27: to=<root@ns1.goforlatedeals.com>, orig_to=<root>, relay=local, delay=0.49, delays=0.3/0/0/0.19, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Nov 21 01:34:02 ns1 postfix/qmgr[14502]: 003943703C27: removed

and output of dovecot -n:

[root@ns1 ~]# dovecod -n
[code]-bash: dovecod: command not found
[code][root@ns1 ~]# dovecot -n
[code]# 1.0.7: /etc/dovecot.conf
[code]login_dir: /var/run/dovecot/login
[code]login_executable(default): /usr/libexec/dovecot/imap-login
[code]login_executable(imap): /usr/libexec/dovecot/imap-login
[code]login_executable(pop3): /usr/libexec/dovecot/pop3-login
[code]mail_location: maildir:~/Maildir
[code]mail_executable(default): /usr/libexec/dovecot/imap
[code]mail_executable(imap): /usr/libexec/dovecot/imap
[code]mail_executable(pop3): /usr/libexec/dovecot/pop3
[code]mail_plugin_dir(default): /usr/lib/dovecot/imap
[code]mail_plugin_dir(imap): /usr/lib/dovecot/imap
[code]mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
[code]imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh
[code]imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
[code]imap_client_workarounds(pop3): outlook-idle
[code]pop3_client_workarounds(default):
[code]pop3_client_workarounds(imap):
[code]pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
[code]auth default:
 [code] passdb:
  [code]  driver: pam
  [code]userdb:
    driver: passwd

Many thanks in advance

Thu, 11/22/2012 - 06:08
daro2012

I know It is Thankgiving in the USA.

Could any expert give me some clue of how to fix the above codes?

Many thanks

Topic locked