From 5affc13406a5dbe7b0fea67ba06faec80743355a Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 27 Oct 2019 10:09:09 -0700 Subject: [PATCH] Also fix DMARC order in swebmin https://github.com/virtualmin/virtualmin-gpl/issues/117 --- bind8/records-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind8/records-lib.pl b/bind8/records-lib.pl index 03ac284d6..173925061 100755 --- a/bind8/records-lib.pl +++ b/bind8/records-lib.pl @@ -824,7 +824,7 @@ sub join_dmarc { my ($dmarc) = @_; my @rv = ( "v=DMARC1" ); -foreach my $s ("pct", "ruf", "rua", "p", "sp", "adkim", "aspf") { +foreach my $s ("p", "pct", "ruf", "rua", "sp", "adkim", "aspf") { if ($dmarc->{$s} && $dmarc->{$s} ne '') { push(@rv, $s."=".$dmarc->{$s}); }