vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBouncer: reduce server load by unsubscribing bouncing members from threads (https://vborg.vbsupport.ru/showthread.php?t=83486)

pran 08-15-2005 02:25 AM

Yes, the plugin is active.

tamarian 08-15-2005 05:43 PM

Quote:

Originally Posted by pran
Yes, the plugin is active.

What are your vBulletin email settings? Are you using SMTP? Do you use the -f option?

pran 08-15-2005 11:24 PM

I just enabled the -f option and this is what I received when I tested it again:
Code:

Microsoft Mail Internet Headers Version 2.0
Received: from mx1-out.bitstop.ph ([202.91.161.137]) by rizal.dagupan.com with Microsoft SMTPSVC(6.0.3790.1830);
        Tue, 16 Aug 2005 06:24:46 +0800
Received: from irc.dagupan.com (irc.dagupan.com [202.91.161.246])
        by mx1-out.bitstop.ph (Postfix) with ESMTP id 94AAD198429
        for <xxxxxx@dagupan.com>; Tue, 16 Aug 2005 06:23:22 +0800 (PHT)
Received: by irc.dagupan.com (Postfix, from userid 80)
        id 52D0872DF1; Tue, 16 Aug 2005 06:23:45 +0800 (PHT)
To: xxxxxx@dagupan.com
Subject: vBulletin Email Test (With -f Parameter)
From: "kuro@bitstop.ph" <kuro@bitstop.ph>
Message-ID: <200508152245.650e9d317965@www.kuro.ph>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: vBulletin Mail via PHP
Date: Tue, 16 Aug 2005 06:23:45 +0800 (PHT)
Return-Path: kuro@bitstop.ph
X-OriginalArrivalTime: 15 Aug 2005 22:24:46.0437 (UTC) FILETIME=[245B3950:01C5A1E8]


tamarian 08-15-2005 11:42 PM

Quote:

Originally Posted by pran
I just enabled the -f option and this is what I received when I tested it again:
Code:

Return-Path: kuro@bitstop.ph

Looks good, So it seems SMTP users need to enable -f. I'll add that to the instructions.

pran 08-15-2005 11:48 PM

Not quite, remember that my desired "Reply-To:" value should be vbouncer-notify@kuro.ph and not kuro@bitstop.ph (this is the webmaster e-mail).

tamarian 08-16-2005 01:54 AM

Quote:

Originally Posted by pran
Not quite, remember that my desired "Reply-To:" value should be vbouncer-notify@kuro.ph and not kuro@bitstop.ph (this is the webmaster e-mail).

Hmm, so we now have had two different return paths and none of them is the one you set up? I can only think of wrong settings to cause this.

Double check all your settings, make sure the plugin is there, and activated, let me know your vB email settings and you vBouncer settings, then generate a subscription notifications (a reply to a thread) and let's check the headers.

pran 08-22-2005 11:58 PM

Hmm... for some reason, it's now sending as the vBouncer e-mail. However, I'm getting this in the logs:
Code:

vbounce.inc not found, or not readable. Only processing standard reports.

tamarian 08-23-2005 01:36 AM

Quote:

Originally Posted by pran
Hmm... for some reason, it's now sending as the vBouncer e-mail. However, I'm getting this in the logs:
Code:

vbounce.inc not found, or not readable. Only processing standard reports.

Have you uploaded all the files?

pran 08-23-2005 01:39 AM

Yes, vbounce.inc is in the same directory as the cron files.

tamarian 08-23-2005 02:08 AM

Quote:

Originally Posted by pran
Yes, vbounce.inc is in the same directory as the cron files.

And it has read permission set?

Are you running on a Windows server?

pran 08-23-2005 02:21 AM

Yes, it has the read permission set:
Code:

-rw-r--r--  1 www  www  4567 Jul  4 17:26 vbouncer.inc
This is on a FreeBSD server.

tamarian 08-23-2005 02:37 AM

Quote:

Originally Posted by pran
Yes, it has the read permission set:
Code:

-rw-r--r--  1 www  www  4567 Jul  4 17:26 vbouncer.inc
This is on a FreeBSD server.

Try this. Open vbouncer-collect.php

Find:

PHP Code:

if (file_exists('./includes/cron/vbouncer.inc') AND is_readable('./includes/cron/vbouncer.inc')) {
        
$REContext parse_ini_file('./includes/cron/vbouncer.inc'TRUE);


Replace with:

PHP Code:

if (file_exists(DIR .  '/includes/cron/vbouncer.inc') AND is_readable(DIR .  '/includes/cron/vbouncer.inc')) {
        
$REContext parse_ini_file(DIR .  '/includes/cron/vbouncer.inc'TRUE);



dethfire 09-16-2005 11:04 PM

Fatal error: Call to undefined function: imap_close() in /home/musicban/public_html/includes/cron/vbouncer-collect.php on line 162

tamarian 09-17-2005 12:07 AM

Quote:

Originally Posted by dethfire
Fatal error: Call to undefined function: imap_close() in /home/musicban/public_html/includes/cron/vbouncer-collect.php on line 162

This means your PHP was not compiled with IMAP. You might need to recompile, or use the file spool method.

csidlernet 10-05-2005 02:27 AM

thanksman.. your an uberhax0r
/me installs

G-man 10-06-2005 01:50 AM

tamarian,
After upgrading to 3.5 my vbouncer went dead and my emails started goign out with the plain nobody@server.mydomain.com return addresses for some reason. I downloaded the updated files, but upon trying to install them the database was erroring out saying the table data was already there. Should I delete what is there and reinstall it?

tamarian 10-06-2005 02:05 AM

Quote:

Originally Posted by G-man
tamarian,
After upgrading to 3.5 my vbouncer went dead and my emails started goign out with the plain nobody@server.mydomain.com return addresses for some reason. I downloaded the updated files, but upon trying to install them the database was erroring out saying the table data was already there. Should I delete what is there and reinstall it?

Not sure why that would happen. But no need to delete, just run the installation script, and click uninstall, then run it agin to einstall. Write down any previous settings like the encryption phrase, and the email, etc. (and click install :) )

G-man 10-06-2005 02:08 AM

Thanks for the quick reply. I just did that but the emails are still going out with the nobody@server.mydomain.com as the return address. Strange...

tamarian 10-06-2005 02:12 AM

Quote:

Originally Posted by G-man
Thanks for the quick reply. I just did that but the emails are still going out with the nobody@server.mydomain.com as the return address. Strange...

Have you activated the plugins?

buro9 10-06-2005 10:49 AM

Thanks very much, appears to be working great, and deprecates the need for me to run my PERL script to do it :) Lovely.

G-man 10-06-2005 02:26 PM

New problem now. I got the return email addy to change by using the -f command in the control panel but now all the emails going out are sent with the webmaster email and not the vbouncer email. I think the hook fell out that engaged the vbouncer email. How can I get it back in?

G-man 10-06-2005 02:29 PM

OMG it works!! I imported the plugin and it works.... Thanks

dutchbb 10-08-2005 03:46 PM

Problems:

Quote:

Status:

No bounce collection method defined, exiting. Bounce collection failed, exiting.
What to do?

G-man 10-08-2005 04:01 PM

I spoke too soon. When Cron runs vBouncer it errors out and I get:

Fatal error: Call to undefined function: imap_close() in /home/djchat/public_html/boards/includes/cron/vbouncer-collect.php on line 162

tamarian 10-08-2005 04:04 PM

Quote:

Originally Posted by Triple_T
What to do?

You need to setup your vBouncer options in vBulletin Options -> vBouncer.

tamarian 10-08-2005 04:05 PM

Quote:

Originally Posted by G-man
I spoke too soon. When Cron runs vBouncer it errors out and I get:

Fatal error: Call to undefined function: imap_close() in /home/djchat/public_html/boards/includes/cron/vbouncer-collect.php on line 162

This means your PHP does not have IMAP functions. You need to either recompile with IMAP support, or use the file spool method instead.

dutchbb 10-08-2005 04:08 PM

Quote:

Originally Posted by tamarian
You need to setup your vBouncer options in vBulletin Options -> vBouncer.

Hm I did that. Maybe I forgot something. Some options I don't even understand so it wouldn't surprise me.

But there is no "collection method" option or something like that.

tamarian 10-08-2005 04:11 PM

Quote:

Originally Posted by Triple_T
Hm I did that. Maybe I forgot something. Some options I don't even understand so it wouldn't surprise me.

But there is no "collection method" option or something like that.

Collection method mehod is either IMAP or a spool file. Make sure you check the diagnostics option in the vBouncer menu, to see if there are any errors.

dutchbb 10-08-2005 04:16 PM

Quote:

Originally Posted by tamarian
Collection method mehod is either IMAP or a spool file. Make sure you check the diagnostics option in the vBouncer menu, to see if there are any errors.

Ok "IMAP/POP connection"

To be honest, I'm not sure what to fill in there.

Quote:

Here are a few examples, replace the domain name with your own:
For local IMAP: {localhost:143}INBOX
For local POP: {localhost:110/pop3}INBOX
For remote POP: {myisp.com:110/pop3}INBOX
{localhost:110/pop3}INBOX didnt work
do i need to change the numbers or something?
Sorry if these are dumb questions...

tamarian 10-08-2005 05:20 PM

Quote:

Originally Posted by Triple_T
{localhost:110/pop3}INBOX didnt work
do i need to change the numbers or something?
Sorry if these are dumb questions...

These values are based on your email account setup. Think of them like any new account you setup for your server. Instead of local host, put the URL of the domain used for the email, and make sure you put the email username and password in the rest of the fields.

dutchbb 10-08-2005 06:11 PM

This isn going to work, too bad :(

fyi

{dutchbodybuilding.com:110/pop3}INBOX didnt work password is there...

tamarian 10-08-2005 06:13 PM

Quote:

Originally Posted by Triple_T
didnt work

What is the output of the diagnostic menu option?

dutchbb 10-08-2005 06:16 PM

not sure what menu

but this comes out after the task:

vbouncer Collect

Fatal error: Call to undefined function: imap_close() in /home/xch1295/domains/dutchbodybuilding.com/public_html/forum/includes/cron/vbouncer-collect.php on line 162

G-man 10-08-2005 06:25 PM

Tamarian,

I have recompiled Apache with the imap setting on for php but am still getting the error. Here is a snip from the compiles:

Quote:

configure php-4.3.11...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-imap --with-imap-ssl --with-kerberos --enable-magic-quotes --with-mysql=/usr --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib).... . . . . . . . . . . . . . Done
Do I need to turn something on in php.ini?

tamarian 10-08-2005 06:31 PM

Quote:

Originally Posted by G-man
I have recompiled Apache with the imap setting on for php but am still getting the error. Here is a snip from the compiles:

I don't think php.ini needs any modifications. What is the output if you click on the vBouncer menu -> Diagnostics ?

tamarian 10-08-2005 06:32 PM

Quote:

Originally Posted by Triple_T
not sure what menu

From the admincp -> vBounder menu -> Diagnostics

dutchbb 10-09-2005 11:48 AM

Ok

* Valid vBouncer email account (subscriber_notify@dutchbodybuilding.com) Passed
* vBouncer email account (subscriber_notify@dutchbodybuilding.com) differs from webmaster account Passed

*vBouncer email spool file () exists Failed
*vBouncer email spool file () is writable Failed
*vBouncer email spool file () is readable Failed

*vbouncer.inc file exists Passed
*vbouncer.inc file is readable Passed

*Your PHP installation supports IMAP/POP Failed

tamarian 10-09-2005 12:23 PM

Quote:

Originally Posted by Triple_T
Ok

* Valid vBouncer email account (subscriber_notify@dutchbodybuilding.com) Passed
* vBouncer email account (subscriber_notify@dutchbodybuilding.com) differs from webmaster account Passed

*vBouncer email spool file () exists Failed
*vBouncer email spool file () is writable Failed
*vBouncer email spool file () is readable Failed

*vbouncer.inc file exists Passed
*vbouncer.inc file is readable Passed

*Your PHP installation supports IMAP/POP Failed

O.k., so this diagnostic indicate that your server PHP was no configured with IMAP. You will need to recompile it with IMAP support (or have your host do it), or use the file spool method, as described in the first 3 posts.

ImportPassion 10-13-2005 04:00 AM

I am upgrading from the 3.0 version. Since I already have it installed, I assume I don't have to go through that again?

So I went to add the plugin and it says Invalid File Specified.

Any ideas?

Edit: thats for the CPNav one.

tamarian 10-13-2005 04:09 AM

Quote:

Originally Posted by 7thgenCivic.Com
I am upgrading from the 3.0 version. Since I already have it installed, I assume I don't have to go through that again?

So I went to add the plugin and it says Invalid File Specified.

Any ideas?

Edit: thats for the CPNav one.

For the cpnav xml file, you just upload it to /includes/xml directory. You just need to import one plugin file, from the plugin diretory.

Let me know if this works smoothly without the install script, so I can add a note to those upgrading :)


All times are GMT. The time now is 08:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01661 seconds
  • Memory Usage 1,843KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (2)bbcode_php_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete