> 
> Read the files with cffile, then search for a single quote in
> the string, use the Mid() function to start slicing it up.  
> If you can be sure that 'Failed to deliver' will always exist
> you can look for that too.  If you want to get more advanced
> you could create a tickler file containing the common phrases
> to search for that could be used to determine the position of
> the address.
> 

I ran a loop over some failed messages a while ago, and came up
with these common strings for failed delivery:

550
mailbox not found
mailbox unknown
not accepting
invalid recipient
address not known
mailbox unavailable
user not known
no such user
user unknown
unknown user
no such recipient
does not have an account
recipient not here
permanent fatal
does not like recipient
user not OK
not a valid mailbox
permanent error
permanent failure
Action: failed

This may take care of the bulk of your bounces; for those
bounces which do not contain any of the phrases above, you can
look at them "by hand" for anything that's obviously close, and
then add that phrase to the list.

There are also some "softer" messages, such as those relating to
a full mailbox, that you may want to add or remove according to
however strictly you want to eliminate people from future
mailings.

     Adrian

=====
.

     Adrian Breeman
     http://perplexed.net

     "If they hang you, I'll
      always remember you."
----------------------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to