[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Thunderbird not working with Dovecot



Following up to myself here, since I just discovered something which
might be a clue....

As previously noted, my smart phone's mail program has absolutely no
problems accessing the IMAP sever (Dovecot).  I can read new mail, old
mail, whatever - no hanging, no extra login connections showing up in
the log, nothing.

I read a few messages on my phone while I was out, and didn't delete
them because I wanted to get back to them later.  When I got home and
fired up Thunderbird, it showed those messages as being already read
(which makes sense since the flag for having been read would be set on
the server side).  Now, since those messages had not *actually* been
read by *Thunderbird*, it wouldn't have had them in its cache.  So
accessing them required that TB download the message body when the
message got clicked on in the list.

There was no hang up - it accessed the message just fine, and selecting
another message did not result in an extra connection happening on the
Dovecot side.

In short, this is only happening to TB when the message is flagged as
new (shows up bold in the subject list).  If it's flagged as already
read, there's no hang up of any kind, even though it's going to have to
actually download the message when selected.  This never happened until
I switched to Debian and installed Dovecot as my IMAP/POP3 server.  I've
made no changes to TB of any kind, other than to take out the setting
that said that my personal mail space was in ~/Mail on the server (the
old IMAP server didn't specify that whereas Dovecot does, so if I didn't
have "Mail/" set in Thunderbird, it would show me *everything* in my
home directory when going for a folder list, which is a bit more than I
wanted in my mail program :-) ).  Other than that, everything is the same.

So why is it only hanging up when going after a message currently
flagged as unread?  This just keeps getting more and more bizarre.....


David Guntner grabbed a keyboard and wrote:
> Jochen Spieker grabbed a keyboard and wrote:
>> Ok, so your assumption is that some connections to Dovecot hang for an
>> unknown reason and that's why Thunderbird creates new ones? In order to
>> debug that, I would increase logfile verbosity für Dovecot (probably
>> including authentication logging) and test with TB using one, two and
>> even more connections.
>>
>> If this a general issue with Dovecot, TB should hang very early.
> 
> Ok, more mail has come in and with "auth_debug = yes" set in the
> dovecot.conf file, the following was logged as I moved through the
> mailbox.  Each place where you see a "new auth connection" entry was
> where I had selected an unread message, it didn't display, and I clicked
> on another message to get off the one that wasn't displaying.  Clicking
> back on the previously unread message displayed the message just fine.
> I replaced my login ID in the log with "xxxxxx", just to be clear. :-)
> 
>> Nov 21 08:31:21 janet dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=imap#011secured#011lip=192.168.0.102#011rip=192.168.0.101#011lport=143#011rport=51624
>> Nov 21 08:31:21 janet dovecot: auth(default): client out: CONT#0111#011
>> Nov 21 08:31:21 janet dovecot: auth(default): client in: CONT<hidden>
>> Nov 21 08:31:21 janet dovecot: auth-worker(default): pam(xxxxxx,192.168.0.101): lookup service=dovecot
>> Nov 21 08:31:21 janet dovecot: auth-worker(default): pam(xxxxxx,192.168.0.101): #1/1 style=1 msg=Password:
>> Nov 21 08:31:21 janet dovecot: auth(default): client out: OK#0111#011user=xxxxxx
>> Nov 21 08:31:21 janet dovecot: auth(default): master in: REQUEST#0111#0114216#0111
>> Nov 21 08:31:21 janet dovecot: auth(default): passwd(xxxxxx,192.168.0.101): lookup
>> Nov 21 08:31:21 janet dovecot: auth(default): master out: USER#0111#011xxxxxx#011system_groups_user=xxxxxx#011uid=1000#011gid=100#011home=/home/xxxxxx
>> Nov 21 08:31:21 janet dovecot: imap-login: Login: user=<xxxxxx>, method=PLAIN, rip=192.168.0.101, lip=192.168.0.102, secured
>> Nov 21 08:31:22 janet dovecot: auth(default): new auth connection: pid=4222
>> Nov 21 08:31:41 janet dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=imap#011secured#011lip=192.168.0.102#011rip=192.168.0.101#011lport=143#011rport=51638
>> Nov 21 08:31:41 janet dovecot: auth(default): client out: CONT#0111#011
>> Nov 21 08:31:41 janet dovecot: auth(default): client in: CONT<hidden>
>> Nov 21 08:31:41 janet dovecot: auth-worker(default): pam(xxxxxx,192.168.0.101): lookup service=dovecot
>> Nov 21 08:31:41 janet dovecot: auth-worker(default): pam(xxxxxx,192.168.0.101): #1/1 style=1 msg=Password:
>> Nov 21 08:31:41 janet dovecot: auth(default): client out: OK#0111#011user=xxxxxx
>> Nov 21 08:31:41 janet dovecot: auth(default): master in: REQUEST#0112#0114222#0111
>> Nov 21 08:31:41 janet dovecot: auth(default): passwd(xxxxxx,192.168.0.101): lookup
>> Nov 21 08:31:41 janet dovecot: auth(default): master out: USER#0112#011xxxxxx#011system_groups_user=xxxxxx#011uid=1000#011gid=100#011home=/home/xxxxxx
>> Nov 21 08:31:41 janet dovecot: imap-login: Login: user=<xxxxxx>, method=PLAIN, rip=192.168.0.101, lip=192.168.0.102, secured
>> Nov 21 08:31:42 janet dovecot: auth(default): new auth connection: pid=4230
>> Nov 21 08:33:18 janet dovecot: auth(default): client in: AUTH#0111#011PLAIN#011service=imap#011secured#011lip=192.168.0.102#011rip=192.168.0.101#011lport=143#011rport=51641
>> Nov 21 08:33:18 janet dovecot: auth(default): client out: CONT#0111#011
>> Nov 21 08:33:18 janet dovecot: auth(default): client in: CONT<hidden>
>> Nov 21 08:33:18 janet dovecot: auth-worker(default): pam(xxxxxx,192.168.0.101): lookup service=dovecot
>> Nov 21 08:33:18 janet dovecot: auth-worker(default): pam(xxxxxx,192.168.0.101): #1/1 style=1 msg=Password:
>> Nov 21 08:33:18 janet dovecot: auth(default): client out: OK#0111#011user=xxxxxx
>> Nov 21 08:33:18 janet dovecot: auth(default): master in: REQUEST#0113#0114230#0111
>> Nov 21 08:33:18 janet dovecot: auth(default): passwd(xxxxxx,192.168.0.101): lookup
>> Nov 21 08:33:18 janet dovecot: auth(default): master out: USER#0113#011xxxxxx#011system_groups_user=xxxxxx#011uid=1000#011gid=100#011home=/home/xxxxxx
>> Nov 21 08:33:18 janet dovecot: imap-login: Login: user=<xxxxxx>, method=PLAIN, rip=192.168.0.101, lip=192.168.0.102, secured
>> Nov 21 08:33:19 janet dovecot: auth(default): new auth connection: pid=4252
> 
>                          --Dave
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: