The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Auto Bounce Messages Management Details »» | ||||||||||||||||||||||||||
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: Show Your Support
|
Comments |
#112
|
||||
|
||||
Quote:
|
#113
|
|||
|
|||
Quote:
Instead you could have levels of verification. I'm assuming you're using the mail function to just blindly send the message along. Instead you could use sockets and make a connection to the mail server, try and send the message and if it doesn't go through then you don't need to generate an email. Otherwise you can just send the mail and process the bounce message. Also, you don't really need to use a POP Account. For linux users you could use a .forward file that pipes the mail to a script. Usually shared hosting providers have a mailbox setup on the local machine for each account, or for big boards that run VIPS or have a Dedicated Server. Quote:
If the MTA accepts the message, and generates a bounce back afterwards. Spammers could use a forged from address, and now your server is spamming. Bad. In any case, if you're making a add-on that is going to change or improve the vBulletin mail portion then you should consider all the factors in making it secure and not server intensive. You must understand that I'm only discussing this with you as general feedback. I praise anyone that provides modules for free to the vbulletin community and I thank you for your effort. |
#114
|
|||
|
|||
it work on my forum but is nto moving members also from time to time when cron run i get a white page on forum home with info how many email are in bounce@mydomain.com
|
#115
|
|||
|
|||
Great mod. I have a question...when the users register...is there a way to edit the registration text to let users know if they do not put a valid email address they will not receive the code to activate their account? I have a LOT of kids registering on my site using fake email addresses and am having to manually bounce the users with vbounce. Even if this mod automatically does it I'd like to know how to edit the registration text to let them know.
|
#116
|
|||
|
|||
Any ETA for next version?
|
#117
|
|||
|
|||
I am getting a message - 3 POP3 server greeting was not found When I test the pop connection. I am using gmail have pop turned on and am using the correct port?
Any ideas what this means? EDIT - Needed POP Secure Connection set to ON |
#118
|
|||
|
|||
Hi
Great mod! It seems to be working, well partly at least. It's appending the id's, logging in and retrieving the bounces, but at which point does it move the members to a different usergroup? (I have created a new group for that.) Dirk |
#119
|
|||
|
|||
Its not moving members for anyone. Seems to be a massive letdown!!!
|
#120
|
||||
|
||||
So has this mod died? It would seem a shame if it has because it appears that there are only minor bugs (if you can call not moving the members to the correct group minor :rofl: )
|
#121
|
||||
|
||||
It didn't die. I just have no time to continue the development. I've already started the beta 2.
If I have two projects, paid and non-paid. I would choose to work on the paid one for sure. This mod doesn't get the support it needs, as members here refuse to post a back link to my website, and on the other side they ask for product improvements. I'm kind of disappointed by the community response. So, this mod need to be sponsored by someone, as it's not on top of my priority list. Regards |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|