Skip to content

Commit fde74a4

Browse files
authored
Merge pull request #1019 from lnicolas83/dkim_without_dns
Postinstall: Remove domain from dkim_extra only if domain exist and h…
2 parents 9fb5366 + d03a30f commit fde74a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postinstall.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ sub module_install
495495
my @newextra;
496496
foreach my $e (@{$dkim->{'extra'}}) {
497497
my $d = &get_domain_by("dom", $e);
498-
if ($d) {
498+
if ($d && $d->{'dns'} eq '1') {
499499
&lock_domain($d);
500500
$d->{'dkim_enabled'} = 1;
501501
&save_domain($d);

0 commit comments

Comments
 (0)