I run this code:
var_dump(stripos($virtualhost[1], "cold="));
echo '----------------------<br>';
var_dump($virtualhost[1]);
And I get the following result:
bool(false)
----------------------<br>
string(206) "<virtual-mta vmta1-cold=\"\">
bla-bla-bla\"
As you can see, the first var_dump directly contradicts the second. What can this be connected with, and how to avoid or circumvent this?
UPD (closer to reality):
<virtual-mta vmta1-cold="">
<domain *="">
dkim-sign yes
dkim-algorithm rsa-sha256
max-msg-rate 1000000/d
max-cold-virtual-mta-msg 1000000/d
</domain>
smtp-source-host there is a certain IP there is a certain domain
</virtual-mta>