/[smeserver]/rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-fix_disabling_dmarc_reports.patch
ViewVC logotype

Annotation of /rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-fix_disabling_dmarc_reports.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Wed Dec 16 16:49:17 2020 UTC (3 years, 10 months ago) by jcrisp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Initial import

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_bz9206/root/etc/e-smith/templates/etc/crontab/DMARCReports
2     --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/etc/crontab/DMARCReports 2016-06-17 23:11:10.101051183 +0200
3     +++ smeserver-qpsmtpd-2.6.0_bz9206/root/etc/e-smith/templates/etc/crontab/DMARCReports 2016-06-17 23:12:52.133017185 +0200
4     @@ -1,8 +1,8 @@
5     {
6     - if (( $qpsmtpd{DMARCReporting} || '1' ) =~ m/^1|on|enabled|yes$/){
7     + if (( $qpsmtpd{DMARCReporting} || 'enabled' ) =~ m/^1|on|enabled|yes$/){
8     $OUT .= "15 0 * * * qpsmtpd /usr/bin/dmarc_send_reports\n";
9     }
10     else{
11     - $OUT .= "DMARC Reporting is disabled\n";
12     + $OUT .= "# DMARC Reporting is disabled\n";
13     }
14     }
15     diff -Nur smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/223dmarc smeserver-qpsmtpd-2.6.0_bz9206/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/223dmarc
16     --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/223dmarc 2016-06-17 23:11:10.100051184 +0200
17     +++ smeserver-qpsmtpd-2.6.0_bz9206/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/223dmarc 2016-06-17 23:12:14.620029665 +0200
18     @@ -1 +1 @@
19     -dmarc reject { (( $qpsmtpd{DMARCReject} || '1' ) =~ m/^1|on|enabled|yes$/) ? '1' : '0' } reporting { (( $qpsmtpd{DMARCReporting} || '1' ) =~ m/^1|on|enabled|yes$/) ? '1' : '0' }
20     +dmarc reject { (( $qpsmtpd{DMARCReject} || 'enabled' ) =~ m/^1|on|enabled|yes$/) ? '1' : '0' } reporting { (( $qpsmtpd{DMARCReporting} || 'enabled' ) =~ m/^1|on|enabled|yes$/) ? '1' : '0' }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed