User name: Rasp
TITLE
[PES extension] SPF always passes on incoming email when local SPF rule is set
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
CentOS 7.8.2003, Version 17.8.11 Update #85, Plesk Email Security Extension version 1.0.5-184 (free version)
PROBLEM DESCRIPTION
When the PES Extension is installed when a local SPF rule is set in Plesk all incoming email messages seem to pass the SPF check. Even when messages are send from an unauthorized server/domain with a strict SPF rule.
When looking at the headers of received email message there is always the line:
All headers from a received message send from a gmail account.
STEPS TO REPRODUCE
1) Set a local SPF rule (I've set include:spf.antispamcloud.com)
2) Install the Plesk Email Security Extension (free version)
3) Setup an domain and a mailbox (if you do not have one already)
4) Send an email to that mailbox and view the email headers of that message
ACTUAL RESULT
Email messages always pass SPF check
EXPECTED RESULT
PES should adhere to the SPF rules
ANY ADDITIONAL INFORMATION
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
[PES extension] SPF always passes on incoming email when local SPF rule is set
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
CentOS 7.8.2003, Version 17.8.11 Update #85, Plesk Email Security Extension version 1.0.5-184 (free version)
PROBLEM DESCRIPTION
When the PES Extension is installed when a local SPF rule is set in Plesk all incoming email messages seem to pass the SPF check. Even when messages are send from an unauthorized server/domain with a strict SPF rule.
When looking at the headers of received email message there is always the line:
Code:
Received-SPF: pass (example.hostname.com: localhost is always allowed.) client-ip=127.0.0.1; [email protected]; helo=localhost;
All headers from a received message send from a gmail account.
Code:
Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from localhost (unknown [127.0.0.1])
by example.hostname.com (Postfix) with ESMTP id 951E1852AB1
for <[email protected]>; Sat, 9 May 2020 10:02:55 +0000 (UTC)
Authentication-Results: example.hostname.com;
dkim=pass header.d=gmail.com;
spf=pass (sender IP is 127.0.0.1) [email protected] smtp.helo=localhost
Received-SPF: pass (example.hostname.com: localhost is always allowed.) client-ip=127.0.0.1; [email protected]; helo=localhost;
X-Spam-Flag: NO
X-Spam-Score: -0.096
X-Spam-Level:
X-Spam-Status: No, score=-0.096 tagged_above=-9999 required=8
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001,
TVD_SPACE_RATIO=0.001] autolearn=ham autolearn_force=no
Authentication-Results: example.hostname.com (amavisd-new);
dkim=pass (2048-bit key) header.d=gmail.com
Received: from example.hostname.com ([127.0.0.1])
by localhost (example.hostname.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id jqjJG-c4FfaU for <[email protected]>;
Sat, 9 May 2020 12:02:54 +0200 (CEST)
Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130])
by example.hostname.com (Postfix) with ESMTPS id 71C5A81BD3D
for <[email protected]>; Sat, 9 May 2020 12:02:54 +0200 (CEST)
Received-SPF: none (example.hostname.com: no valid SPF record)
Received: by mail-il1-x130.google.com with SMTP id b18so3784340ilf.2
for <[email protected]>; Sat, 09 May 2020 03:02:54 -0700 (PDT)
X-Received: by 1001:xxx:xxx:: with SMTP id b16mr7111433ilf.297.1589018571852;
Sat, 09 May 2020 03:02:51 -0700 (PDT)
MIME-Version: 1.0
From: The best server Admin <[email protected]>
Date: Sat, 9 May 2020 12:02:40 +0200
Message-ID: <CAGRcP3+EdyYgoNmicEYtSRod7mAOOC+zwRbuBR89p0Czt3hihA@mail.gmail.com>
Subject: Hello world
To: [email protected]
STEPS TO REPRODUCE
1) Set a local SPF rule (I've set include:spf.antispamcloud.com)
2) Install the Plesk Email Security Extension (free version)
3) Setup an domain and a mailbox (if you do not have one already)
4) Send an email to that mailbox and view the email headers of that message
ACTUAL RESULT
Email messages always pass SPF check
EXPECTED RESULT
PES should adhere to the SPF rules
ANY ADDITIONAL INFORMATION
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
Last edited: