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

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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!