This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 8 and 9
Revision 8 as of 2009-03-16 17:41:56
Size: 1634
Editor: TimoSirainen
Comment:
Revision 9 as of 2009-08-09 08:38:45
Size: 1902
Editor: 124-171-230-23
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:

=== Thunderbird workarounds ===
==== Thunderbird doesn't ask again after a wrong password ====
Symptoms:
 * No other prompt after a wrong password
 * IMAP access is broken, emails are blank once a title is clicked
Solution:
 * ''auth_failure_delay = 2''
Line 20: Line 29:

Debugging using Thunderbird's logging

Thunderbird has the ability to log its client actions based on protocol; this can be useful when you're experiencing a problem with Dovecot and want to trap the commands that the client is sending.

Thunderbird workarounds

Thunderbird doesn't ask again after a wrong password

Symptoms:

  • No other prompt after a wrong password
  • IMAP access is broken, emails are blank once a title is clicked

Solution:

  • auth_failure_delay = 2

Windows batch file

Save the below as runtbird.bat and place it on the desktop, then run this instead of the Thunderbird icon.

set mydate=%date:~-4,4%%date:~-7,2%%date:~-10,2%
set mytime=%time:~0,2%%time:~+3,2%

set NSPR_LOG_MODULES=IMAP:5
set NSPR_LOG_FILE=%USERPROFILE%\thunderbird_%mydate%_%mytime%.log

start /d "c:\program files\mozilla thunderbird" thunderbird.exe

Adjust the log location and Thunderbird install folder as appropriate. If you want to log all modules instead of just IMAP (SMTP, e.g.) then replace "IMAP" above with "all". The above will create a date/time stamped logfile for each run, so you won't lose the previous logs.

Linux/BSD/etc. shell script

Save the below as runtbird.sh, chmod it 0755, then run this instead of the Thunderbird icon.

#!/bin/sh

MYDATE=`date "+%Y%m%d_%H%M%S"`
NSPR_LOG_MODULES=IMAP:5
NSPR_LOG_FILE=/tmp/thunderbird_${MYDATE}.log
export NSPR_LOG_MODULES NSPR_LOG_FILE

/usr/bin/thunderbird &
# /Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin &  # for MacOSX
exit $?

Adjust the log location and Thunderbird launch binary as appropriate. If you want to log all modules instead of just IMAP (SMTP, e.g.) then replace "IMAP" above with "all". The above will create a date/time stamped logfile for each run, so you won't lose the previous logs.

None: Debugging/Thunderbird (last edited 2011-03-07 10:46:47 by 5)