The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBouncer (PHP): reduce server load by unsubscribing bouncing members from threads Details »» | |||||||||||||||||||||||||||
vBouncer (PHP): reduce server load by unsubscribing bouncing members from threads
Developer Last Online: Nov 2023
There's also a vB 3.5 version: https://vborg.vbsupport.ru/showthrea...threadid=83486
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. This was initially released for vB 2.x and vB 3.0.x as a Perl script, and is now fully integrated with vB as scheduled tasks with admin panel control. 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: Manual or auto processing option Collect logs via IMAP/POP or mail spool file Uses vB's cron files (Scheduled tasks) Custom filters to match patterns in bounced emails Encryption header to authenticate bounces. Stats on members with bouncing emails, and error codes Tuning options Verbose cron logs for diagnostics Option to send PM warning prior to reaching the limit Option to send PM notifications after reaching the limit Option to change the member's subscription default Option to all thread subscriptions to "no email" Option to all forum subscriptions to "no email" Option to move offenders to a different primary usergroup 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/cron => includes/cron) 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. Edit includes/mail.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Change log: - 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 added 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.51 for 3.0.7 Corrected installer file. - June 27, 2005 v0.5 for 3.0.7 Add setting for custom header strings. - June 26, 2005 v0.2 for 3.0.7 Initial release No changes, just removed the plugin Screenshots from 3.5 beta, but it looks the same on 3.0.7... Show Your Support
|
Comments |
#112
|
||||
|
||||
Is there a 3.5?
|
#113
|
|||
|
|||
Quote:
|
#114
|
||||
|
||||
|
#115
|
|||
|
|||
When trying to run vbouncer-clean.php via the Scheduled Task Manager I get the following....
Database error in vBulletin 3.0.8: Invalid SQL: DELETE FROM vb3_vbouncer WHERE vbouncer.dateline < 1124683668 mysql error: Unknown table 'vbouncer' in where clause mysql error number: 1109 Can someone point me in the right direction on what to edit to cure this? Thanks, Gil |
#116
|
|||
|
|||
Quote:
PHP Code:
PHP Code:
|
#117
|
|||
|
|||
Thank you that did the trick...
Gil |
#118
|
|||
|
|||
Hi
This is a great hack. Thanks for your good work It all seemed to install ok and it does catch a few but most bounces are not caught. I expect i just need the definitons to go in the .inc file. So if some kind soul could help me out here is one that is not picked up. Code:
X-Kaspersky: Checked Date: Thu, 15 Sep 2005 07:47:39 +0100 Message-Id: <10509150747.AA78381076@domain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Postmaster" <postmaster@domain.com> Sender: <postmaster@domain.com> To: <admin@domain.com> Subject: Undeliverable Mail X-Mailer: <SMTP32 v8.00> Status: U X-PMFLAGS: 34078848 0 1 P32Z4HA0.CNM undeliverable to username@myforums.com Original message follows. Received: from server [IP ADDRESS] by domain.com (SMTPD32-8.00) id AB25620110; Thu, 15 Sep 2005 03:23:33 +0100 Date: Thu, 15 Sep 2005 03:23:30 +0000 Subject: Reply to post To: username@myforums.com From: "My Forums" <support@myforums.com> Return-Path: support@myforums.com Message-ID: <200509150228.fd8e26864301@myforums.com> X-Priority: 3 X-Mailer: vBulletin Mail via PHP MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Return-ID: [deleted ;o)] X-Declude-Sender: admin@myforums.com [IP ADDRESS] X-Note: This E-mail was scanned for spam. Thank you. |
#119
|
|||
|
|||
First, delete this line from your post "X-Return-ID:" No big deal, but you never know.
Quote:
Code:
[case_5] email_regex = "undeliverable to /<(\S+@\S+)>/mis"; apply_email_regex_on_body = yes; email_append_host = no; email_append_host_regex = ""; apply_append_regex_on_body = yes; consider_as_5_0_0_regex = "/This is a permanent error/mis"; consider_as_550_regex = "/(user unknown|said: 550|unknown recipient|domain not found|mailbox not found|Mailbox unavailable|invalid recipient)/mis"; forged_if_no_return_id = yes; |
#120
|
|||
|
|||
Quote:
Thank you for the fast reply. I just added that and i got this error Code:
Warning: preg_match(): No ending delimiter '^' found in \includes\cron\vbouncer-collect.php on line 103 |
#121
|
|||
|
|||
Try it again, I edited out the ^
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|