How Do I log SMTP POP3 Send Traffic
I have a script:
D:\>cat tb.bat rem batch script to set environmental variables and then start Thunderbird rem 20Feb21 0728PM Barry Finkel rem 21Feb21 0904AM Cloned from tb-append.bat; removed ",append" rem 10Mar22 0315PM Added SMTP
rem set MOZ_LOG=POP3:5,timestamp,sync,append rem set MOZ_LOG=POP3:5,timestamp,sync set MOZ_LOG=SMTP:5,POP3:5,timestamp,sync set MOZ_LOG_FILE=C:\Users\BarryFinkel\Desktop\pop3.log START C:\"Program Files (x86)"\"Mozilla Thunderbird"\thunderbird.exe
D:\>
I need to log SMTP traffic when I send a piece of mail from Thunderbird. What I see in my pop3.log.moz_log file is SMTP traffic when Thunderbird downloads mail from the server. But I do not see the SMTP traffic when I send a piece of mail to the outbound server. When I look at previous logs, I see SEND records in a log from 2020-03-02. Did something change in the SMTP logging? I am running Thunderbird 91.8.0 64-bit in Windows 10 Professional 21H2 64-bit.
פתרון נבחר
I wrote the blog post last October, so I guess it was 91. It was released about then (August).
I guess you fix gloda the same way you have for 10 years. https://support.mozilla.org/en-US/kb/rebuilding-global-database
Read this answer in context 👍 0כל התגובות (3)
Try https://thunderbirdtweaks.blogspot.com/2021/10/logging-mail-sending-in-thunderbird.html
I think You need to understand something here. POP3 in an incoming protocol and receives mail from a mail server, just as IMAP does. SMTP is a sending protocol and sends mail out for delivery. You are therefore seeing POP3 traffic in your pop log nothing SMTP related at all.
Yes something did change in the logging. Everything really as the old way simply does not work any longer.
With what TB version did SMTP logging change? I set mailnews.smtp.loglevel to All (it was "warn"). And I see the SMTP dialog in the Debug tab in the Error Console. Thanks.
In the Error tab are LOTS of messages:
gloda.datastore: Async queryFromQuery error: 11: database disk image is malformed GlodaDatastore.jsm:298:25 gloda.datastore: got error in _asyncTrackerListener.handleError(): 11: database disk image is malformed GlodaDatastore.jsm:1925:27
How do I fix this error? What database has a corrupted disk image? Thanks.
פתרון נבחר
I wrote the blog post last October, so I guess it was 91. It was released about then (August).
I guess you fix gloda the same way you have for 10 years. https://support.mozilla.org/en-US/kb/rebuilding-global-database