Skip to content

🪲: Headers and body stripped from mail delivery subsystem failure notifications #2344

@kosmavision

Description

@kosmavision

What happened?

All headers other than DKIM-Signature, To, From, Message-Id, and Date are being stripped from the original rfc822 message attached to delivery failure notifications. The body is also being stripped.

I also noticed that in some cases, in the attached rfc822 message the To header is stripped, while in other cases the From header is removed.

This makes any sort of automated bounce processing difficult. Is there a configuration option I'm missing somewhere that controls this?

How can we reproduce the problem?

I can reproduce the problem by doing the following steps:

Sending email with custom X-headers to a non-existent domain.

Version

v0.14.x

What database are you using?

RocksDB

What blob storage are you using?

RocksDB

Where is your directory located?

None

What operating system are you using?

Linux

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions