Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Bounced email handler Details »»
Bounced email handler
Version: 1.1, by rebelde rebelde is offline
Developer Last Online: May 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.2.x Rating:
Released: 03-30-2014 Last Update: Never Installs: 33
DB Changes Uses Plugins
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

What does the bounced email handler do?
It stops sending emails to addresses that are no longer valid. This helps keep your email from being marked as spam, and helps get your legitimate emails through spam filters as a result.

More technically:
  1. It collects emails that "bounce" (are returned to you, the sender),
  2. Counts them and marks those accounts with lots of bounces.
  3. It stops sending "new post" notifications to those addresses.
To install:
  1. Set up a separate email address to handle bounces, such as bounce@yourdomain.com.
    (Do not use your normal email address. This modification will delete your other emails if you do!)
  2. Upload the PHP file.
  3. Install this plugin.
  4. AdminCP > Settings > Options > Email Options: Set "Bounce email address" to the address in step 1.
  5. AdminCP > Settings > Options > Bounced Email Handler: Fill in your settings
  6. Test it:
    - AdminCP > Scheduled Tasks > bounced_email_handler > Run Now to see if it is working.
    - Check the email account to make sure that it is deleting the emails that it has imported.
Areas of improvement:
  1. Find a way to stop sending other emails that shouldn't be sent such as forum subscription updates and birthday messages.
  2. Add switch to not send PMs.
  3. Add option to archive instead of delete emails for Gmail accounts.
Please fork this add-on for VB5 and other forum software. You have my permission!

Download Now

File Type: zip vB bounced email handler.zip (6.6 KB, 256 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
puertoblack2003, RichieBoy67, SaN-DeeP

Comments
  #2  
Old 03-31-2014, 08:19 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the difference between this one, and this version, https://vborg.vbsupport.ru/showthread.php?t=286441
Reply With Quote
  #3  
Old 03-31-2014, 08:26 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
What's the difference between this one, and this version, https://vborg.vbsupport.ru/showthread.php?t=286441
I believe that one had problems. This is a newer version. Not sure what is going on though with an entire new release rather than just an update to the old one.
Reply With Quote
  #4  
Old 03-31-2014, 08:48 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah it makes no sense to release a new version in a new thread/mod, should have just updated the original one.
Reply With Quote
  #5  
Old 04-01-2014, 02:17 AM
rebelde rebelde is offline
 
Join Date: Jun 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
What's the difference between this one, and this version, https://vborg.vbsupport.ru/showthread.php?t=286441
The other one was an add-on to somebody else's add-on. It was a bit of a hack.

To me, this version is independent and very different and should have its own thread where people can come by and criticize it.
Reply With Quote
  #6  
Old 04-01-2014, 03:47 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to be working for me. I altered the cron task a bit though to increase the frequency but pull less mail each time. I have a few thousand of these addresses that need to be corrected..There are over 8,000 in my mail box now so I figure a little at a time will take care of them with in a few weeks and then I can lessen the frequency.

The only thing I want is a better log because using the scheduled task log sucks. I want to know what accounts have been marked. Right now the log just shows that it polled the mail from the mail account.

Also the pm thing..I will edit the php file myself but would be nice to have it in the panel as an option.

Pretty good though and I have needed something like this for years.

Thanks!
Reply With Quote
  #7  
Old 04-01-2014, 09:37 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rebelde View Post
The other one was an add-on to somebody else's add-on. It was a bit of a hack.

To me, this version is independent and very different and should have its own thread where people can come by and criticize it.
Ahh ok gotcha, thanks for clarifying, and thanks for sharing.
Reply With Quote
Благодарность от:
RichieBoy67
  #8  
Old 04-01-2014, 01:24 PM
rebelde rebelde is offline
 
Join Date: Jun 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Richie,

Thanks for testing it so quickly. The defaults were set for everyday usage. If you have a huge backlog of messages, you are going to want to do exactly what you are doing to "catch up". Once you get through the backlog, the defaults that are set make more sense.

The main table that keeps track of the bounces is beh_users. This query will show you who is being blocked:

select * from forum.beh_users where deliver_flag = '';

I've got 575 userids/emails in my list.

Let me know what you would like to see in a log and I might be able to get it added.
Reply With Quote
  #9  
Old 04-01-2014, 10:04 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be used with DBTech's vbmail?
I was one of the users of your older mod.
Reply With Quote
  #10  
Old 04-02-2014, 01:56 AM
rebelde rebelde is offline
 
Join Date: Jun 2008
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CharlieDelta View Post
Can this be used with DBTech's vbmail?
I was one of the users of your older mod.
I am pretty sure that there are no conflicts.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04900 seconds
  • Memory Usage 2,336KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete