搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How Do I log SMTP POP3 Send Traffic

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Matt

more options

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 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

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

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.

more options

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.

more options

選擇的解決方法

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