Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Doubt whether the condition is correct #13

@mariuszkrzaczkowski

Description

@mariuszkrzaczkowski

I doubt whether this condition is properly built.

spf-lib/src/Checker.php

Lines 115 to 116 in 793f336

$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', '[email protected]');
$checker = new \SPFLib\Checker();
$checkResult = $checker->check($environment);

Gmail:
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions