Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多
封存

Prevent Thunderbird from stripping custom headers (e.g. X-Alias) on sending

fisoc70290

Hi everyone,

I'm working on a privacy-friendly email setup and ran into a challenge with Thunderbird.

My setup: I have a catch-all email address that forwards all incoming emails sent to *@mydomain.com to my real mailbox, secret@mydomain.com. This way, I can use aliases like alias1@mydomain.com, alias2@mydomain.com, etc., without exposing my actual address.

This part works perfectly.

The problem: When replying to a message sent to alias1@mydomain.com, Thunderbird automatically uses secret@mydomain.com as the sender address. That defeats the purpose — the recipient now sees my secret address, which I wanted to keep hidden.

Thunderbird offers a workaround via identities, but it requires creating a separate identity for every single alias, which becomes unmanageable if you use a lot of them.

My attempted solution: My idea was to have my mail server insert a header like:

X-Alias: alias1@mydomain.com

Then, on sending, the server could rewrite the From: header using that value — thus preserving the alias and protecting my actual address.

However, I discovered that Thunderbird strips custom headers like X-Alias when sending. That breaks the solution.

My questions: 1. Is there any way to configure Thunderbird to preserve specific custom headers like X-Alias during sending? 2. Alternatively, is there a better or recommended approach to achieving what I’m trying to do — replying from the alias address automatically, without exposing the real one, and without creating hundreds of identities?

I’d really appreciate any ideas, insights, or suggestions. Thank you!

Hi everyone, I'm working on a privacy-friendly email setup and ran into a challenge with Thunderbird. My setup: I have a catch-all email address that forwards all incoming emails sent to *@mydomain.com to my real mailbox, secret@mydomain.com. This way, I can use aliases like alias1@mydomain.com, alias2@mydomain.com, etc., without exposing my actual address. This part works perfectly. The problem: When replying to a message sent to alias1@mydomain.com, Thunderbird automatically uses secret@mydomain.com as the sender address. That defeats the purpose — the recipient now sees my secret address, which I wanted to keep hidden. Thunderbird offers a workaround via identities, but it requires creating a separate identity for every single alias, which becomes unmanageable if you use a lot of them. My attempted solution: My idea was to have my mail server insert a header like: X-Alias: alias1@mydomain.com Then, on sending, the server could rewrite the From: header using that value — thus preserving the alias and protecting my actual address. However, I discovered that Thunderbird strips custom headers like X-Alias when sending. That breaks the solution. My questions: 1. Is there any way to configure Thunderbird to preserve specific custom headers like X-Alias during sending? 2. Alternatively, is there a better or recommended approach to achieving what I’m trying to do — replying from the alias address automatically, without exposing the real one, and without creating hundreds of identities? I’d really appreciate any ideas, insights, or suggestions. Thank you!

由 fisoc70290 於 修改

所有回覆 (3)

Have you tried Firefox Relay Premium?

jgram2025 said

Have you tried Firefox Relay Premium?

No, and I don't want to — because I don't trust any infrastructure I don't control myself. That's why I prefer having my own solution.

Why do you think Firefox offers this service? All emails go through their system, and they can see and read your messages. Even if the content is encrypted, they still see the metadata — enough to build a user profile, especially with KYC-based payments.

any ideas? where are the mozilla supporter?