PDA

View Full Version : Tutorial/FIX: Thunderbird and localhost server (Proton Bridge) fixing issues



Fli
04-10-2024, 06:48 AM
Thunderbird 102.13.1 (64-bit) on Linux Debian 11 (oldstable) shown an Add security exception window:
https://i.stack.imgur.com/wA2hY.png
https://i.postimg.cc/5Nf1Bq4Q/Proton-Bridge-Thunderbird-mail-sending-1.webp

This was a result of adding new IMAP account for Proton Bridge. "Get certificate" button shown on the screenshot, not did anything. My Thunderbird has a working SOCKS proxy defined in its settings.
Confirming the exception above, triggered next window saying that the message can not be sent and that "The certificate is not trusted because it is self-signed."

https://i.postimg.cc/vHXy3gTq/Proton-Bridge-Thunderbird-mail-sending-2.webp (https://postimages.org/)


First thing to try may be this:
Right-click the account in Thunderbird → Account Settings and make the following changes:

- Server settings → Set Connection Security to None.

- If Thunderbird fails to send mail from proton account, then also check the Account Settings → Outgoing → Click your proton 127.0.0.1 → Edit → Set Connection Security to None → Save.

- Authentication Method: Normal Password
 
(or Password, insecure)
It is not insecure in this case, because we are transmitting data locally from the client to the bridge and the data from the bridge to Proton are encrypted.

If above mentioned does not work, then continue reading:

After like 45 minutes of research and trying, I have found a workaround to that:

Thunderbird / Edit / Settings / General, scroll all the way to the bottom and click "Config Editor..." button, paste into a search bar "network.security.ports.banned.override", it finds one entry, click number, plus button and paste SMTP port number used in your sending e-mail account settings - SMTP server port for which mail sending fails. Confirm by clicking the tick mark.

After trying to send the mail again, now the message was:
"An error occurred while sending mail. The mail server responded: Error: no such user. Please check the message and try again."

I have fixed it by going to Thunderbird / Edit / Account settings / my failing account / Outgoing server / my failing account / Edit / set "Authentication method" from empty to "Normal password".

Then the error when sending changed and was:
"Your message was sent but a copy was not placed in your sent folder (Sent) due to network or file access errors.
You can retry or save the message locally to 0000-2020/[email protected]"

I have selected "Save" which created the sub-folder [email protected] inside folder 0000-2020

Now i could work around that "copy was not placed in your sent folder" error like this: Edit / Account Settings / my failing account / Copies & Folders / under When sending messages, automatically, under the box Place a copy in: touch the Other: button / 0000-2020 / [email protected]

Now messages gets saved properly inside that "custom" folder 0000-2020/[email protected]

I am wondering if this issue happen in latest Thunderbird version or what can be done to fix this not needing to research and repeat these workarounds.