Skip to content

Commit

Permalink
Fix #15 for DMARC
Browse files Browse the repository at this point in the history
This fixes #15 the same way @antedebaas fixed it in f27668c

As stated in #15 I'm not sure how valid setting domain for mailhost is.
  • Loading branch information
Keeper-of-the-Keys authored Dec 19, 2023
1 parent f27668c commit 19c328a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/CheckmailboxCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$dbdomain->setStsVersion("STSv1");
$dbdomain->setStsMode("enforce");
$dbdomain->setStsMaxAge(86400);
$dbdomain->setMailhost($policy->policy->{'policy-domain'});
$dbdomain->setMailhost($dmarcreport->policy_published->domain->__toString());
$this->em->persist($dbdomain);
$this->em->flush();
}
Expand Down

0 comments on commit 19c328a

Please sign in to comment.