KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21573/root/usr/share/doc/dovecot-1.0.7/wiki/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/root/usr/share/doc/dovecot-1.0.7/wiki/Debugging.Thunderbird.txt
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.

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=c:\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 &
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.

(This file was created from the wiki on 2007-06-15 04:42)

Anon7 - 2021