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 21:54
vBouncer : Change thread subscribtion options for members with bouncing emails tamarian vBulletin 3.0 Full Releases 81 27 Jun 2005 12:40
vBouncer : Unsubscribe threads for members with bouncing emails tamarian vBulletin 2.x Full Releases 26 21 Jun 2005 20:12

  #301  
Old 20 Nov 2006, 11:59
kmike kmike is offline
 
Join Date: Oct 2002
Looks like this hack is not supported anymore. Here are a few bug fixes for those who still care.

1. There's a bug in the regular expressions: all occurences of
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

should be replaced with

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

otherwise an email address scraped from this line: "Final-Recipient: RFC822; <[email protected]>" will include the final ">" ("[email protected]>"). Apparently it affects all addresses at charter.net.

2. Next thing, sometimes members fill out their email in capital letters, but reporting MTA rewrites them in lower case, such as: "Final-Recipient: RFC822; [email protected]" for the user provided "[email protected]", so md5 check of [email protected] will be against md5-encoded [email protected] and a bounce will be reported as forged when it's in fact not.
The solution: strtolower() member email address before sending and also strtolower() before checking them against X-Return-ID.

3. Finally, the recipient email address may be an alias for the different account. In this case "Final-Recipient" line will include that another email address instead, and the check for the forged bounces will fail. This one is tough to correct. It is amended by adding another custom header with an original email address and checking md5 against it and not the one scraped from a "Final-Recipient" line. But obviously this is a bit more prone to the errors and the possible forging though.

Last edited by kmike; 20 Nov 2006 at 12:34. Reason: even better regexp
Reply With Quote
  #302  
Old 20 Nov 2006, 15:47
GNDI's Avatar
GNDI GNDI is offline
 
Join Date: Jun 2005
Where are this line located: RFC822;[ ]*[<]*(\[email protected]\S+)[>]?
__________________
BSD

VIB-host
Reply With Quote
  #303  
Old 20 Nov 2006, 16:43
Freezerator Freezerator is offline
 
Join Date: Dec 2001
Real name: Bas
Originally Posted by kmike View Post
Looks like this hack is not supported anymore. Here are a few bug fixes for those who still care.

1. There's a bug in the regular expressions: all occurences of
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

should be replaced with

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

otherwise an email address scraped from this line: "Final-Recipient: RFC822; <[email protected]>" will include the final ">" ("[email protected]>"). Apparently it affects all addresses at charter.net.

2. Next thing, sometimes members fill out their email in capital letters, but reporting MTA rewrites them in lower case, such as: "Final-Recipient: RFC822; [email protected]" for the user provided "[email protected]", so md5 check of [email protected] will be against md5-encoded [email protected] and a bounce will be reported as forged when it's in fact not.
The solution: strtolower() member email address before sending and also strtolower() before checking them against X-Return-ID.

3. Finally, the recipient email address may be an alias for the different account. In this case "Final-Recipient" line will include that another email address instead, and the check for the forged bounces will fail. This one is tough to correct. It is amended by adding another custom header with an original email address and checking md5 against it and not the one scraped from a "Final-Recipient" line. But obviously this is a bit more prone to the errors and the possible forging though.
Thanks, but can you please englihten this more? Or post an updated file.
Reply With Quote
  #304  
Old 23 Nov 2006, 19:11
alfaowner alfaowner is offline
 
Join Date: Jul 2003
Hi all,

Need some advice if you can, I uninstalled vbouncer for various reasons, I used the uninstall script to do so but my members that had previously bounced emails are still not recieving subscription emails or normal vbulletin sent emails, can anyone advise why or how to make it so they can recieve emails. BTW - I logged into theor account and checked all of their settings and they are ok / correct.

Please help

AO
Reply With Quote
  #305  
Old 23 Nov 2006, 19:19
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Is there a 3.6.3?
__________________
http://www.nucia.nl/forum/
The best way to kill malware; is to kill it together.
I love vBulletin http://www.vbulletin.org/forum/images/newsm/bunny.gif
Reply With Quote
  #306  
Old 26 Nov 2006, 19:44
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
I made a new E-mail address ([email protected]) but the mails are still send from [email protected] Did I do something wrong?
__________________
http://www.nucia.nl/forum/
The best way to kill malware; is to kill it together.
I love vBulletin http://www.vbulletin.org/forum/images/newsm/bunny.gif
Reply With Quote
  #307  
Old 26 Nov 2006, 20:03
GNDI's Avatar
GNDI GNDI is offline
 
Join Date: Jun 2005
running a new version of Vb, that's all
__________________
BSD

VIB-host
Reply With Quote
  #308  
Old 26 Nov 2006, 21:37
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
You're joking right?
So it doesn't work?
__________________
http://www.nucia.nl/forum/
The best way to kill malware; is to kill it together.
I love vBulletin http://www.vbulletin.org/forum/images/newsm/bunny.gif
Reply With Quote
  #309  
Old 27 Nov 2006, 14:15
ebasement.org ebasement.org is offline
 
Join Date: Nov 2006
I'm interested in this for the latest version as well.
Reply With Quote
  #310  
Old 27 Nov 2006, 15:04
GNDI's Avatar
GNDI GNDI is offline
 
Join Date: Jun 2005
Originally Posted by Eagle Creek View Post
You're joking right?
So it doesn't work?
Not at all

Originally Posted by ebasement.org View Post
I'm interested in this for the latest version as well.
it is working when you manually use your "fake" e-mail address as sender, ex. when you use the "Send e-mail to users" function under "users" in admincp, then it is a powerful tool
__________________
BSD

VIB-host
Reply With Quote
  #311  
Old 28 Nov 2006, 09:56
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Originally Posted by GNDI View Post
Not at all



it is working when you manually use your "fake" e-mail address as sender, ex. when you use the "Send e-mail to users" function under "users" in admincp, then it is a powerful tool
Ok.. That's nice.
But of course I also want to use the notify-function.
__________________
http://www.nucia.nl/forum/
The best way to kill malware; is to kill it together.
I love vBulletin http://www.vbulletin.org/forum/images/newsm/bunny.gif
Reply With Quote
  #312  
Old 28 Nov 2006, 18:40
GNDI's Avatar
GNDI GNDI is offline
 
Join Date: Jun 2005
well then i suppose you re-write it all I wouldn't mind if you did
__________________
BSD

VIB-host
Reply With Quote
  #313  
Old 28 Nov 2006, 20:18
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Originally Posted by GNDI View Post
well then i suppose you re-write it all I wouldn't mind if you did
I can't my friend . Otherwise it was done already .
__________________
http://www.nucia.nl/forum/
The best way to kill malware; is to kill it together.
I love vBulletin http://www.vbulletin.org/forum/images/newsm/bunny.gif
Reply With Quote
  #314  
Old 29 Nov 2006, 05:08
CNBAforo CNBAforo is offline
 
Join Date: Nov 2006
Can`t even install it. Step 1 gives me this db error:

Database error in vBulletin 3.6.4:

Invalid SQL:
REPLACE INTO foro_phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'vbouncer', 'vBouncer', '1');

MySQL Error : Unknown column 'phrasetypeid' in 'field list'
Error Number : 1054
Reply With Quote
  #315  
Old 06 Dec 2006, 16:24
dcevoclub dcevoclub is offline
 
Join Date: Jul 2003
Originally Posted by CNBAforo View Post
Can`t even install it. Step 1 gives me this db error:
I get the same error.
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 05:41.

Layout Options | Width: Wide Color: