# Headers malformed?

**URL:** <https://forum.delta.chat/t/headers-malformed/4523>\
**Category:** Mutual Help\
**Created:** [December 27, 2025, 8:05pm UTC](https://forum.delta.chat/t/headers-malformed/4523 "2025-12-27T20:05:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aelius](https://forum.delta.chat/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@aelius](https://forum.delta.chat/u/aelius)\
**Post date:** [December 27, 2025, 8:05pm UTC](https://forum.delta.chat/t/headers-malformed/4523/1 "2025-12-27T20:05:21Z")

</div>

I use fastmail as my provider. For some years now, I’ve had the simple filter:

> move all mail containing header `Chat-Version` to folder DeltaChat

Quite recently (v2.34, I think) this filter has stopped working, and incoming DeltaChat messages are staying in my inbox.

I looked into the headers, and I don’t have a thorough grasp of them to assess if anything is “incorrect”, but there are differences that don’t have obvious utility.

```eml
aelius@PYRRHA ~/Downloads> rg --no-column -C4 '^Chat-Version' ~/Downloads/_old.eml | cat -v
In-Reply-To: <REDACTED>^M
References: <REDACTED>^M
	<REDACTED>^M
	<REDACTED>^M
Chat-Version: 1.0^M
Autocrypt: addr=REDACTED; prefer-encrypt=mutual; keydata=REDACTED^M
	REDACTED^M
	REDACTED^M
	REDACTED^M

```

```eml
aelius@PYRRHA ~/Downloads> rg --no-column -C4 '^Chat-Version' ~/Downloads/_new.eml | cat -v
In-Reply-To: <REDACTED>^M
References: <REDACTED>^M
	<REDACTED>^M
	<REDACTED>^M
Chat-Version: 1.0^M
^M
^M
--18851efc93c36a08_8c6c8f6263f19d3b_35209f1364e0f80a^M
Content-Type: application/pgp-encrypted; charset="utf-8"^M

```

We can see that the older format follows typical expected syntax: `Header: value\n`.  
The newer messages are doing something odd with `Header: value\n\n\n--somestring`.

I’m not sure if the extra newlines are illegal, or if the following --somestring is the culprit, but fastmail (sieve, under the good) is no longer correctly recognizing that the Chat-Version header exists.

(also, where’d autocrypt go?)

I can (probably) rewrite my filter to work, I’m just reporting a possible bug here.

Thanks.

---

<div class="post-metadata">

**Author:** ![rako](https://forum.delta.chat/letter_avatar_proxy/v4/letter/r/e79b87/32.png) [@rako](https://forum.delta.chat/u/rako)\
**Post date:** [January 7, 2026, 7:02am UTC](https://forum.delta.chat/t/headers-malformed/4523/2 "2026-01-07T07:02:15Z")

</div>

The autocrypt header went in the encrypted section as of 2.25: [Android: Delta Chat v2.25.0 released with improved channels!](https://support.delta.chat/t/android-delta-chat-v2-25-0-released-with-improved-channels/4328)

What you’re seeing is not a malformed header, it’s how a normal email is formatted: the headers, 2 newlines, then the body. --something is a part separator to split between the different parts in the body, it’s expected

---

<div class="post-metadata">

**Author:** ![aelius](https://forum.delta.chat/letter_avatar_proxy/v4/letter/a/7feea3/32.png) [@aelius](https://forum.delta.chat/u/aelius)\
**Post date:** [January 8, 2026, 7:26pm UTC](https://forum.delta.chat/t/headers-malformed/4523/3 "2026-01-08T19:26:00Z")

</div>

I think I have identified the issue:

Somehow, deltachat (v2.35, deb install, on debian trixie) is preventing the server from running the rule. It’s only happening when that deltachat client is running and online.

This was not a problem on prior versions and the android app v2.34 isn’t having this effect.
