![]() |
Quote:
I'll post a new release later today, that should work fro those with Exim and control panels. It allows using POP/IMAP access instead of files, and custom filters. |
here u go. have fun :)
|
Version 0.9 is out. New features added:
o Collect logs via IMAP/POP or mail spool file o Custom filters to match patterns in bounced emails To upgrade, uninstall, then reinstall through the installation script. |
The 0.9 zip file has been updated. There was a typo, caught by Paul M, that will cause an error if you enable usergroup changes. Download the file again to fix it.
|
This is one of the most useful hacks ever!!!!
tnx dude! |
I am trying to use POP, when I go to diagnostics, I get this error
Fatal error: Call to undefined function: imap_open() in /home/xxxxx/public_html/forums/admincp/vbouncer.php on line 141 |
also, it keeps failing on the POP test. are we supposed to type it in exactly like u have it?
{localhost:110/pop3}INBOX D |
Quote:
|
Quote:
|
recompiling now. see how it goes soon.
|
ok, got it work. i ran the cron and it said this
Processed 292 emails No bounced emails found. They are all bounced emails in there. |
Quote:
1. Those emails don't belong to any of your forum members, or 2. They do not match any of the patterns defined in vbouncer.inc Check the emails to confirm they are forum notification bounces. If they are, then you will need to define a pattern in vbouncer.inc to capture them. If you're not familiar with ReEx patterns, post samples of those emails here or send me a copy. |
they are the exact same ones in the zip i posted above earlier.
|
Quote:
If you want, send me the subscriber_notify POP access info by PM, and I'll test them to see why the patterns don't work on them, or if a new pattern is needed. |
yes, it is there and yes the stats is empty.
Sending the info now. |
Quote:
Open vbouncer-collect.php and find: PHP Code:
PHP Code:
|
working now!
I had to change this $imgpath = '../' . $stylevars['imgdir_poll']; to this $imgpath = $stylevars['imgdir_poll']; for the images to show up. that cause I have the full path in my images |
- July 4, 2005 v1.0 Added encrypted header for authentication (suggested by Paul M).
To upgrade, uninstall, then re-install, and re-upload all files. |
Does this hack support secure pop? Is yes, how should I configure it?
Thanks a lot |
Quote:
Here's a link with differnt setups: http://ca.php.net/manual/en/function.imap-open.php It from the PHP manual, so ignore the code, just look at the example strings like: {localhost:993/imap/ssl}INBOX {localhost:995/pop3/ssl/novalidate-cert} |
Quote:
Can anybody share some experience? Thanks. |
Quote:
|
I read the php document, looks like it says it needs something called c-client library. I thought php would have imap and pop support built-in, but seems it is more complicate than that. Also, after I tried the c-client library, looks like it is more of a pop/imap daemon than a client. I have my email service on another cpanel server, so I really just need php to be able to read imap mailbox. I am a little bit confused here.
BTW, if I choose to use email forward and now I can read the file locally, how would I update the stats manually? Thanks. |
Quote:
Quote:
|
Quote:
Quote:
Thanks. |
Quote:
Quote:
|
Quote:
Quote:
|
Quote:
I'd just install the c-client first as the docs say, then configure --with-imap and --with-imap-ssl and read the error report, if any. If that doesn't work, check with the host or sys admin. |
Quote:
|
Quote:
The documentation on php.net sugguested installing c-client, which might install both the binary and the library, while they should actually suggest the user install it only to get the library, not to install it as a daemon service. I tried to compile PHP directly with compilation option --with-imap and --with-imap-ssl, but got this error: configure: error: Cannot find rfc822.h. Please check your IMAP installation. Looks like it is missing the header file. Not sure if I install c-client will resolve it. I am a little hesitate to install c-client because the installation file tells me it is a daemon service, but my server already has imap and pop daemon service. |
Quote:
|
Quote:
make slx But after that, I cannot find a make install command. And the rest part of the README file really deals with installing the binaries as a daemon service, nothing really about library installation. If I went ahead to compile php with --with-imap=/usr/local/imap-2004e (which is the folder i created following instructions from php.net), then I got the above error: configure: error: Cannot find rfc822.h. Please check your IMAP installation. |
Quote:
Code:
cp c-client/c-client.a /usr/local/lib/libc-client.a |
Good to hear jb605 :up:
|
I did a mass email, and there are a large amount of bounced emails. I didn't notice that 50 count limit, so vbouncer went ahead and processed 50 unique emails, and deleted all the others. This is really bad because I do need all those bounced emails and need to process them all. Now they are gone, even if I raise the limit, I don't have those bounced emails anymore.
Also, vbouncer seems to delete emails that it cannot identify as returned error etc. It probably should leave those emails there, because I need to modify the vouncer.inc based on the patterns on those bounced emails. I guess it might be better if vbouncer only deletes emails it has read (in imap mode). I am not sure if it is possible with system file based method or pop mode. |
vBouncer must delete the emails after processing, otherwise it will count them as duplicates on the next run. If you get too many bounced emails on every run, just increase the frequency of the collection task, as explained in the first post. If you really need to save copies of your bounced emails, just create a cron job to copy the file for you.
|
Quote:
Currently, I have a large amount of emails being processed but vbouncer claims no bouncing emails found. I checked the code, and find the following code kind of confusing: PHP Code:
X-Failed-Recipients: adfasdfl@yhaoo.com Is it safe for me to remove the above search for ^Final-Recipient? Thanks. |
Quote:
vbouncer.inc allows you to add the proper patterns that match your usual bounced emails without modifying the code. vbouncer.inc currently holds 4 patterns that match the samples people here sent me so far, but you can add your own patterns to it as new cases. Not sure if you are using an old version without vbouncer.inc (it was added recently), you might want to click install to get the latest updates. |
My fault. I should add that pattern into vbouncer.inc instead of modifying the code. Adding it to vbouncer.inc does the same thing.
Thanks. Also, maybe you didn't expect, but I have a few thousands of bounced email addresses, and my stats page takes a long time to load. A pagination will probably solve that problem. |
I have this installed but it will not display any bounced emails in the stats screen and the
"Last run with results" portion of the same screen shows "19:00, 31st Dec 1969" as the last run date even though I ran the cron script myself manually in the admincp to test it. Im using the IMAP mode. What could be set wrong? |
All times are GMT. The time now is 11:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|