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

  #271  
Old 27 Jul 2006, 12:09
tamarian tamarian is offline
 
Join Date: Oct 2001
Antiblank, if no bounced emails are found, the stats will be blank. That's normal. If you're asking why there are no bounced emails, you need to check the diagnostics and error messages, and provide some details.
Reply With Quote
  #272  
Old 28 Jul 2006, 10:58
Antiblank Antiblank is offline
 
Join Date: May 2005
Well as I stated I intentionally created a bad email address for a test user. Then triggered some emails to be sent to it. The email isn't found so a the message ends back up in my return-path mailbox. Vbouncer connects, attempts the collection, processes the one email it found. But says no bounced emails. Then deletes the email from the box.

Forgive me if I'm wrong but wouldn't this constitue as an email that vBouncer should be triggered off of.

As for my diagnostics:

vBouncer sender email
Test Result
Valid vBouncer email account ([email protected]********.com) Passed
vBouncer email account ([email protected]********.com) differs from webmaster account Passed

vBouncer Spool File Diagnostics (ignore if using IMAP/POP)
Test Result
vBouncer email spool file () exists Failed
vBouncer email spool file () is writable Failed
vBouncer email spool file () is readable Failed

vBouncer pattern config file diagnostics
Test Result
vbouncer.inc file exists Passed
vbouncer.inc file is readable Passed

vBouncer IMAP/POP Diagnostics (ignore if not using IMAP/POP)
Test Result
Your PHP installation supports IMAP/POP Passed
Your IMAP/POP settings can connect Passed


As for my Cron Logs for example:

vBouncer Collect 04:02, 27th Jul 2006 Status:
Processed 2 emails No bounced emails found.

I am using IMAP and the connection, reading and deleting of the emails is functioning. There is absoulty no reason any email should be entering this box outside of the return-path function added to the emails since I installed vBouncer.

Anything else you need to see? Thanks.
Reply With Quote
  #273  
Old 28 Jul 2006, 15:47
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Just to inform you that this hack is producing invalid Mail headers.

$headers = preg_replace('/Return-Path.*/', 'Return-Path: ' . $vbulletin->options['vbouncer_spool_account'], $headers, 1);

That will match up to the \r and replace it, the end result is that the header has \n instead of \r\n.

If you could fix this it would be awesome, if you can't or aren't around any more i'll speak to Marco about manually updating your hack for you.

This affects Qmail installs and potentially the SMTP mail sender.

Quick Fix, i think but haven't tested is adding $

$headers = preg_replace('/Return-Path.*$/', 'Return-Path: ' . $vbulletin->options['vbouncer_spool_account'], $headers, 1);
__________________
Scott MacVicar
vBulletin Developer

Last edited by Scott MacVicar; 28 Jul 2006 at 15:55.
Reply With Quote
  #274  
Old 04 Aug 2006, 03:39
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
Is this still being supported because I cannot get this to work for the life of me.
__________________
www.rustysoaptraders.com
Reply With Quote
  #275  
Old 15 Aug 2006, 19:02
cerebro's Avatar
cerebro cerebro is offline
 
Join Date: Jan 2002
some1 try in Vb 3.6.0 final??
Reply With Quote
  #276  
Old 25 Aug 2006, 02:08
dinodonk dinodonk is offline
 
Join Date: Aug 2005
anyone have try on 3.6.0???
Reply With Quote
  #277  
Old 11 Sep 2006, 16:57
alfaowner alfaowner is offline
 
Join Date: Jul 2003
my IMAP settings fails, although I can login through y mail client okay?, however, it is showing installed within cpanel, I have rebuilt PHP and but still nothing?

Ideas anyone?

Your PHP installation supports IMAP/POP Passed
Your IMAP/POP settings can connect Failed
Reply With Quote
  #278  
Old 11 Sep 2006, 17:06
alfaowner alfaowner is offline
 
Join Date: Jul 2003
dont worry, i fixed it, i had left off a { when I copied the 143inbox etc...
Reply With Quote
  #279  
Old 11 Sep 2006, 20:22
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Do we have a 3.6.0 ?
__________________
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
  #280  
Old 16 Sep 2006, 15:33
kontrabass kontrabass is offline
 
Join Date: Feb 2002
Originally Posted by TraumTeam
A short help from me for users with the problems of imap/pop access:

I the access does not work and all settings are correct try:
{127.0.0.1:110/pop3/notls}INBOX

There could be a certificate failure with the internal IMAP Access on the server.

Perhaps its interesting for the FAQ ...

Rob
Wow thanks for this bit of info. Using an externail mailserver - this info saved me after many failed attempts
Reply With Quote
  #281  
Old 25 Sep 2006, 18:43
GNDI's Avatar
GNDI GNDI is offline
 
Join Date: Jun 2005
Is it fit for vb 3.6.1? Cos I used it on 3.5.4 and it was very good
__________________
BSD

VIB-host
Reply With Quote
  #282  
Old 26 Sep 2006, 06:04
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Originally Posted by Marco van Herwaarden
In vB 3.6 there has been a chang in the "phrase" & "phrasetype" tables. The previous primary key "phrasetypeid" is remove. Only "fieldname" is now serving to identify the phrasetype (or group).

Attached is a modified installer that will work on 3.6 (only tested install).

Will post later if vBouncer itself works on vB3.6 Beta1

PS Maybe this can easily turned into a product, so there will not be this kind of problems with future releases.

Edit: Seems to work on 3.6 Beta 1
any update word on this ?
__________________
Unreal Addicts: The Ultimate UT Fraggin Fix
Unreal Tournament Sniper Clan and UT Gaming Community.
Serving frags and fun to the UT Community Since 1999
www.UnrealAddicts.com
Reply With Quote
  #283  
Old 26 Sep 2006, 08:55
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
I hope so
__________________
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
  #284  
Old 27 Sep 2006, 20:46
rix rix is offline
 
Join Date: Dec 2003
recently cpanel made some changes to its mail data store, where instead of using single inbox file. it uses maildir format, which has cur, new, and tmp folder. In this case, does it work?
Reply With Quote
  #285  
Old 28 Sep 2006, 17:56
GNDI's Avatar
GNDI GNDI is offline
 
Join Date: Jun 2005
Thanks to the poster of this php to make vbouncer work under vb 3.6.1.

I have collected his script with the original script, for ease of use to the unexspiriense users of vb. I'll hope you all understand my motive.

I with this I'll say it is working with Vbulletin 3.6.1 updated
Attached Files
File Type: zip vBouncer-1-3-1-vb361.zip (16.3 KB, 87 views)
__________________
BSD

VIB-host
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 11:04.

Layout Options | Width: Wide Color: