![]() |
Auto Bounce Messages Management
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 bounces@yourdomain.ext 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: Code:
Message-ID: <20080608103128.551e45224330@www.yourdomain.ext> PHP Code:
Code:
Message-ID: <20080608103128.551e45224330@www.yourdomain.ext> Code:
bounces@yourdomain.ext Code:
bounce20080608103128.551e45224330@yourdomain.ext 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): Quote:
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. :up: |
/ * reserved
|
First install, woot :]
|
Looks nice, though personally I won't run it as I don't like providing back links to others websites.
READ THIS! |
Quote:
I understand you. Actually, I want something in return for my time and efforts. Best regards |
Quote:
|
very nice
thanks milad |
Many thanks Milad! I am looking forward to future versions.
Please consider to add:
|
I'll have to give this a try, because I have around 200 000 members and many of them will be bouncing.
|
Please let us know how that goes. Are you planning to do a mass emailing?
A very nice forum BTW! |
Quote:
Not that i have a problem with copyrights, or authors wanting to benifit from their work. |
Quote:
Seems like you just want to cash in on big forums linking to you. |
Guys, you discourage me!
I'm disappointed that simpler mods have got attention more than this one. |
Quote:
but how many copyrights we gonna put on forumhome ? i have already three huh. anyway Best ever hack for 3.7.0 :up: :D |
Quote:
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 :) |
Quote:
|
Thanks a lot, This is a great starting point for a great addon. I do think that it needs the features Alfa1 suggested making it more like VBouncer. Also a catch-all address can be hard for a lot of users. I get hundreds, usually 200 - 300 a day of attempted spams to non existant addresses. These will all now not be refused and dump all the spams into the catch-all.
|
Quote:
That would require this add-on to actually use VERP (mailbox+memberid@ourdomain), rather than a proprietary pattern similar to VERP :( |
Quote:
|
Quote:
This is very easy and nice. |
Quote:
|
mailbox+memberid@ourdomain won't be a good approach, because it can be abused by members. someone may send a fake email to kick someone else. so we can't use a simple pattern.
mailbox+messageid@domain.com is a good idea. I use bouncemessageid@domain.com not too different. I can alter it to mailboxmessageid@domain.com if you will get benefit from it. |
Quote:
|
Quote:
If you add a + sign in between the mailbox name and the message id then I think from what I have read about VERP you will be compatible. Then people can still use catch-all if they have no other choice. I am not an expert in VERP but this is how i understand it. |
Quote:
|
Quote:
Regards |
I think it's acceptable to use + or =
|
Quote:
Quote:
I can use one of four characters + - _ or %. On wikipedia the = sign is used as an example to replace the @ if you are adding the users full email address in the return address. |
Looks good, but as others have said, the copyright on FORUMHOME is completely unnecessary. So, for that reason, I'm not installing.
|
Quote:
Quote:
|
The copyright is my only method to get back what I spend of time and efforts.
I'm sorry, this is not commercial product, but it requires a lot of work. you wouldn't do it for free. You're free not to use it. Best regards |
I'm thinking about making it as a pattern. every webmaster will change it according to his/her needs.
|
Quote:
If you coded this purely for wanting to attract attention to your website... I really don't have anything more to say then. |
Not only that - but the vast majority of sites that will be using the Auto Bounce Messages Management hack are English-only sites, which would totally defeat the purpose of showing that ridiculous backlink anyway :D
Jacquii. |
Quote:
|
A great mod but just like the rest I will not install because of the copyright. I agree with Zachery you just want the backlinks.
|
OK, never mind. I'm sorry for that. I'm going to make the copyright optional.
Thus, I appreciate if you post a backlink to my site. when you announce the automation to your members. Regards |
Quote:
|
Please let's just concentrate on the mod!
|
is there any way to know who was move because email bounce ?
|
All times are GMT. The time now is 05:23 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|