• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question Bounce emails end up in spam – DMARC triggered on local deliveries?

enerspace

Basic Pleskian
Server operating system version
Almalinux 8.10
Plesk version and microupdate number
18.0.69
Hi everyone,

I’ve encountered a strange behavior on one of my mail servers and I’m wondering if anyone else has experienced something similar – or if this might actually be a bug.

When I send an email from an existing account (e.g. [email protected]) to a non-existent mailbox on a third-party server, I should receive a bounce email from MAILER-DAEMON. However, this bounce message ends up in the spam folder.

My configuration:​

DMARC record (DNS): v=DMARC1; p=quarantine; adkim=s; aspf=s
/etc/psa/dmarc.conf: IgnoreMailFrom example.mydomain.com, ...

Header of the bounce message (before adjustment):​

Code:
Authentication-Results: example.mydomain.com; dmarc=fail (p=QUARANTINE sp=NONE) smtp.from= header.from=example.mydomain.com
Return-Path: <MAILER-DAEMON>
From: [email protected]
Subject: Undelivered Mail Returned to Sender

Here you can clearly see that DMARC is being applied even to locally generated messages – even though IgnoreMailFrom is configured. As a result, the bounce message is marked as suspicious and lands in the spam folder.

However, when I run the following command:​

Code:
plesk bin settings -s mail_dmarc_reject_at_smtp=false && plesk repair mail -y

…the behavior changes. DMARC checks appear to be skipped for locally delivered bounce emails, and the header looks like this

Header of the bounce message (after adjustment):​

Code:
X-Spam-Status: No, score=-0.0 required=7.0 ...
Return-Path: <MAILER-DAEMON>
From: [email protected]
Subject: Undelivered Mail Returned to Sender
...

Is it intended behavior for DMARC to also apply to system-internal messages like bounces? Or am I missing a setting here? The fact that IgnoreMailFrom seems to be ignored feels wrong to me.

Thanks!
 
Back
Top