Skip to content

Rejected mails released from quarantine lack "Received" header and spam reportย #7000

@ralfbergs

Description

@ralfbergs

Contribution guidelines

Checklist prior issue creation

  • I understand that failure to follow below instructions may cause this issue to be closed.
  • I understand that vague, incomplete or inaccurate information may cause this issue to be closed.
  • I understand that this form is intended solely for reporting software bugs and not for support-related inquiries.
  • I understand that all responses are voluntary and community-driven, and do not constitute commercial support.
  • I confirm that I have reviewed previous issues to ensure this matter has not already been addressed.
  • I confirm that my environment meets all prerequisite requirements as specified in the official documentation.

Description

I noticed that a "rejected" message that was quarantined and later released into the inbox does not have a "Received" header that indicates when the message was originally received by the mailcow host.

There is a "Received" header that indicates when the message was released from quarantine (which I herewith acknowledge as being a positive surprise!), but you can't reproduce how and when the message reached the mailcow host.

The message also lacks a "spam report" in the header of the message, so that you can understand why the message collected such a big spam score so that it was rejected.

Steps to reproduce:

  1. Wait until you receive a message that has such a large spam score that the original message is rejected, and a copy of the message is quarantined.
  2. Release the message from quarantine into your inbox.
  3. Note that a "Received" header for the original receipt of the message on the mailcow host is missing as well as the X-Spamd-Result header with the identified spam tags.

Logs:

N/A

Which branch are you using?

master (stable)

Which architecture are you using?

x86_64

Operating System:

Debian GNU/Linux 13 (trixie)

Server/VM specifications:

N/A

Is Apparmor, SELinux or similar active?

N/A

Virtualization technology:

N/A

Docker version:

N/A

docker-compose version or docker compose version:

N/A

mailcow version:

2025-12a

Reverse proxy:

N/A

Logs of git diff:


Logs of iptables -L -vn:

N/A

Logs of ip6tables -L -vn:

N/A

Logs of iptables -L -vn -t nat:

N/A

Logs of ip6tables -L -vn -t nat:

N/A

DNS check:

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions