I have the plugin loaded: require_resolvable_fromhost and it never seems to
flag unresolvable "MAIL FROM" hosts:

220 XXXXXX ESMTP qpsmtpd 0.84 ready; send us your mail, but not your spam.
HELO .
250 XXXXXX Hi some.host.online [10.1.1.10]; I am so happy to meet you.
MAIL FROM: <t...@should.not.resolve.and.throw.an.error>
250 <t...@should.not.resolve.and.throw.an.error>, sender OK - how exciting
to get mail from you!

I dug into the code, and by changing line #27 from this:
if ($sender->host) {
To this:
if (! $sender->host) {

It starts working as it should:
220 XXXXXX ESMTP qpsmtpd 0.84 ready; send us your mail, but not your spam.
HELO .
250 XXXXXX Hi some.host.online [10.1.1.10]; I am so happy to meet you.
MAIL FROM: <t...@should.not.resolve.and.throw.an.error>
450 FQDN required in the envelope sender (#4.1.8)
MAIL FROM: <tryag...@gmail.com>
250 <tryag...@gmail.com>, sender OK - how exciting to get mail from you!

Anyone experience the same behavior?

Reply via email to