Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBouncer: reduce server load by unsubscribing bouncing members from threads Details »
vBouncer: reduce server load by unsubscribing bouncing members from threads
Mod Version: 1.2, by tamarian (Member) tamarian is offline
Developer Last Online: Mar 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.1 Rating: (5 votes - 4.80 average) Installs: 118
Released: 21 Jun 2005 Last Update: 05 Oct 2005 Downloads: 358
Not Supported Uses Plugins Additional Files  

vBouncer is a handy tool for busy forums (or those that do not require email verification) to control the amounts of bogus emails sent from and to your server.

What vBouncer does: vBouncer monitors your mail spool file, and identifies members responsible for large amounts of bounced emails. It then issues a PM warning, and when the unsubscribe threshold is met, it will will unsubscribe them for all threads, and sets them to the "no email" subscription level.

After a couple of runs, this should significantly reduce your server load.

Features:
o Manual or auto processing option
o Collect logs via IMAP/POP or mail spool file
o Custom filters to match patterns in bounced emails
o Uses vB's cron files (Scheduled tasks)
o Uses encrypted header for authentication (suggested by Paul M).
o Stats on members with bouncing emails, and error codes
o Tuning options
o Verbose cron logs for diagnostics
o Option to send PM warning prior to reaching the limit
o Option to send PM notifications after reaching the limit
o Option to change the member's subscription default
o Option to all thread subscriptions to "no email"
o Option to all forum subscriptions to "no email"
o Option to move offenders to a different primary usergroup
o Option to process 5.0.0/550 errors (email unknown) upon a single email, isntead of observing the bounce limit


Installation:
1. Extract the files into the corresponding directories (admincp => admincp, includes => includes)
2. Run the installation script in the admincp
3. Fill out the settings menu in the vBouncer section of the admin panel (see the how-to post below)
4. Import and activate the plugin file through the plugin manager.
5. Once ready, add the cron scripts to your scheduled tasks: vbouncer-collect.php (should be run daily, or more frequently) and vbouncer-clean.php (weekly, equal to Bounce limit period)
6. If you are using vB's SMTP email option, make sure to also enable the "-f" option.

Change log:

- August 12, 2005 v1.3 Update to the cron files to match new changes in vB's cron/tasks. To upgrade, just re-upload the contents of includes/cron.

- July 11, 2005 v1.2 Bug fix for some server/PHP setups; resolve aliases for return keys, otherwise some aliases would be considered forged.

- July 5, 2005 v1.1 Bug fix in standard report pattern matching

- July 4, 2005 v1.0 Added encrypted header for authentication (suggested by Paul M).

- July 3, 2005 v0.9.1 fixed a bug preventing IMAP/POP log collection.

- July 2, 2005 v0.9 added IMAP/POP option and custom filters file vbouncer.ini

- June 27, 2005 v0.5 Added custom header setting option, for re-written headers.

- June 26, 2005 v0.4 Found a way to make it work as a plugin, without code edits (thanks to Paul M)

- June 26, 2005 v0.3 No changes, just removed the plugin

- June 25, 2005 v0.2 Added NDR/Reply code errors to stats, and option to act upon 5.0.0/550 (user unknown)

- June 21, 2005: v 0.1 Initial release. Marked beta, but it's working fine on PostFix and SendMail. Need to hear from those who tried on QMail and Exim

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	1.jpg
Views:	1323
Size:	188.6 KB
ID:	27350   Click image for larger version

Name:	3.jpg
Views:	2042
Size:	194.6 KB
ID:	27352   Click image for larger version

Name:	4-pm.jpg
Views:	1333
Size:	149.1 KB
ID:	27353   Click image for larger version

Name:	stats.jpg
Views:	1195
Size:	128.7 KB
ID:	31236  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBouncer (PHP): reduce server load by unsubscribing bouncing members from threads tamarian vBulletin 3.0 Full Releases 160 15 Nov 2008 22:54
vBouncer : Change thread subscribtion options for members with bouncing emails tamarian vBulletin 3.0 Full Releases 81 27 Jun 2005 13:40
vBouncer : Unsubscribe threads for members with bouncing emails tamarian vBulletin 2.x Full Releases 26 21 Jun 2005 21:12

  #331  
Old 18 Jan 2007, 02:04
LunaTech LunaTech is offline
 
Join Date: Aug 2004
So I have this completely working in 3.6.4. I'm not sure what other members are having issue with. It correctly identifies bounced email and will automatically move users into the proper usergroup.

I uninstalled the 3.5 version, using the unistall option. Then I reinstalled using GNDI's version a few pages back.

I did make two changes in vbouncer-clean.php.

Replace the send_pm function with the folllowing (properly sends users pms):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And replace it with (fixes an issue with sending pms and email notices to users who are already bouncing):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That is all I've done. I'm also attaching a copy of my settings so you can see what your settings should look like.

To make sure you're setting this up right - first you create the bouncer email address.
Make sure it works.
Setup a usergroup for bounced users.
Uninstall vBouncer.
Install GNDI's vBouncer. Configure vBouncer.
Check the email account (make sure to leave the messages on the server, so connect using imap or a webmail system) and see if you have some bounced emails.

If not, wait.
If you do, run the Scheduled Task for vBouncer Collect.
Look at the cron log, is there an entry for vBouncer Collect? What does it say?
Look at your vBouncer Stats, are there entries there?
Check the email account again. Have the emails been deleted?

Now run the Scheduled Task for vBouncer Clean. Did it give errors or say done?
Check the cron log, is there an entry for vBouncer Clean?

There you go. I may not have time to answer many questions, but I'll try. Good luck!
Attached Images
File Type: jpg settings1.jpg (143.8 KB, 58 views)
File Type: jpg settings2.jpg (137.6 KB, 42 views)
Reply With Quote
  #332  
Old 23 Jan 2007, 17:31
redspider's Avatar
redspider redspider is offline
 
Join Date: Jul 2005
I try to clean my db after unistall this hack and when I try to install again give me error any way to upgrade this hack so over write old data ?
Reply With Quote
  #333  
Old 23 Jan 2007, 19:36
Coldhands's Avatar
Coldhands Coldhands is offline
 
Join Date: Oct 2005
Any chance of this being ported to 3.6 or if it works on vB 3.6?
__________________
"Oh, so they have internet on computers now!" --Homer.
Reply With Quote
  #334  
Old 12 Feb 2007, 19:35
kontrabass kontrabass is offline
 
Join Date: Feb 2002
[edit]

Works great - thanks LunarTech. Running 3.6.4.

A bit of any unrelated question: when I installed this I was using php mail. I just changed to SMTP mail using -f param Now, the From address is still my default vbulletin admin email, while the "Return-Path" is the vbouncer email. I'm assuming this is correct behavior. But it would be great to not have the default vbulletin admin email as the "from" address though - I always get people replying to post notifications

Last edited by kontrabass; 14 Feb 2007 at 20:01.
Reply With Quote
  #335  
Old 16 Feb 2007, 13:57
zlos zlos is offline
 
Join Date: May 2005
Originally Posted by t3nt3tion View Post
Is this vb 3.6.x compatible ??
Originally Posted by Coldhands View Post
Any chance of this being ported to 3.6 or if it works on vB 3.6?
I was using this hack with 3.5.x and I miss it really in 3.6.x.

It there any way to get this working without great manual work on 3.6.x series?
Maybe authour would agree that somebody else ports it to 3.6.x if he have had no time to do it by himself???
Reply With Quote
  #336  
Old 02 May 2007, 17:56
xxcfdrr xxcfdrr is offline
 
Join Date: Dec 2003
Does this work on 3.6?
Reply With Quote
  #337  
Old 02 May 2007, 18:21
t3nt3tion's Avatar
t3nt3tion t3nt3tion is offline
 
Join Date: Aug 2005
Real name: Adrian A.
I checked the whole post. It seems it`s a douzy installing it, but getting it to work on a busy forum, it comes as a plus. It can run with v3.6.x, but there might be incompatibilities.
Reply With Quote
  #338  
Old 04 May 2007, 03:22
xlguy's Avatar
xlguy xlguy is offline
 
Join Date: Feb 2004
I've got it working on 3.6.4 for me, using GNDI's version posted earlier in the thread and the instructions posted above by LunaTech. Thanks guys
__________________
xlguy
Reply With Quote
  #339  
Old 28 Jun 2007, 02:38
dinodonk dinodonk is offline
 
Join Date: Aug 2005
does it work for 3.6.7?
Reply With Quote
  #340  
Old 07 Jul 2007, 09:54
neopet001 neopet001 is offline
 
Join Date: May 2007
When I accessed install page, it always displayed the mysql error page,it showed that the sql query is not compatible.....
Reply With Quote
  #341  
Old 22 May 2008, 05:00
Paul Paul is offline
 
Join Date: Jan 2002
I can confirm that this is working on vBulletin 3.7 with the changes necessary for 3.6.
Reply With Quote
  #342  
Old 29 May 2008, 00:20
LunaTech LunaTech is offline
 
Join Date: Aug 2004
For some reason the send_pm function is now giving me trouble.

It seems to be the line:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Ideas?

I get the following error:
Fatal error: Call to a member function query_first() on a non-object in /home/xxxxx/public_html/xxxx/includes/class_mail.php(261) : eval()'d code on line 12
Reply With Quote
  #343  
Old 06 Jun 2008, 15:27
pross pross is offline
 
Join Date: Mar 2005
using 3.7.1 with the patched version a few pages back and lunatech's edits, i have this fully working on a cpanel/exim server
Reply With Quote
  #344  
Old 28 Jun 2008, 23:04
Raptor Raptor is offline
 
Join Date: Nov 2001
would you mind posting direct links to the posts that mention the correct changes. i see many ideas and its a bit confusing

many thanks in advance !
Reply With Quote
  #345  
Old 26 Dec 2008, 12:06
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Real name: Marcus
Hi,
does anyone Port this Hack to 3.8 ?
__________________
Greetz from Dortmund/Germany
Marcus
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:01.

Layout Options | Width: Wide Color: