DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

DMARC email reports from Gmail are rejected (return to the sender)

| 00:00:58 07.02.2017

One of users on Directadmin forums reported the issue:

I have set up dmarc on the server. I am receiving daily reports from Yahoo and Hotmail with no problem. But email reports from Gmail from address: noreply-dmarc-support@google.com are frozen and rejected by the server.

Here is one possible fix for this case

Let's say you have dmarc-reports@example.com (it's just an example, you should change it to your desired email address) to which you want to receive reports, so you need to add

if "$h_to:, $h_cc:" contains dmarc-reports@example.com
then
    headers add "X-System-Filter: yeh"
    finish
endif

in to /etc/system_filter.exim after lines:

## The install notes are not a replacement for the exim documentation
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

before

## -----------------------------------------------------------------------
# Only run any of this stuff on the first pass through the

Be careful if you use your personal email address here as no filtering of attachments will be done to delivery emails into it after you modify /etc/system_filter.exim.


P.S. This article does not cover a process of adding needed records into DNS zone of your domain, so that you could start receiving DMARC reports. This article only instructs on how to stop exim from filtering emails'  attachments for a particular email address which is handled by exim on your Directadmin server.

About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.




All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition