| Anonymous | Login | Signup for a new account | 21-11-09 09:23 GMT |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0005033 | [phplist] Bounce Management | feature | always | 10-12-05 07:53 | 09-04-08 23:47 | |||||||
| Reporter | Chris | View Status | public | |||||||||
| Assigned To | ||||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | new | Product Version | 2.10.2 | |||||||||
| Summary | 0005033: add option to use Pear module instead of php_imap for bounce retrieval | |||||||||||
| Description |
I upgraded from ver 2.9.4 where bounce management worked perfectly. I now cannot retrieve the bounces from the pop bounce mailbox. I have confirmed that the bounces are in my bounce mailbox using a normal mail client. When running the "Process bounces" menu itme the bounces are not retrieved from the pop mailbox. If I re-install ver 2.9.4 it works again. I have compared the config file for the 2.9.4 version to 2.10.2 and there are no settings that are different. My config settings: $message_envelope = 'bounces@mydom.com'; $bounce_protocol = 'pop'; define ("MANUALLY_PROCESS_BOUNCES",1); $bounce_mailbox_host = 'pop.mydom.com'; $bounce_mailbox_user = 'bounces@mydom.com'; $bounce_mailbox_password = 'XXXX'; #$bounce_mailbox_port = "110/pop3/notls"; $bounce_mailbox_port = "110/pop3"; $bounce_mailbox = '/var/spool/mail/listbounces'; $bounce_mailbox_purge = 1; $bounce_mailbox_purge_unprocessed = 1; Shared ISP php ver 4.1 Browser - Firefox and MSIE |
|||||||||||
| Additional Information | http://www.phplist.com/forums/viewtopic.php?t=4049 [^] | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0009563) Chris (reporter) 13-12-05 16:05 |
The code to correc the issue is at http://www.phplist.com/forums/viewtopic.php?t=4049 [^] b y claude as below In processbounces.php Find : Code: function processPop ($server,$user,$password) { $port = $GLOBALS["bounce_mailbox_port"]; # if (!$port) { $port = '110/pop3/notls'; # } set_time_limit(6000); and change for : Code: function processPop ($server,$user,$password) { $port = $GLOBALS["bounce_mailbox_port"]; # if (!$port) { # $port = '110/pop3/notls'; # } set_time_limit(6000); |
|
(0010094) bingnet (reporter) 25-01-06 23:02 |
I have applied Claud's code and am still getting the exact same error. I have not changed config/config.php since upgrading to 2.10.2; bounce processing worked prior to upgrade; confirmed bouces are in the bouncebox-they are not being processed or purged when attempting to manually process bounces; error message is always: "error: IMAP is not included in your PHP installation, cannot continue Check out http://www.php.net/manual/en/ref.imap.php" [^] My system details are: * PHPlist version: 2.10.2 * PHP version: 5.0.4 * Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 * Webserver: Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b * Website: tefilah.net/phplist * Mysql Info: 4.1.14-standard * PHP Modules: o xml o tokenizer o standard o SQLite o SPL o sockets o SimpleXML o session o posix o pcre o mysqli o mysql o mhash o mcrypt o iconv o gettext o gd o ftp o dom o curl o ctype o calendar o bcmath o zlib o libxml o Zend Optimizer |
|
(0010488) bevan (reporter) 09-02-06 15:08 |
Quote: "error: IMAP is not included in your PHP installation, cannot continue" I assume PHPlist gives you this error (as a message in red). This means that the IMAP module is not installed in your servers PHP installation. 2.10 requires the IMAP module for bounce-processing to work. I'm not sure about earlier versions. You can confirm whether IMAP is/isn't installed and/or if PL is having problems finding it with phpinfo() Look for a part titled 'IMAP module' or something. Let us know what the outcome is, so we can resolve this bug. |
|
(0010524) bingnet (reporter) 10-02-06 00:24 |
Confirmed php IMAP module is not installed, my bounce processing should work fine after applying Claude's code and installing php IMAP module. |
|
(0010573) bevan (reporter) 10-02-06 16:42 |
Correct me if I'm wrong someone who knows better, but I don't think claude's cod will solve your problem, as function processPop() still requires the IMAP module, doesn't it? |
|
(0010574) michiel (administrator) 10-02-06 16:47 |
yes, it's a bit confusing terminology, but the IMAP module is not just for IMAP. In fact, phplist doesn't use IMAP, it uses POP. The IMAP module is required to process messages, even if they are retrieved from the filesystem in mailbox format, and no POP or IMAP is involved. |
|
(0031551) jvarrone (reporter) 03-09-07 15:03 |
More and more hosting companies (mine included) are moving into the 64 bit environment. They claim that the 64 bit PHPIMAP functions are "not stable enough" to implement at this time and thus, are not compiling their systems to include it. A search on various BBS support this. Is there ANY possible workaround to retrieving bounced emails w/o depending on the PHP imap functions? |
|
(0031553) michiel (administrator) 03-09-07 15:32 |
I think I recall someone using some PEAR functionality for IMAP to get around compiling IMAP into PHP, but you'd have to search a bit (and tell us what you find), because I can't remember where or even when |
|
(0031554) jvarrone (reporter) 03-09-07 15:42 |
PEAR *is* compiled with PHP on this particular server. Does it require a different system call in the processbounces.php code? |
|
(0031557) michiel (administrator) 03-09-07 15:57 |
no, what I mean is, someone recoded the processing of bounces to use some PEAR modules, instead of the PHP imap functions. Sorry, no more info, you'll have to search for it, or ask around on the forums. |
|
(0043863) h2b2 (reporter) 31-03-08 17:11 |
The alternative code referred to by Michiel can be found on the forum: "POP3 without IMAP extension" - http://forums.phplist.com/viewtopic.php?t=3070 [^] You'll need the Net_POP3 PEAR module installed on your server. |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |