Spamassassin & Authenticated Received Headers

Raise/discuss any potential issues with MailEnable for consideration in project issue register.
Post Reply
sl-jasonr
Posts: 28
Joined: Thu Feb 15, 2018 7:22 pm

Spamassassin & Authenticated Received Headers

Post by sl-jasonr » Thu May 20, 2021 8:04 pm

MailEnable Enterprise v10.34

Spamassassin has logic to detect if the last Received header is from an authenticated client in order to bypass filtering checks. (/lib/Mail/SpamAssassin/Message/Metadata/Received.pm)

The syntax MailEnable uses:

Code: Select all

Received: from Workstation ([192.168.0.100]) by example.com with
 MailEnable ESMTPA; Thu, 20 May 2021 13:46:31 -0400
does not match Spamassassin's regex, but something like this does:

Code: Select all

Received: from Workstation ([192.168.0.100]) by example.com with
 ESMTPA; Thu, 20 May 2021 13:46:31 -0400
This causes problems when authenticated clients try to send to a recipient that exists on the same mail server. Particularly, when using Plesk's filtering configuration.

The MailEnable syntax should be changed to work with Spamassassin's regex, or the above file should be patched to account for MailEnable's syntax.

Post Reply