The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

How to Enable Mail Logging

Forums » Documentation and Tutorials » Mail Client ("M2")

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

21. October 2011, 15:22:40

burnout426

Posts: 13202

How to Enable Mail Logging

  1. Goto opera:about and take note of the "Mail Directory" location.
  2. Close down Opera and open accounts.ini in the mail folder with a text editor.
  3. Under the section for the account you want, set "Incoming Log File" and "Outgoing Log File" to paths to a txt file where you want Opera to write the logs to.

For example:

Incoming Log File={Home}Desktop/account1_inlog.txt
Outgoing Log File={Home}Desktop/account1_outlog.txt

will write those files on your desktop.

You only need to set the one you're interested in. If you're not interested in an outgoing log, don't set "Outgoing Log File".

"{Home}" will convert to your user profile/home folder. "C:\users\user\" or "C:/users/user/" for example. But, you can use "C:\users\user\desktop\account1_inlog.txt" explicitly.

Opera will continue writing to the files as long as they're set, so note that they can get huge after a while. You can delete them before Opera starts up if you want fresh logs. Or, if you don't need to log the connections anymore, you can unset those lines while Opera is closed.

If you file a bug report at <https://bugs.opera.com/wizard/>, after you submit the report and get the email address for the bug, if you think a log is necessary, you can zip up the log and send the zip file as an attachment to that address. That will upload the log to the bug report. If you're later contacted by Opera asking for a log, you do the same thing.

Warning: SMTP (not IMAP or POP) logs may contain your raw username and password or your username and password as base64 (that can easily be decoded).

In the SMTP log, look for:

SMTP out:
Auth Login

SMTP in:
The response

SMTP out:
your username (as plain text or base64 data)

SMTP in:
The response

SMTP out:
your password (as plain text or base64 data)

SMTP in:
the response

So, if you provide an SMTP log publicly, you'll want to remove your username and password data, For IMAP and POP logs, they're removed for you.

24. February 2012, 10:29:33

JPushkarH

Posts: 99

Works great for me to capture lost Mail client password ...

17. July 2013, 01:17:40

HerrrK

Posts: 313

i tried this with opera 12.16 x64, but no txt file is created, when i reload the acounts.ini after opera started,
the line i added - Outgoing Log File=D:\outlog2.txt
was removed.

17. July 2013, 06:01:45

burnout426

Posts: 13202

Originally posted by HerrrK:

i tried this with opera 12.16 x64, but no txt file is created, when i reload the acounts.ini after opera started,
the line i added - Outgoing Log File=D:\outlog2.txt
was removed.



Try

Outgoing Log File={SmallPreferences}mail/outlog.txt
(will be in the mail folder)
or
Outgoing Log File={Home}Desktop/outlog.txt

and look for the file there.

I think I remember there being a bug with some paths.

20. November 2013, 13:03:41

soulloot

Posts: 6

Thanks, this just saved my day. Did it in a few minutes, worked great. Thanks again.

Forums » Documentation and Tutorials » Mail Client ("M2")