pour avoir les logs de thunderbird ; chercher les erreurs
env MOZ_LOG=IMAP:5,timestamp MOZ_LOG_FILE=/tmp/imap.log /usr/bin/thunderbird
gawk 'BEGIN{ FS="I/IMAP [[:alnum:]]+:"; IGNORECASE=1; print "---thunderbird + RFC IMAP"; }; /sfr.fr/ {match($1,/^(.*)\./,p); print p[1],$2}' /tmp/imap.log
gawk 'BEGIN{ FS="I/IMAP [[:alnum:]]+:.*:"; IGNORECASE=1; print "---RFC IMAP"; }; /sfr.fr/ && /connect|tag à capturer/ {match($1,/^(.*)\./,p); print p[1],$2}' /tmp/imap.log
encore plus bavard
env NSPR_LOG_MODULES=msgdb:5,timestamp MOZ_LOG=IMAP:5,timestamp MOZ_LOG_FILE=/tmp/imap.log /usr/bin/thunderbird
installer libnspr4 et gdb si nécessaire.
------
j'ai noté en vrac dans la doc;
a/ mail.db.idle_limit and mail.db.max_open) to limit how many of those files it will keep open, and for how long. This can have a big effect on memory usage if you have tens of thousands of messages in a folder ...
b/ mailnews.allowMboxOver4GB false
c/ mail.serverDefaultStoreContractID @mozilla.org/msgstore/maildirstore;1
recréer un compte (ne pas garder le reliquat du compte en mbox)
d/ df -i /home/toto (problème d'inodes )
e/ problème d'index
Rename global-messages-db.sqlite and restart Thunderbird. global-messages-db.sqlite will rebuild but your system load will be high until all your messages are reindexed.
f/
mail.server.server[0-9]+.max_cached_connections 5 à gonfler un peu
g/ browser.cache.disk vs memory
h/ Are any non-Inbox IMAP folders configured to check for new messages (via "always check this folder" in properties)? Or have hidden preference mail.check_all_imap_folders_for_new set to true?
These increase load on both Thunderbird and the mail server.
...
i/ J' ajouterais utiliser les shared mailboxes (
doc) pour former un grand compte, qui est la réunion de plusieurs "petits comptes", plutôt que d'avoir un gros compte imap avec des dossiers par client, par item. Plus rapide et meilleure synchronisation. à tester sur 4,5Go.