Page 1 of 1

Thunderbird oauth2 Problems

Posted: Thu Aug 01, 2024 1:48 am
by Ironfighter
Thunderbird has failed after many years due to the new MS Outlook requirements. (apologies for using a MS email account)
I have searched the internet and tried many "fixes" over the past few days without success.
I have uninstalled and reinstalled Thunderbird numerous times, deleted profiles etc, etc to no avail.
It would be fair to say I have driven myself bonkers. If anyone can help me fix this I will give them a great big cyber hug.
Thanks in advance.
A screenshot is attached - sometimes I get "incoming server already exists"

Code: Select all

System:    Kernel: 5.14.0-3mx-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.14.0-3mx-amd64 
           root=UUID=<filter> ro splash quiet 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm 4.14.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-19.4_ahs_x64 patito feo March 31  2021 
           base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Laptop System: LENOVO product: 20NFA00PAU v: ThinkPad E595 serial: <filter> 
           Chassis: type: 10 serial: <filter> 
           Mobo: LENOVO model: 20NFA00PAU serial: <filter> UEFI: LENOVO v: R11ET40W (1.20 ) 
           date: 11/17/2020 
Battery:   ID-1: BAT0 charge: 38.0 Wh (98.7%) condition: 38.5/45.7 Wh (84.3%) volts: 11.4 
           min: 11.1 model: Celxpert 5B10W138 type: Li-poly serial: <filter> status: Unknown 
           cycles: 77 
CPU:       Info: Quad Core model: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx bits: 64 
           type: MT MCP arch: Zen family: 17 (23) model-id: 18 (24) stepping: 1 
           microcode: 8108102 cache: L2: 2 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 36728 
           Speed: 1325 MHz min/max: 1400/2300 MHz boost: enabled Core speeds (MHz): 1: 1325 
           2: 1192 3: 1300 4: 1187 5: 1440 6: 1131 7: 1403 8: 1594 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] 
           vendor: Lenovo ThinkPad E595 driver: amdgpu v: kernel bus-ID: 05:00.0 
           chip-ID: 1002:15d8 class-ID: 0300 
           Device-2: IMC Networks type: USB driver: uvcvideo bus-ID: 3-2:3 chip-ID: 13d3:5415 
           class-ID: 0e02 
           Display: x11 server: X.Org 1.20.10 compositor: xfwm4 v: 4.14.0 driver: loaded: amdgpu 
           display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.0x11.3") 
           s-diag: 1055mm (41.6") 
           Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
           diag: 395mm (15.5") 
           Monitor-2: HDMI-A-0 res: 1920x1080 hz: 30 dpi: 51 size: 952x535mm (37.5x21.1") 
           diag: 1092mm (43") 
           OpenGL: 
           renderer: AMD Radeon Vega 10 Graphics (RAVEN DRM 3.42.0 5.14.0-3mx-amd64 LLVM 11.0.1) 
           v: 4.6 Mesa 20.3.5 direct render: Yes 
Audio:     Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Lenovo ThinkPad E595 
           driver: snd_hda_intel v: kernel bus-ID: 05:00.1 chip-ID: 1002:15de class-ID: 0403 
           Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo ThinkPad E595 
           driver: snd_pci_acp3x v: kernel alternate: snd_rn_pci_acp3x bus-ID: 05:00.5 
           chip-ID: 1022:15e2 class-ID: 0480 
           Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo ThinkPad E595 
           driver: snd_hda_intel v: kernel bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403 
           Sound Server-1: ALSA v: k5.14.0-3mx-amd64 running: yes 
           Sound Server-2: PulseAudio v: 12.2 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Lenovo ThinkPad E595 driver: r8169 v: kernel port: 3000 bus-ID: 02:00.0 
           chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter 
           vendor: Lenovo ThinkPad E595 driver: rtw_8822be v: N/A modules: rtw88_8822be,wl 
           port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:b822 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
           IF-ID-1: virbr0 state: down mac: <filter> 
           IF-ID-2: virbr0-nic state: down mac: <filter> 
Bluetooth: Device-1: Realtek type: USB driver: btusb v: 0.8 bus-ID: 3-1:2 chip-ID: 0bda:b023 
           class-ID: e001 serial: <filter> 
           Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2 
           sub-v: 705c hci-v: 4.2 rev: ab6b 
           Info: acl-mtu: 1021:8 sco-mtu: 255:16 link-policy: rswitch hold sniff park 
           link-mode: slave accept service-classes: rendering, capturing, object transfer 
Drives:    Local Storage: total: 535.03 GiB used: 268.2 GiB (50.1%) 
           ID-1: /dev/mmcblk0 maj-min: 179:0 vendor: SanDisk model: SD64G size: 58.09 GiB 
           block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> scheme: MBR 
           SMART Message: Unknown smartctl error. Unable to generate data. 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-2: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB512HBJQ-000L7 
           size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: 5M2QEXF7 temp: 31.9 C scheme: GPT 
Partition: ID-1: / raw-size: 474.66 GiB size: 466.14 GiB (98.20%) used: 268.2 GiB (57.5%) 
           fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 411 KiB (0.2%) 
           fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/nvme0n1p3 maj-min: 259:3 
Sensors:   System Temperatures: cpu: 55.2 C mobo: N/A gpu: amdgpu temp: 55.0 C 
           Fan Speeds (RPM): fan-1: 0 
Repos:     Packages: 3117 note: see --pkg apt: 3106 lib: 1631 flatpak: 11 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ buster-updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ buster main contrib non-free
           2: deb http://deb.debian.org/debian-security/ buster/updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/megasync.list 
           1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_10.0/ ./
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirror.datamossa.io/mxlinux/mx/repo/ buster main non-free
           2: deb http://mirror.datamossa.io/mxlinux/mx/repo/ buster ahs
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https://repo.skype.com/deb stable main
           Active apt repos in: /etc/apt/sources.list.d/softmaker.list 
           1: deb http://shop.softmaker.com/repo/apt/ wheezy non-free
           Active apt repos in: /etc/apt/sources.list.d/spotify.list 
           1: deb http://repository.spotify.com stable non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 279 Uptime: 39m wakeups: 2 Memory: 29.27 GiB used: 2.32 GiB (7.9%) 
           Init: SysVinit v: 2.93 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 8.3.0 
           alt: 8 Shell: quick-system-in default: Bash v: 5.0.3 running-in: quick-system-in 
           inxi: 3.3.06 

Re: Thunderbird oauth2 Problems

Posted: Thu Aug 01, 2024 2:24 am
by Eadwine Rose
What do you get on manual config?


Pretty sure you have read this already https://support.mozilla.org/en-US/kb/mi ... erbird-202

Re: Thunderbird oauth2 Problems

Posted: Thu Aug 01, 2024 3:50 am
by Ironfighter
Eadwine Rose wrote: Thu Aug 01, 2024 2:24 am What do you get on manual config?


Pretty sure you have read this already https://support.mozilla.org/en-US/kb/mi ... erbird-202
I think so but will have another crack at this tomorrow. Maybe I missed the cooky setting.

Re: Thunderbird oauth2 Problems

Posted: Thu Aug 01, 2024 5:22 am
by Greg Brannon
@Ironfighter: I have Thunderbird working within the MS requirements on one MX computer, but it's failing on another MX PC which complains that Thunderbird cannot logon to my Outlook email with a personal account. For the working PC, I followed MS instructions to prepare for the oauth2 requirements before they took effect, and I saw no interruptions in service. The root causes for your problem and mine on the broken PC may be different, but I think they're related. I'll have to return the 2nd PC to a working config. Please update us with what finally works for you.

Thanks for your topic.

Greg.

Re: Thunderbird oauth2 Problems

Posted: Thu Aug 01, 2024 7:27 am
by dreamer
Ironfighter wrote: Thu Aug 01, 2024 1:48 am Thunderbird has failed after many years due to the new MS Outlook requirements. (apologies for using a MS email account)
I have searched the internet and tried many "fixes" over the past few days without success.
I have uninstalled and reinstalled Thunderbird numerous times, deleted profiles etc, etc to no avail.
It would be fair to say I have driven myself bonkers. If anyone can help me fix this I will give them a great big cyber hug.
Thanks in advance.
A screenshot is attached - sometimes I get "incoming server already exists"
Make sure to try with a new user account with no Thunderbird profile available.
For what it is worth; I use Betterbird on Windows and Linux. It is available as a tar download or Flatpak. It has no built-in updater so if space is available the Flatpak might be the way to go. It sets up OAuth2 by default. It uses the same location for profile as Thunderbird: ~/.thunderbird/

Re: Thunderbird oauth2 Problems

Posted: Thu Aug 01, 2024 7:31 am
by Eadwine Rose
Tip, which sometimes is overlooked... you can rename the .thunderbird folder when TB is closed, and then try things clean without having to remove anything. It'll just make a new .thunderbird folder.

Re: Thunderbird oauth2 Problems

Posted: Thu Aug 01, 2024 7:43 am
by j2mcgreg
@Ironfighter wrote:
I have uninstalled and reinstalled Thunderbird numerous times, deleted profiles etc, etc to no avail.
In my experience, just uninstalling Thunderbird isn't enough, you have to purge it. Even then, Thunderbird can be funky when dealing with 0Auth requirements. You likely will have a better experience by switching to Evolution, Claws-mail, or just simply accessing your email on line.

Re: Thunderbird oauth2 Problems

Posted: Thu Aug 01, 2024 11:44 am
by CharlesV
And I dont see what version of TB your running?

I have several clients that use TB ( 112+ and 115) and connect to MS servers and it seems to be ok. I agree a new profile test might be good here.

Re: Thunderbird oauth2 Problems

Posted: Thu Aug 01, 2024 12:15 pm
by baldyeti
For an old hotmail account i rarely use i have also received a warning that i needed to switch to oauth2 come September. I am using seamonkey which should behave much like thunderbird. I have not done the switch yet for hotmail but had to do it for gmail a couple years ago and it works fine. Have you been following the MS instructions ?

edit: these MS instructions look pretty similar to the mozilla forum post which i had overlooked...

Re: Thunderbird oauth2 Problems

Posted: Thu Aug 01, 2024 1:30 pm
by aika
Eadwine Rose wrote: Thu Aug 01, 2024 2:24 am... Pretty sure you have read this already https://support.mozilla.org/en-US/kb/mi ... erbird-202
For me this works via POP3, Port995 and activated JavaScript in Thunderbird-115.13

Re: Thunderbird oauth2 Problems

Posted: Fri Aug 02, 2024 2:44 am
by Ironfighter
Thanks for the many responses - I have tried all the suggestions without success.
To make matters worse I set up a gmail account I have in about 10 minutes most of which time was spent getting a security code to allow Thunderbird to access my account. It worked as a pop account but I had the choice of imap.
It has got me stumped this one. In the meantime I have just set up a Firefox launcher to get me into my outlook account - not the best.
I think I will go for a lie down. :(

Re: Thunderbird oauth2 Problems

Posted: Fri Aug 02, 2024 3:52 pm
by aika
baldyeti wrote: Thu Aug 01, 2024 12:15 pm... received a warning that i needed to switch to oauth2 come September. I am using seamonkey which should behave much like thunderbird ...
In Seamonkey I use a different Outlook email address via IMAP (Port993),
which I couldn't switch to OAuth2 because the original server name was imap-mail.outlook.com there is. But here works still “Normal password” via “SSL/TLS”.

For me, OAuth2 only works via POP in my new Outlook email address with server name outlook.office365.com.

Re: Thunderbird oauth2 Problems

Posted: Fri Aug 02, 2024 5:20 pm
by baldyeti
This is not going to help the OP unfortunately but for seamonkey users, connecting to MS mail servers using OAuth2 does not work for the current 2.53.18 release, but should in the upcoming 2.53.19. I successfully tested 2.53.20_beta1_pre on MX21. Details here.

Re: Thunderbird oauth2 Problems  [Solved]

Posted: Sat Aug 03, 2024 2:03 am
by Ironfighter
I have found a solution which works for me but leaves some questions unanswered for conventional installation methods (synaptic & MX Package Installer).
Here is my process:-
  • Uninstalled Thunderbird using Synaptic including configuration files.
    Made sure I had no profiles left on my hard drive from previous installations.
    Downloaded the latest version of Thunderbird from their website -https://www.thunderbird.net/en-US/
    Extracted the tar.bz2 to an opt folder I have created in my /home/username/ folder.
    Executed the file and when through the set up process for my Outlook email service.
    As with previous attempts it found my settings BUT it said they were wrong and asked me if I wanted to create an account anyway?!
    I said yes and it proceeded to download every message I have received or sent since I opened the account some years ago (lets just say quite a few) which took a bit of time.
    Either during or just before the last dot point I got a pop up message from MS on my screen asking me to login to my Outlook account which I did
    I then closed Thunderbird.
    I created a desktop launcher pointing to my /home/username/opt/thunderbird/thunderbird.exe file.
    I dragged and dropped it onto my panel.
    It opened without any hassle so I created a new account for my Gmail account.
    It found my settings and I got a pop up message from Google asking me to login which I did.
    Thunderbird then downloaded all my gmail messages.
I hope this helps someone else because it has the potential to drive people like me to distraction.

Re: Thunderbird oauth2 Problems

Posted: Sat Aug 03, 2024 7:55 pm
by aika
Ironfighter wrote: Sat Aug 03, 2024 2:03 am... the latest version of Thunderbird from their website -https://www.thunderbird.net/en-US/ ...
Your Thunderbird version was probably too old, I read MX-19 and Buster too late.

And I now need a new Seamonkey version, the tested version 2.53.20_beta1 for Linux I found here => https://archive.seamonkey-project.org/n ... -comm-253/

Re: Thunderbird oauth2 Problems

Posted: Sun Aug 04, 2024 12:58 am
by Ironfighter
aika wrote: Sat Aug 03, 2024 7:55 pm Your Thunderbird version was probably too old, I read MX-19 and Buster too late.
Even though I downloaded and installed it via Synaptic?

Re: Thunderbird oauth2 Problems

Posted: Mon Aug 05, 2024 12:53 pm
by aika
MX-19 was provided with updates until June 2024. Now you have an up-to-date email program, if you want to keep MX-19 for a while, you should get an up-to-date browser. Current Google-Chrome or current Firefox is available via Debian-PPA ( https://support.mozilla.org/en-US/kb/in ... tributions ). Starting in July, Debian-Buster will not provide further security updates.

Re: Thunderbird oauth2 Problems

Posted: Mon Aug 05, 2024 10:52 pm
by MXRobo
Ironfighter wrote: Sun Aug 04, 2024 12:58 am
aika wrote: Sat Aug 03, 2024 7:55 pm Your Thunderbird version was probably too old, I read MX-19 and Buster too late.
Even though I downloaded and installed it via Synaptic?
I was under the impression that one of the reasons for installing/upgrading to a new distro is to have the latest applications available per the distro base/type, e.g. fixed, stable, etc., so yes you'd most definitely have older packages, even on Synaptic.

I'm not sure that Synaptic is representative of what is available from MXPI, but I think it probably is for the Enabled Repo tab – again not sure, anyway here are a few links showing Thunderbird versions in MX-19 through MX-21 – oddly Thunderbird is not listed in either mxrepo.com or repology.org for MX-23.

https://mxrepo.com/
https://mxrepo.com/MX19packages.html
https://mxrepo.com/MX21packages.html
==============================
https://repology.org/project/thunderbird/versions
https://repology.org/repositories/statistics Note: % Outdated
https://repology.org/projects/t/?inrepo=mx_19
https://repology.org/projects/t/?inrepo=mx_21
https://repology.org/projects/t/?inrepo=mx_23 N/A

https://repology.org/repository/mx_21 example

I'm sure you know that MX-19 reached end of life a month or so ago.

Cheers!

Re: Thunderbird oauth2 Problems

Posted: Wed Aug 07, 2024 1:05 am
by Ironfighter
@aika & @MXRobo - thanks for your comments. I have been putting of upgrading to MX23 but you have given me another reason to stop procrastinating👍