/[smeserver]/rpms/smeserver-qpsmtpd/sme9/smeserver-qpsmtpd-2.6.0-log_dmarc_send_reports_output.patch |
Parent Directory | Revision Log | Revision Graph
* Thu Aug 3 2017 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-38.sme - Log DMARC reporting in syslog instead of sending email to the admin. Also suppress SSL connection failed warnings [SME: 10401]
1 | vip-ire | 1.1 | diff -Nur smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/etc/crontab/DMARCReports smeserver-qpsmtpd-2.6.0_bz10298/root/etc/e-smith/templates/etc/crontab/DMARCReports |
2 | --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/etc/crontab/DMARCReports 2017-08-03 15:25:52.156607194 +0200 | ||
3 | +++ smeserver-qpsmtpd-2.6.0_bz10298/root/etc/e-smith/templates/etc/crontab/DMARCReports 2017-08-03 15:33:37.313628584 +0200 | ||
4 | @@ -1,6 +1,6 @@ | ||
5 | { | ||
6 | if (( $qpsmtpd{DMARCReporting} || 'disabled' ) =~ m/^1|on|enabled|yes$/){ | ||
7 | - $OUT .= "15 0 * * * qpsmtpd /usr/bin/dmarc_send_reports\n"; | ||
8 | + $OUT .= '15 0 * * * qpsmtpd /usr/bin/dmarc_send_reports 2>&1 | grep -v "SSL connection failed" | logger -t "DMARC Reporting"' . "\n"; | ||
9 | } | ||
10 | else{ | ||
11 | $OUT .= "# DMARC Reporting is disabled\n"; |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |