On 14/05/2021 11:44, Ottavio Caruso wrote: > Hi, > > For the lack of a dedicated Thunderbird mailing list, I am forced to > ask here. > > I am using Debian Buster. I have set up a custom header (X-no-archive) > using this guide: > https://www.lifewire.com/arbitrary-custom-heading-email-thunderbird-1173089 > > > It works fine, but I have to click on the double arrows (top right) > all the time and then type "Yes" > > Is there a way to have this header with a default value "Yes" attached > to all outgoing messages automatically? > > My guess is it is probably not possible, but you never know. Thanks.
One way to do this would be to run your own Mail Transfer Agent (MTA) such as exim, postfix etc. This would become the SMTP server to which Thunderbird passes the message. You would configure the MTA to add the required header and then forward all messages to the next SMTPĀ erver (which is probably your ISP's SMTP server). This MTA could, conceivably, run on the same host as Thunderbird (e.g. a laptop). For postfix, for example, you would read http://www.postfix.org/STANDARD_CONFIGURATION_README.htm to get started. The header addition would be achieved either with PREPEND header_check (http://www.postfix.org/header_checks.5.html) or by configuring the AlterMIME milter (http://www.postfix.org/header_checks.5.html) in the case that you feel like you might want to do more mail manipulation later. > > -- > Ottavio Caruso > >
OpenPGP_signature
Description: OpenPGP digital signature