Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Bounced email handler Details »»
Bounced email handler
Mod Version: 1.1, by rebelde (Contributor) rebelde is offline
Developer Last Online: May 2015 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (4 votes - 4.75 average) Installs: 24
Released: 31 Mar 2014 Last Update: Never Downloads: 173
Not Supported DB Changes Uses Plugins Additional Files Re-usable Code Translations Is in Beta Stage  

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

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Poor Man's Bounced Email Handler rebelde Modification Graveyard 24 02 Apr 2014 02:01

Comments
  #2  
Old 31 Mar 2014, 21:19
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
What's the difference between this one, and this version, http://www.vbulletin.org/forum/showthread.php?t=286441
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at OzzModz as well as the professional support you are used to. This will also include any new mods I make.
All my mods are updated on OzzModz to do the version checking there instead of here. You can follow us on Twitter, https://twitter.com/OzzModz
Reply With Quote
  #3  
Old 31 Mar 2014, 21:26
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Originally Posted by ozzy47 View Post
What's the difference between this one, and this version, http://www.vbulletin.org/forum/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.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #4  
Old 31 Mar 2014, 21:48
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Yeah it makes no sense to release a new version in a new thread/mod, should have just updated the original one.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at OzzModz as well as the professional support you are used to. This will also include any new mods I make.
All my mods are updated on OzzModz to do the version checking there instead of here. You can follow us on Twitter, https://twitter.com/OzzModz
Reply With Quote
  #5  
Old 01 Apr 2014, 03:17
rebelde rebelde is offline
 
Join Date: Jun 2008
Originally Posted by ozzy47 View Post
What's the difference between this one, and this version, http://www.vbulletin.org/forum/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 01 Apr 2014, 04:47
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
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!
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #7  
Old 01 Apr 2014, 10:37
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
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.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at OzzModz as well as the professional support you are used to. This will also include any new mods I make.
All my mods are updated on OzzModz to do the version checking there instead of here. You can follow us on Twitter, https://twitter.com/OzzModz
Reply With Quote
  #8  
Old 01 Apr 2014, 14:24
rebelde rebelde is offline
 
Join Date: Jun 2008
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 01 Apr 2014, 23:04
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Can this be used with DBTech's vbmail?
I was one of the users of your older mod.
Reply With Quote
  #10  
Old 02 Apr 2014, 02:56
rebelde rebelde is offline
 
Join Date: Jun 2008
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
  #11  
Old 02 Apr 2014, 10:28
ezak ezak is offline
 
Join Date: Nov 2004
useful testing it

Last edited by ezak; 02 Apr 2014 at 10:33.
Reply With Quote
  #12  
Old 02 Apr 2014, 12:41
ezak ezak is offline
 
Join Date: Nov 2004
I have faced some problem to make it working, I have to add bounce@mydomain.com to /root/.forward my my host, also disable the firewall

working well but I have some question and suggestions
1- I have now 27 user in beh_users, so one of them , I sent mail from my forum , and its sent because the reutun is come again, thats also the same when I see bounced_count is 2,3 ... ? is it send the mail to that mail or not, if not , why I recived the bounce return again ?

2- the users in beh_users, is there any update to see them in admincp, and have user details on it and able to edit his profile ?

3- I didn't recived PM with the reports as the option config
Reply With Quote
  #13  
Old 02 Apr 2014, 14:07
rebelde rebelde is offline
 
Join Date: Jun 2008
Ezak, I'm not sure that I understand you, but I can try to answer your questions.

1. The system only stops sending emails when the bounced_count = 5 or more. Users with a bounce_count of 3 will still receive email.

2. No, there is no way to see which users are blocked in the admincp, other than running the SQL query that I posted in post 8.

3. I'm not sure what PM you expected to receive. The only PMs sent are those sent to users with 5 bounces warning then that they will no longer receive emails unless they act.
Reply With Quote
  #14  
Old 02 Apr 2014, 15:57
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
working well but I have some question and suggestions
1- I have now 27 user in beh_users, so one of them , I sent mail from my forum , and its sent because the reutun is come again, thats also the same when I see bounced_count is 2,3 ... ? is it send the mail to that mail or not, if not , why I recived the bounce return again ?
Nothing will change until those users have bounced 5 times or to the amount you choose. This is because occasionally people add a vacation response or something and you do not want to change those users.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #15  
Old 04 Apr 2014, 07:04
ezak ezak is offline
 
Join Date: Nov 2004
Originally Posted by rebelde View Post
Ezak, I'm not sure that I understand you, but I can try to answer your questions.

1. The system only stops sending emails when the bounced_count = 5 or more. Users with a bounce_count of 3 will still receive email.

2. No, there is no way to see which users are blocked in the admincp, other than running the SQL query that I posted in post 8.

3. I'm not sure what PM you expected to receive. The only PMs sent are those sent to users with 5 bounces warning then that they will no longer receive emails unless they act.
perfect mod thanks
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 12:45.

Layout Options | Width: Wide Color: