Version: 1.1, by rebelde
Developer Last Online: May 2015
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:
It collects emails that "bounce" (are returned to you, the sender),
Counts them and marks those accounts with lots of bounces.
It stops sending "new post" notifications to those addresses.
To install:
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!)
Upload the PHP file.
Install this plugin.
AdminCP > Settings > Options > Email Options: Set "Bounce email address" to the address in step 1.
AdminCP > Settings > Options > Bounced Email Handler: Fill in your settings
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:
Find a way to stop sending other emails that shouldn't be sent such as forum subscription updates and birthday messages.
Add switch to not send PMs.
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!
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
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.
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.
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.
Can anyone explain how to go about cleaning over 1,000 "invalid" or "no recipient" here issues among various email services with this mod? I think 5 might be too high, maybe try at 1 or 2?
How does the mod determine what is considered a "bounce"? There are so many bounce codes to go by like 450, 451, 550, etc.
Can anyone explain how to go about cleaning over 1,000 "invalid" or "no recipient" here issues among various email services with this mod? I think 5 might be too high, maybe try at 1 or 2?
How does the mod determine what is considered a "bounce"? There are so many bounce codes to go by like 450, 451, 550, etc.
Right now, the method is crude (but somewhat effective). It just counts the bounced emails, as long as they are not bounces for temporary reasons.
The different bounce codes? The current code doesn't look at them. I am hoping that one of you will take this add-on to the next level by figuring out what to do according to the bounce code. For some codes, we would stop sending email after a single bounce, while we would wait longer for other codes. I wish I had the time to do it myself, but I don't.
Right now, the method is crude (but somewhat effective). It just counts the bounced emails, as long as they are not bounces for temporary reasons.
The different bounce codes? The current code doesn't look at them. I am hoping that one of you will take this add-on to the next level by figuring out what to do according to the bounce code. For some codes, we would stop sending email after a single bounce, while we would wait longer for other codes. I wish I had the time to do it myself, but I don't.
Yeah, I see a potential issue when being blocked by an entire email provider. For example, if gmail blocks you then everyone with gmail will not get emails.
Maybe in the meantime a feature to clear blocks of certain email addresses?