• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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