![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||
Auto Bounce Messages Management
![]() Developer Last Online: Feb 2019 ![]() ![]() ![]() This modification is in the archives.
Brought to you by Syrian Medical Society & Milado Introduction: quoted from wikipedia with adaptation. Any long-lived forums is going to eventually contain addresses that can't be reached. Addresses that were once valid can become unusable because the person receiving the mail there has switched to a different provider (possibly as a result of changing jobs or schools). In another scenario, the address may still exist but be abandoned, with unread mail accumulating until there is not enough room left to accept any more. The presence of invalid addresses in the forums results in bounce messages being sent to the owner of the forums. If the mailing list is small, the owner can read the bounce messages and manually remove the invalid addresses from the forums. With a larger forums, this is a tedious, unpleasant job, so it is desirable to automate the process. In short: This hack automates handling of the bounce messages. Requirements:
Features:
I believe there is no need to delete the user subscriptions. because once a user got moved to the "Awaiting email confirmation" usergroup, he / she won't be sent any additional emails. How Does It Work? You have your catch-all email box, that will be used to receive the bounce messages. Of course we must have a POP3 access to retrieve messages from it. Let's suppose that your catch-all email address is [email protected] After we set it properly, it will work as described below: 1) By default: On every single message being sent, vBulletin generates a unique Message-ID for it, example:
This ID is generated By using the following code in /includes/class_mail.php:
I take the red portion from the unique Message-ID, and the red portion from the domain name of the catch-all address:
The result will be:
Now every single message has its own unique envelope-from address. so if it gets returned as a bounce, I will recognize it easily. So every message will be recorded in the database. each record consists of : toemail, bounceemail (the one we generated) and the timeline (for sake of pruning.) 2) A cron job runs every ten minutes to retrieve bounce messages from the catch-all email box. If the message sent to something similar to the bounceemail we generate, it will update the appropriate record in the database to be marked as returned. and delete the message from the POP3 server. 3) Another cron job runs once an hour, reads the bounced emails from the database and moves their owners to an usergroup which is determined by the admin from the settings. 4) Yet another cron job, will run once daily, to prune the records that haven't returned bounces in a settable period of time (30 days by default). Did I miss something here? Yeh, right. this is the first beta, I believe the core is almost done. but there may be some functions to add, and few things to tweak. I'm all opened to your suggestions. So feel free to dream! Installation & Upgrade: 1) Have your own catch-all email with POP3 access. I don't have the time to write a how-to article for this please do it yourself, you'll be luckily if someone explains it to others. 2) Upload files from the /upload/ folder in the package to their appropriate locations. 3) Install the xml product file: product-bounce_management.xml, of course choose yes to override when upgrading. 4) Refresh your AdminCP. you will see at the navigation side, above the Users tab, a new tab called "Bounces Management" 5) At that tab, go to the settings: Set your POP server settings, your "Bounce Usergroup" and "Exclude Usergroups". 6) At the same tab you will find a link called "Test POP Connection" to test the connection with your POP server. 7) Enjoy! Click install to let me enjoy too! Settings: Attachment 81933 Know issues: - In rare situations, a vacation reply may returned via the bounce path rather than the webmaster path. Change log:
The product marked as not supported, but that doesn't mean you won't see me again here. So please try to help each other. License & Credits: 1) I use the pop3_class from Manuel Lemos, Copyright (c) 1999-2005 to retrieve messages from the POP server, so all the credits regarding this go to him. Here is his license (included in the package too):
Click install to receive updates. You like it? nominate it. I'm looking forward to enter the Mod Of The Month competition. I depend on you. Also donations will help me to improve the product. ![]() Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
/ * reserved
__________________
No members have liked this post.
|
#3
|
|||
|
|||
First install, woot :]
No members have liked this post.
|
#4
|
||||
|
||||
Looks nice, though personally I won't run it as I don't like providing back links to others websites.
READ THIS!
__________________
Looking for ImpEx?
No members have liked this post.
Last edited by Zachery; 25 Apr 2010 at 01:52. |
#5
|
||||
|
||||
Originally Posted by Zachery
Hi Zachery,![]()
I understand you. Actually, I want something in return for my time and efforts. Best regards
__________________
No members have liked this post.
|
#6
|
||||
|
||||
__________________
No members have liked this post.
|
#7
|
|||
|
|||
very nice
thanks milad No members have liked this post.
|
#8
|
||||
|
||||
Many thanks Milad! I am looking forward to future versions.
Please consider to add:
No members have liked this post.
|
#9
|
||||
|
||||
I'll have to give this a try, because I have around 200 000 members and many of them will be bouncing.
__________________
Gamerz Needs - For All Your Gaming Needs! No members have liked this post.
|
#10
|
||||
|
||||
Please let us know how that goes. Are you planning to do a mass emailing?
A very nice forum BTW! No members have liked this post.
|
#11
|
||||
|
||||
Originally Posted by Milad
Thats nice, but I won't run it or recomend it to anyone because of the back link. Or the copyright text in general, since this is completely a backend feature that a normal user will never see.![]()
Not that i have a problem with copyrights, or authors wanting to benifit from their work.
__________________
Looking for ImpEx?
No members have liked this post.
|
#12
|
|||
|
|||
Originally Posted by Zachery
Agreed. Why would I put your copyright on the frontend of my site when it's a backend feature?![]()
Seems like you just want to cash in on big forums linking to you. No members have liked this post.
|
#13
|
||||
|
||||
Guys, you discourage me!
I'm disappointed that simpler mods have got attention more than this one.
__________________
No members have liked this post.
|
#14
|
|||
|
|||
Originally Posted by Milad
mate, he didnt mean to discourage you.![]()
but how many copyrights we gonna put on forumhome ? i have already three huh. anyway Best ever hack for 3.7.0 ![]() ![]() No members have liked this post.
|
#15
|
||||
|
||||
Originally Posted by Zachery
Sorry but I have to agree as well, having a compulsory copyright is a big turnoff for me to use this feature since it is back-end. I can understand a major front-end feature having one (like VBCredits points system for example, which I agreed to having in my footer) but not something like this. If most/all authors decided to copyright their work like this, then the footers of forums would be extremely unattractive since they would be essentially full of spam links.![]()
SO I have much respect for authors who understand this issue and give users the option to display the copyright or not from the ACP, and chances are I would be more obliged to do so knowing that its not being forced. Don't mean to discourage either, just hope that you reconsider this decision because it really is a great feature that shouldn't be burdened with something which makes it less attractive to install/use. Otherwise well done on great work ![]() Cheers ![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 02:55.