Forum Moderators: coopster

Message Too Old, No Replies

PHP script to probe for valid address

Anyone know if something like this?

         

elklabone

3:48 am on Dec 29, 2004 (gmt 0)

10+ Year Member



I subscribe to the Turner Classic Movies newsletter, and every once in a while I get an email like this:

Wed, 24 Nov 2004 06:03:02

This message is a "probe" for your subscription to the TCM-NEWSLETTER
list. You do not need to take any action to remain subscribed to the
list, and in particular you should not reply to this message. Simply
discard it now, or read on if you would like to know more about how this
probing mechanism works.

A "probe" is a message like the one you are reading, sent to an
individual subscriber and tagged with a special signature to uniquely
identify this particular subscriber (you can probably not see the
signature because it is in the mail headers). If the subscriber's e-mail
address is no longer valid, the message will be returned to LISTSERV and
the faulty address will be removed from the list. If the subscriber's
address is still valid, the message will not bounce and the user will not
be deleted.

The main advantage of this technique is that it can be fully automated;
the list owner does not need to read a single delivery error. For a large
or active list, the manpower savings can be tremendous. In fact, some
lists are so large that it is virtually impossible to process delivery
errors manually. Another advantage is that the special, unique signatures
make it possible to accurately process delivery errors that are otherwise
unintelligible, even to an experienced technical person.

The drawback, however, is that this method lacks flexibility and
forgiveness. Since the Internet does not provide a reliable mechanism for
probing an e-mail address without actually delivering a message to the
human recipient, the subscribers need to be inconvenienced with yet
another "junk message." And, unlike a human list owner, LISTSERV follows
a number of simple rules in determining when and whether to terminate a
subscription. In particular, a common problem with automatic probes is
mail gateways that return a delivery error, but do deliver the message
anyway. LISTSERV has no way to know that the message was in fact
delivered, and in most cases the subscriber is not aware of the existence
of these "false" error reports. If this happens to you, LISTSERV will
send you another message with a copy of the delivery error returned by
your mail system, so that you can show it to your technical people....

I have a website where new visitors can sign up for updates, and I'd like to send them an autoresponse, then have the bogus messsages bounce back (like TCM is doing) and delete the bad addresses.

Anyone know if a script around to do this?

--Mark

Frank_Rizzo

10:40 am on Dec 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




Unless you can find out what software TCM are running (try googling for listserv) you may have to do this with something like procmail recipes.

Create a script to detect for undelevirable because of account does not exist / user does not have a valid account type of return code, then pass the email address to a perl script to find and remove the address from your list.

jatar_k

5:36 pm on Dec 29, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



exactly as Frank_Rizzo says procmail would work just fine.

it looks like they use a unique email header. Take a look at the message, right click, properties the full headers are in there somewhere. The unique value in the headers should still be in the return message.

The unique will have to be constructed so your removal script can use that value and know who it is.

very interesting idea, hadn't really thought of that before.