1

Topic: Content filter emails

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version: 0.9.5-1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I received a DMARC report.  The issue is reject emails are being sent out by the content filter and it's using postmaster@server.sub.domain.tld instead of postmaster@domain.tld so it's failing DMARC.

First off, how do I configure the content filter email sender name, and second, can the reject emails be disabled for people outside of my domain or disabled completely?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Content filter emails

dittman wrote:

I received a DMARC report.  The issue is reject emails are being sent out by the content filter and it's using postmaster@server.sub.domain.tld instead of postmaster@domain.tld so it's failing DMARC.

Content filter used by iRedMail is Amavisd, it doesn't sent out email as "postmaster@xxx". Are you sure it's sent out by content filter?

3

Re: Content filter emails

Here are the headers that were received by the remote system:

Received: from mail.dittman.net ([71.164.188.18] helo=clarke.int.dittman.net)
    by mx21.antispamcloud.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
    (Exim 4.89)
    id 1eRJKn-000146-72
    for eecalex@pccplastic.com; Tue, 19 Dec 2017 15:57:33 +0100
Received: from clarke.int.dittman.net (clarke.int.dittman.net [127.0.0.1])
    by clarke.int.dittman.net (Postfix) with ESMTP id 237A08253397
    for <eecalex@pccplastic.com>; Tue, 19 Dec 2017 08:57:29 -0600 (CST)
Content-Type: multipart/report; report-type=delivery-status;
boundary="----------=_1513695449-13506-0"
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Subject: BANNED contents from you (.exe,.exe-ms,QUOTATION.exe)
In-Reply-To: <fc4212bc31e7cd416cfd5819bfab07a7@ikka-itv.com.vn>
Message-ID: <VS5leUL1GYNaZ3@clarke.int.dittman.net>
From: "Content-filter at clarke.int.dittman.net" <postmaster@clarke.int.dittman.net>
To: <eecalex@pccplastic.com>
Date: Tue, 19 Dec 2017 08:57:17 -0600 (CST)
X-Sender-Warning: clarke.int.dittman.net has no MX records

4

Re: Content filter emails

Do you have this incorrect hostname in Amavisd config file?

5

Re: Content filter emails

ZhangHuangbin wrote:

Do you have this incorrect hostname in Amavisd config file?

Yes.  I checked just now and $mydomain is set to clarke.int.dittman.net and @mynetworks is back to the default as well.  I thought this was all configured during setup.  I need to read through the Amavisd docs to see what I need to update.