🐛 Bug Report: pocket-id notify emails are considered as medium spam by rspamd #303

Closed
opened 2025-10-09 16:38:23 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @alexlehm on GitHub.

Reproduction steps

I am receving my notification emails on a domain that uses rspamd and the mails end up with a score of 7 due to missing standard headers.

To reproduce the issue, create an user with a target email address that uses rspamd and check the spam level of the received mail, it should not be more than 0.x, but is about 7

Expected behavior

The email should contain the following headers
MIME-Version
Date
Message-ID

Also it should not QP-Encode email names if they consist of only ASCII characters

Actual Behavior

The email is missing the headers, most mail servers do not add Date or Message-ID when the mail is not generated by the local UI or a local tool

Version and Environment

version v39
local mail server is postfix, the recipient uses postfix+rspamd

Log Output

No response

Originally created by @alexlehm on GitHub. ### Reproduction steps I am receving my notification emails on a domain that uses rspamd and the mails end up with a score of 7 due to missing standard headers. To reproduce the issue, create an user with a target email address that uses rspamd and check the spam level of the received mail, it should not be more than 0.x, but is about 7 ### Expected behavior The email should contain the following headers MIME-Version Date Message-ID Also it should not QP-Encode email names if they consist of only ASCII characters ### Actual Behavior The email is missing the headers, most mail servers do not add Date or Message-ID when the mail is not generated by the local UI or a local tool ### Version and Environment version v39 local mail server is postfix, the recipient uses postfix+rspamd ### Log Output _No response_
OVERLORD added the bug label 2025-10-09 16:38:23 +03:00
Author
Owner

@alexlehm commented on GitHub:

I have fixed the issue on a local test program already, due to a version conflict with my fork of the repo I cannot commit it right now, but will do so tomorrow

@alexlehm commented on GitHub: I have fixed the issue on a local test program already, due to a version conflict with my fork of the repo I cannot commit it right now, but will do so tomorrow
Author
Owner

@alexlehm commented on GitHub:

yes, i will submit it tonight

@alexlehm commented on GitHub: yes, i will submit it tonight
Author
Owner

@kmendell commented on GitHub:

To confirm you have a PR coming for this?

@kmendell commented on GitHub: To confirm you have a PR coming for this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-2#303