Thunderbird oauth2 Problems  [Solved]

Message
Author
User avatar
Ironfighter
Posts: 287
Joined: Tue May 07, 2019 4:45 am

Thunderbird oauth2 Problems

#1 Post 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 
You do not have the required permissions to view the files attached to this post.
"To achieve the greatest result, seek the quintessential"
General Shi Jue, late president of the Tai Chi Chuan Society of the Republic of China

User avatar
Eadwine Rose
Administrator
Posts: 14464
Joined: Wed Jul 12, 2006 2:10 am

Re: Thunderbird oauth2 Problems

#2 Post 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
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Ironfighter
Posts: 287
Joined: Tue May 07, 2019 4:45 am

Re: Thunderbird oauth2 Problems

#3 Post 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.
"To achieve the greatest result, seek the quintessential"
General Shi Jue, late president of the Tai Chi Chuan Society of the Republic of China

Greg Brannon
Posts: 7
Joined: Fri Aug 26, 2022 7:19 am

Re: Thunderbird oauth2 Problems

#4 Post 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.

User avatar
dreamer
Posts: 886
Joined: Sun Oct 15, 2017 11:34 am

Re: Thunderbird oauth2 Problems

#5 Post 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/
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
Eadwine Rose
Administrator
Posts: 14464
Joined: Wed Jul 12, 2006 2:10 am

Re: Thunderbird oauth2 Problems

#6 Post 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.
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
j2mcgreg
Global Moderator
Posts: 6611
Joined: Tue Oct 23, 2007 12:04 pm

Re: Thunderbird oauth2 Problems

#7 Post 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.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
CharlesV
Global Moderator
Posts: 7102
Joined: Sun Jul 07, 2019 5:11 pm

Re: Thunderbird oauth2 Problems

#8 Post 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.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
baldyeti
Posts: 716
Joined: Sat Dec 05, 2009 3:37 pm

Re: Thunderbird oauth2 Problems

#9 Post 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...

User avatar
aika
Posts: 219
Joined: Wed May 15, 2024 12:17 am

Re: Thunderbird oauth2 Problems

#10 Post 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

Post Reply

Return to “Older Versions”