Re: testing email deliverability... [message #186048 is a reply to message #186047] |
Thu, 05 June 2014 12:51 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 05/06/14 11:59, AvdB wrote:
> "The Natural Philosopher" <tnp(at)invalid(dot)invalid> schreef in bericht
> news:lmoeok$5v6$1(at)news(dot)albasani(dot)net...
>> what I want is a function like
>>
>> is_valid_mail("user12345(at)gmail(dot)com")
>>
>> that will return true or false if gmail accepts the user as known (yes
>> the spam is always @gmail.com) WITHOUT having to write a dns mx
>> lookup, then connect to socket 25 and etc etc etc..
>>
>> exim -bt tells me if the domain is valid, but not the user.
>>
>> I am not particular how its achieved - anything can be merged into the
>> existing code.
>
> As an idea to work on:
>
> is_valid_mail() checks your database for known users.
There are no known users.
Or hey wouldn't be using the contact page.
> If unknown, display a 'verify first' page.
> Present a unique code which the user has to mail back to you.
> Still not 100% save, but if a user can send using a certain address,
> there's reason to believe he can receive as well. Add the user to your
> database.
Making it bloody awkward for genuine users defeats the purpose.
>
> Not enough?
> Make it a three way handshake.
> The user mails you his code, your autoresponder sends (after verifying
> the code, obviously) another unique code.
> Your form checks { is_valid_mail() or presents_valid_code() }
> You now have proof email traffic is possible in both directions.
>
>
At this point genuine enquirers have simply buggered off elsewhere.
>
--
Ineptocracy
(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
|
|
|