• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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