Supress daily DMARC reports

Request and discuss new features you would like to have.
Post Reply
VAXman65
Posts: 22
Joined: 23 Feb 2020 20:01

Supress daily DMARC reports

Post by VAXman65 »

In viewtopic.php?t=5144 we discussed suppressing the daily DMARC reports because it generated so many outbound emails. I think this issue would come up from time to time for home users that have to endure an ISP that does not permit outbound SMTP. For such situations, a proxy service is required and these will likely meter usage of their proxy (i.e. $$).

We were able to identify the /etc/cron.daily/eFa-Daily-DMARC job as being the culprit and skipping the job as the fix. While this works, it gets put back in place any time there is a software update. I also tried modifying the script it points to to bypass one line:

Code: Select all

#/usr/sbin/opendmarc-reports -dbhost=${DBHOST} -dbuser=${DBUSER} -dbpasswd=${DBPASS} -dbname=${DBNAME} -interval=86400 -report-email $DMARCRepEmail -report-org $DMARCRepDomain -smtp-server=127.0.0.1 >/dev/null 2>&1
but this also gets put back with software updates.

Can we get a parameter to govern execution of this script or at least this one line in it? That way, the big consumer of SMTP sending quota is controlled and it will survive software updates
User avatar
shawniverson
Posts: 3760
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Supress daily DMARC reports

Post by shawniverson »

In update 4.0.4-43, you will find a setting at /etc/sysconfig/eFa-Daily-DMARC

Code: Select all

SENDREPORTS="yes"
Set this to "no" to suppress the daily reports.
VAXman65
Posts: 22
Joined: 23 Feb 2020 20:01

Re: Supress daily DMARC reports

Post by VAXman65 »

Thank you!
Post Reply