Page 1 of 1

Supress daily DMARC reports

Posted: 11 Apr 2024 19:20
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

Re: Supress daily DMARC reports

Posted: 29 Apr 2024 00:26
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.

Re: Supress daily DMARC reports

Posted: 03 May 2024 13:28
by VAXman65
Thank you!