vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Bounced email handler (https://vborg.vbsupport.ru/showthread.php?t=310072)

rebelde 03-30-2014 10:00 PM

Bounced email handler
 
1 Attachment(s)
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!

ozzy47 03-31-2014 08:19 PM

What's the difference between this one, and this version, https://vborg.vbsupport.ru/showthread.php?t=286441

RichieBoy67 03-31-2014 08:26 PM

Quote:

Originally Posted by ozzy47 (Post 2490728)
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.

ozzy47 03-31-2014 08:48 PM

Yeah it makes no sense to release a new version in a new thread/mod, should have just updated the original one.

rebelde 04-01-2014 02:17 AM

Quote:

Originally Posted by ozzy47 (Post 2490728)
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.

RichieBoy67 04-01-2014 03:47 AM

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!

ozzy47 04-01-2014 09:37 AM

Quote:

Originally Posted by rebelde (Post 2490803)
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. :)

rebelde 04-01-2014 01:24 PM

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.

CharlieDelta 04-01-2014 10:04 PM

Can this be used with DBTech's vbmail?
I was one of the users of your older mod.

rebelde 04-02-2014 01:56 AM

Quote:

Originally Posted by CharlieDelta (Post 2490936)
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.


All times are GMT. The time now is 03:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01161 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete