I doubt whether this condition is properly built.
|
$heloDomain = $environment->getHeloDomain(); |
|
if ($heloDomain === '' || strcasecmp($heloDomain, $environment->getMailFromDomain()) !== 0) { |
strcasecmp('s2.yetiforce.com', 'xxyr.com') = -5
'xxyr.com' is a fictional domain
Example:
$environment = new \SPFLib\Check\Environment('54.38.127.118', 's2.yetiforce.com', 'test@xxyr.com');
$checker = new \SPFLib\Checker();
$checkResult = $checker->check($environment);
Gmail:

https://www.appmaildev.com/en/dkimfile

I doubt whether this condition is properly built.
spf-lib/src/Checker.php
Lines 115 to 116 in 793f336
strcasecmp('s2.yetiforce.com', 'xxyr.com') = -5
'xxyr.com' is a fictional domain
Example:
Gmail:

https://www.appmaildev.com/en/dkimfile
