Thread: Administrative and Maintenance Tools - Auto Bounce Messages Management
View Single Post
  #113  
Old 08-25-2008, 08:10 PM
fatal1980 fatal1980 is offline
 
Join Date: Jul 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Milad View Post
Sending a "hello" trial on every single message is more server intensive than retrieving only the bounced messages from a pop mail.
You're running a cron to process the messages from a pop account. Your method, takes more code, and more time to process messages. Your method works, however is inefficient and takes longer.

Instead you could have levels of verification. I'm assuming you're using the mail function to just blindly send the message along. Instead you could use sockets and make a connection to the mail server, try and send the message and if it doesn't go through then you don't need to generate an email. Otherwise you can just send the mail and process the bounce message. Also, you don't really need to use a POP Account. For linux users you could use a .forward file that pipes the mail to a script. Usually shared hosting providers have a mailbox setup on the local machine for each account, or for big boards that run VIPS or have a Dedicated Server.

Quote:
Originally Posted by TooTall52 View Post
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
Yes, another reason why bounce back spam invades mailboxes. A properly written or configured MTA would do checks at SMTP time. And reject messages that it doesn't relay for, and for non-existent email addresses.

If the MTA accepts the message, and generates a bounce back afterwards. Spammers could use a forged from address, and now your server is spamming. Bad. In any case, if you're making a add-on that is going to change or improve the vBulletin mail portion then you should consider all the factors in making it secure and not server intensive.

You must understand that I'm only discussing this with you as general feedback. I praise anyone that provides modules for free to the vbulletin community and I thank you for your effort.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01121 seconds
  • Memory Usage 1,768KB
  • 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
  • (2)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