[Users] [Bug 4845] New: Message-ID of the form [token]@[domain] should be possible (and possibly the default)

noreply at claws-mail.org noreply at claws-mail.org
Wed Feb 12 14:53:32 UTC 2025


https://www.claws-mail.org/bugzilla/show_bug.cgi?id=4845

            Bug ID: 4845
           Summary: Message-ID of the form [token]@[domain] should be
                    possible (and possibly the default)
           Product: Claws Mail
           Version: 4.3.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Other
          Assignee: users at lists.claws-mail.org
          Reporter: hanno at hboeck.de

I noticed that rspamd gives spam points for the Message-ID in my mails, and
there is no way to configure claws-mail easily in a way that would prevent it.

By default, claws generates a Message-ID of the form
[datetime_as_number].[somethingrandom]@[hostname]
The hostname is the local configured system hostname, which is usually not a
valid domain name.
rspamd has a rule for that called MID_RHS_NOT_FQDN which gives 0.5 spam points.

claws has an option
"Send account mail address in Message-ID"
in theh account settings that generates a message id of the form
[datetime_as_number].[somethingrandom].[mailaddress]
This avoids the above, as we end up with a valid FQDN, but rspamd has another
rule MID_CONTAINS_FROM that matches here if the full mail address is contained.

I should say here that, as far as I can tell, neither of those are invalid
according to mail specs, and I do not know what the motivation for those rules
in rspamd is or whether they are particularly wise. But from a pragmatic point
of view, and knowing that rspamd is widely used, I'd prefer to send mails that
do not needlessly trigger spam classification rules.

Looking at mails from other applications and senders, it seems to me that
overwhelmingly, it is common practice to have Message-IDs of the form
[some_random_token]@[some_valid_hostname]
The hostname is not necessarily the one of the sender, but it can be.

I would suggest that claws provides a way to have a Message-ID of the form
[datetime_as_number].[somethingrandom]@[maildomain]
It may even be a good idea to make this the default.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list