Missing Headers in outgoing mails

Infos:

  • Used Zammad version: 6.3.1-1721805003.877871eb.bookworm
  • Used Zammad installation type: package
  • Operating system: Debian 12
  • Browser + version: Chrome 128.0.6613.138

Expected behavior:

  • An outgoing mail should retain the Gitlab specific headers.
    This would enable automatic assignment in Gitlab.

Actual behavior:

  • An incoming email from Gitlab is assigned to a ticket and as soon as you reply by email from Zammad, all Gitlab-specific X-headers (e.g. X-GitLab-Issue-ID: 12345) are no longer existent in the sent email.
    Unfortunately, this means that Gitlab is unable to assign the email to a specific issue and replies with an error.

Steps to reproduce the behavior:

  • Trigger mail from Gitlab to zammad
  • Reply in Zammad via Mail

Hi,

anyone an idea how to convince zammad to leave the x-headers in the mail?

There is no way to keep them where they are.
I just checked with a Github mail in my Thunderbird: My thunderbird also removes the X-Headers. I personally think that this is expected, because these headers are relevant for the current routing of the mail (so when you received it), not for sending it.