~rjarry/aerc-discuss

3 2

Disable X-Mailer header

Details
Message ID
<RCLWw1JLvzQ1CByox3tgye1_Z3MXbPVD6D8hUb7jd0gFBZybQCgBVWrABjoyunfQs0rMnqDXRdAIWM3YKnMpkC9kgIOLKGQhFYk9HrEg7-4=@protonmail.com>
DKIM signature
pass
Download raw message
Sending an email from aerc also sends an X-Mailer header with aerc name and
version included.

Is there an option to disable that?

-- Avid Seeker
Details
Message ID
<D503JPFRI450.BTMGL52UW89J@ferdinandy.com>
In-Reply-To
<RCLWw1JLvzQ1CByox3tgye1_Z3MXbPVD6D8hUb7jd0gFBZybQCgBVWrABjoyunfQs0rMnqDXRdAIWM3YKnMpkC9kgIOLKGQhFYk9HrEg7-4=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
On Sat Oct 19, 2024 at 23:05, Avid Seeker <avidseeker7@protonmail.com> wrote:
> Sending an email from aerc also sends an X-Mailer header with aerc name and
> version included.
>
> Is there an option to disable that?
>
> -- Avid Seeker

You just need to remote it from the "new_message" template. See TEMPLATES in
man aerc-config.

Best,
Bence

-- 
bence.ferdinandy.com
Details
Message ID
<ucGFAQbkAxNnTHER4IaTutdcFdRm4RlSlUxyH9bvVh2PbXtQpKgwbuudiJ40aMKhRhS_3jYPFKecOMYcSiG7PdK_NznMdoY1MpaVsIV36tw=@protonmail.com>
In-Reply-To
<D503JPFRI450.BTMGL52UW89J@ferdinandy.com> (view parent)
DKIM signature
pass
Download raw message
On Saturday, October 19th, 2024 at 14:22, Bence Ferdinandy <bence@ferdinandy.com> wrote:
> You just need to remote it from the "new_message" template. See TEMPLATES

Thank you, the following worked for me.  In case this to be added as a FAQ in the Wiki...

```sh
rsync -a /usr/share/aerc/templates "$XDG_CONFIG_HOME"/aerc/
sed -i '/^X-Mailer:/d' "$XDG_CONFIG_HOME"/aerc/templates/*
```

-- Avid Seeker
Details
Message ID
<D5048J2UIAYJ.1HWPKPRLGP62I@ferdinandy.com>
In-Reply-To
<ucGFAQbkAxNnTHER4IaTutdcFdRm4RlSlUxyH9bvVh2PbXtQpKgwbuudiJ40aMKhRhS_3jYPFKecOMYcSiG7PdK_NznMdoY1MpaVsIV36tw=@protonmail.com> (view parent)
DKIM signature
missing
Download raw message
On Sat Oct 19, 2024 at 23:49, Avid Seeker <avidseeker7@protonmail.com> wrote:
> On Saturday, October 19th, 2024 at 14:22, Bence Ferdinandy <bence@ferdinandy.com> wrote:
>> You just need to remote it from the "new_message" template. See TEMPLATES
>
> Thank you, the following worked for me.  In case this to be added as a FAQ in the Wiki...
>
> ```sh
> rsync -a /usr/share/aerc/templates "$XDG_CONFIG_HOME"/aerc/
> sed -i '/^X-Mailer:/d' "$XDG_CONFIG_HOME"/aerc/templates/*
> ```

Patches to the wiki are always welcome :)
Reply to thread Export thread (mbox)