Index | Thread | Search

From:
Christian Schulte <cs@schulte.it>
Subject:
Re: Override HTML and format flowed defaults in mozilla-thunderbird
To:
ports@openbsd.org
Date:
Wed, 2 Oct 2024 18:52:35 +0200

Download raw body.

Thread
On 10/2/24 10:26, Stuart Henderson wrote:
> On 2024/10/02 03:51, Christian Schulte wrote:
>> Hello @ports,
>>
>> considering someone using Thunderbird on OpenBSD would very unlikely
>> want to send HTML mails or plaintext messages with format flowed, maybe
> 
> what makes you think that?

<http://www.openbsd.org/mail.html>

Someone using OpenBSD will sooner or later want to ask for help on
various topics. They will find the netiquette for doing so and would
then need to research how to setup Thunderbird to adhere to those rules,
or will stick to the defaults. Those defaults are not set in stone. If
you search for "mail.override_list_reply_to" or
"mail.default_send_format" for example, you will find quite a lot of
confusion about those settings and quite some discussions about them in
the various issue trackers.

> 
>> it would be ok to override some defaults of Thunderbird to stop it doing
>> so by default.
>>
>> Would this be in option for the port?
>>
>> Index: mail/mozilla-thunderbird/files/all-openbsd.js
>> ===================================================================
>> RCS file: /cvs/ports/mail/mozilla-thunderbird/files/all-openbsd.js,v
>> retrieving revision 1.4
>> diff -u -p -u -r1.4 all-openbsd.js
>> --- mail/mozilla-thunderbird/files/all-openbsd.js	1 Nov 2019 08:38:07 -0000	1.4
>> +++ mail/mozilla-thunderbird/files/all-openbsd.js	2 Oct 2024 01:37:37 -0000
>> @@ -2,3 +2,8 @@
>>  // enable systemwide extensions by default
>>  pref("extensions.autoDisableScopes", 3);
>>  pref("spellchecker.dictionary_path", "${LOCALBASE}/share/mozilla-dicts/");
>> +pref("mailnews.send_plaintext_flowed", false);
>> +pref("mail.html_compose", false);
>> +pref("mail.identity.default.compose_html", false);
>> +pref("mail.default_send_format", 1);
>> +pref("mail.override_list_reply_to", false);
> 
> seems like something to set yourself, or at most document in a
> pkg-readme.
> 

Displaying some information about how to setup Thunderbird to adhere to
the netiquette after installation would help already. Issue is, for some
of those preferences there is no UI and you'd have to research this
yourself. Also defaults change from one version to another from time to
time. Mostly after heavy discussions in some bug reports. Currently you
could as well display "Please do not use Thunderbird for posting to
mailing lists, as it will by default not adhere to preferred formats on
mailing lists." Not talking about OpenBSD mailing lists specifically
here. Giving some hints about how to do this, or even providing an
example user.js would be very helpful. Normally, you would not want to
tweak any options in the config editor without reading about what to
change, why to change it and what consequences a change has. This is
very time consuming and you'd read about various opinions about various
options and would get confused quite fast.

-- 
Christian