On 2003-12-19 13:11:11 -0800, Ask Bj�rn Hansen wrote:
> 
> On Dec 19, 2003, at 12:38 PM, Roger Walker wrote:
> 
> >     Why must the config/require_resolvable_fromhost be set with a
> >value?
> 
> That's not right, maybe you are confusing it with the 
> count_unrecognized_commands plugin.

No, he doesn't. At least in 0.26, require_resolvable_fromhost checks
whether $self->qp->config("require_resolvable_fromhost") is true.

> >that if an MX or IP is localhost or private (i.e. 10.0.0.1), that the 
> >connection should be dropped with a 5xx error;
> 
> Why?

Suppose a spammer registers a domain spammers-r.us, adds these DNS
records:

spammers-r.us           MX      10 mail.spammers-r.us
mail.spammers-r.us      A       127.0.0.1

and sends mails with a sender <[EMAIL PROTECTED]>. You obviously
cannot send mail to <[EMAIL PROTECTED]>, but the
require_resolvable_fromhost plugin doesn't realize that 127.0.0.1 is
just as bad as no A record at all.

But I don't think this is usual spammer's behaviour. Normally they use
somebody else's domain not their own with a bogus IP address.

        hp

-- 
   _  | Peter J. Holzer    | In this vale
|_|_) | Sysadmin WSR       | Of toil and sin
| |   | [EMAIL PROTECTED]         | Your head grows bald
__/   | http://www.hjp.at/ | But not your chin.           -- Burma Shave

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to