Skip to content

Commit

Permalink
Fix mailhost for new DMARC domain. fixes #15 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keeper-of-the-Keys authored Dec 30, 2023
1 parent f27668c commit dfaa93a
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 dfaa93a

Please sign in to comment.