I am using the Nextcloud add-on 1.8 with Thunderbird 52.9.1. I am not able to configure the add-on properly with the correct syntax for the Nextcloud server name.
First part of the problem:
Using https://my.server.name, Port 443 and my user id I receive message “Beim Einrichten des Kontos trat ein Fehler auf”. According to Apache access.log the error behind that is an HTTP 401. The add-on never asked me for a password.
Second part of the problem:
Using http://my.server.name, Port 443 and my user id, the account can be configured (again without requesting my password - it is not clear to me how it can authenticate this way). Creating mail attachments works, but: the generated link starts with http:// rather than https:// The generated link does not work because http is not allowed on our server.
The server mentioned above is located behind a reverse proxy which has a public IP address and a proper DNS entry, and works fine so far with Nextcloud.
The first part of the problem has been resolved. I deleted the add-on, its xpi file, and cleared the Thunderbird cache. After that the add-on asked me for a pasword also when I specified https://my.server.name.
The second part of the problem still exists. The Download-Link in the email is http instead of https.
If I look at the share created in the /Mail-attachments folder, it is https. So why does it appear as http in the email?
We were able to resolve this issue. It turned out that the following config changes were required:
‘trusted_proxies’ =>
array (
0 => ‘192.168.xxx.xxx’,
),
‘forwarded_for_headers’ =>
array (
0 => ‘HTTP_X_FORWARDED’,
1 => ‘HTTP_FORWARDED_FOR’,
),
‘overwriteprotocol’ => ‘https’,
To summarize, it was first a Thunderbird issue and then a config issue for Nextcloud. The filelink add-on had nothing to do with it.