Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.7

Bug #3242 cyrus murder referrals not followed
Submitted: 2005-01-19 13:11 UTC
From: andre at gaarden dot net Assigned: damian
Status: Closed Package: Net_Sieve
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-01-19 13:11 UTC] andre at gaarden dot net
Description: ------------ When Net_Sieve connects to a Cyrus timsieved with "murder" setup, it might receive an answer with a referral to the backend host. (see bug #591) If the referral line contains the "sieve://" protocol name, Net_Sieve does not follow it correctly, an error is risen instead. Reproduce code: --------------- The following patch fixes this problem (for me): 949c949 < if (preg_match('/^bye \(referral "([^"]+)/i', $line, $matches)) { --- > if (preg_match('/^bye \(referral "(sieve:\/\/)?([^"]+)/i', $line, $matches)) { 951c951 < $this->_data['host'] = $matches[1]; --- > $this->_data['host'] = $matches[2];

Comments

 [2005-02-02 14:55 UTC] damian
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Net_Sieve