Re: Re: Question About Blocking Email Addresses in Forms
| From: | Per Jessen | Date: | Sat, 19 Jan 2008 08:30:11 +0000 |
| Subject: | Re: Re: Question About Blocking Email Addresses in Forms | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267621@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
> On Fri, January 18, 2008 10:41 am, Per Jessen wrote:
>> 2. check that the domain exists and has an MX.
>
> I believe this will foul you up...
>
> I *think* many domains just use their regular domain as MX if there is
> no MX.
We've been using the method on public forms for at least 3 years with no
issues. I have yet to come across a domain that actually does not have
an MX record and just relies on the default working. But if it should
ever become a problem, the check is easily changed to look for an
A-record, which IS required for email-delivery.
> And the Bad Guy can easily change tactics to use blahbalh@php.net or
> whatever, once they figure out you only check for MX records...
> Though it could work as a stop-gap measure at least.
Sure - my two-step validation without CAPTCHA is minimal effort, but
that's good enough for me for the time being.
/Per Jessen, Zürich