Thread: Administrative and Maintenance Tools - Auto Bounce Messages Management
View Single Post
  #111  
Old 08-24-2008, 06:51 PM
TooTall52 TooTall52 is offline
 
Join Date: Aug 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This won't work accurately as many email servers out there accept all mail, process it then kick back bounces for the invalid ones. microsoft exchange works this way for example, may Lotus Notes as well.

so just because a helo passes does not mean it is valid address, the seperate pop account is probably more accurate.

TooTall52

Quote:
Originally Posted by fatal1980 View Post
You dont send a "HELLO" email message. You just connect to the SMTP server for the domain name and send some regular SMTP commands to verify if the email exists.

Ill show you how it can be done manually.

Find the MX record

[comm@taco:/home/comm]> dig hotmail.com mx

;; ANSWER SECTION:
hotmail.com. 3600 IN MX 5 mx4.hotmail.com.
hotmail.com. 3600 IN MX 5 mx1.hotmail.com.
hotmail.com. 3600 IN MX 5 mx3.hotmail.com.
hotmail.com. 3600 IN MX 5 mx2.hotmail.com.

Connect the the one of the MX records (I've *** out my email address):

[comm@taco:/home/comm]> telnet mx2.hotmail.com 25
Trying 65.54.245.40...
Connected to mx2.hotmail.com.
Escape character is '^]'.
220 bay0-mc10-f11.bay0.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found at http://privacy.msn.com/Anti-spam/. Violations will result in use of equipment located in California and other states. Fri, 22 Aug 2008 19:53:02 -0700
HELO test.example.com
250 bay0-mc10-f11.bay0.hotmail.com (3.6.0.91) Hello [64.40.106.55]
MAIL FROM: j***@gmail.com
250 j****@gmail.com....Sender OK
RCPT TO: n*****@hotmail.com
250 n****@hotmail.com
DATA
354 Start mail input; end with <CRLF>.<CRLF>
^]
telnet> Connection closed.

As you can see the mail was accepted after the DATA command. So this was successful.

Now lets see one thats failed on an address that didn't exist.

[comm@taco:/home/comm]> telnet mx2.hotmail.com 25
Trying 65.54.244.168...
Connected to mx2.hotmail.com.
Escape character is '^]'.
220 bay0-mc6-f8.bay0.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found at http://privacy.msn.com/Anti-spam/. Violations will result in use of equipment located in California and other states. Fri, 22 Aug 2008 19:56:44 -0700
helo test.example.com
250 bay0-mc6-f8.bay0.hotmail.com (3.6.0.91) Hello [64.40.106.55]
MAIL FROM: ****@gmail.com
250 *****@gmail.com....Sender OK
RCPT TO: badmail1231233123@hotmail.com
550 Requested action not taken: mailbox unavailable
^]
telnet> Connection closed.

As you can see the SMTP session fails! Easy test and you don't need to send a message to the server or process bounce messages. This is the same process used in the following module that works very well:

https://vborg.vbsupport.ru/showthread.php?t=144590

Your wasting your time and resources on use a POP3 account, just use the above method. While your at it you can also re-create the above module for 3.7 since it hasn't been coded over to 3.7 and it would be fairly easy.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01251 seconds
  • Memory Usage 1,784KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete