1 |
vip-ire |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpŝmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/223dmarc mezzanine_patched_smeserver-qpŝmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/223dmarc |
2 |
|
|
--- smeserver-qpŝmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/223dmarc 2016-04-28 18:38:02.510409058 +0200 |
3 |
|
|
+++ mezzanine_patched_smeserver-qpŝmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/223dmarc 2016-04-28 18:37:42.177408037 +0200 |
4 |
|
|
@@ -1 +1 @@ |
5 |
|
|
-dmarc reject { $qpsmtpd{DMARCReject} || '0' } reporting { $qpsmtpd{DMARCReporting} || '0' } |
6 |
|
|
+dmarc reject { (( $qpsmtpd{DMARCReject} || '1' ) =~ m/^1|on|enabled|yes$/) ? '1' : '0' } reporting { (( $qpsmtpd{DMARCReporting} || '1' ) =~ m/^1|on|enabled|yes$/) ? '1' : '0' } |