Vendredi 23 novembre 2018 (Modifié le Vendredi 23 novembre 2018)
Open a Terminal window. Type "export NSPR_LOG_MODULES=" followed immediately by "POP3:4" for POP, "IMAP:4" for IMAP and "SMTP:4" for SMTP logging. Press Enter. You can enable logging for multiple protocols by separating them with commas (','). To log both IMAP and SMTP traffic, for example, type "export NSPR_LOG_MODULES=IMAP:4,SMTP:4" (excluding the quotation marks). To log only IMAP traffic, type "export NSPR_LOG_MODULES=IMAP:4", for instance. Type "export NSPR_LOG_FILE=~/tbird.log.txt". Press Enter. Type "thunderbird". Press Enter again. Perform the desired email actions in Mozilla Thunderbird. Quit Mozilla Thunderbird and take a look at "tbird.log.txt" in your Home directory.
Turn Logging Off in Mozilla Thunderbird
Traffic logging is enabled only for the session you start from the command line. You do not have to turn it off.