Solution: AW: [ingo] Ingo with timsieved / Can't follow referral to sieve://imap-be1

Stefan Schleifer Stefan.Schleifer at trepesch.de
Mon Jan 17 07:21:43 PST 2005


Thank you,

that's it, everything works fine after changing the links.

I can't believe i'm among the few at this world trying to do this... no
point to this question at google :-).

Regards,
Stefan


-----Ursprüngliche Nachricht-----
Von: Andre Boehm [mailto:andre at gaarden.net] 
Gesendet: Montag, 17. Januar 2005 12:53
An: Stefan Schleifer
Cc: ingo at lists.horde.org
Betreff: Re: [ingo] Ingo with timsieved / Can't follow referral to
sieve://imap-be1


Stefan Schleifer schrieb:

> Can't follow referral to sieve://imap-be1, The error was= Success

I had similar problems with my Cyrus Murder setup.
I could find the problem in pear-Net-Sieve, and following change made 
referrals working for me.

This is the original /usr/local/share/pear/Net/Sieve.php, starting from 
line 949:

if (preg_match('/^bye \(referral "([^"]+)/i', $line, $matches)) { // Check
for referral, then follow it.  Otherwise, carp an error.
         $this->_data['host'] = $matches[1];


I fixed it by changing these lines into:

if (preg_match('/^bye \(referral "(sieve:\/\/)?([^"]+)/i', $line, 
$matches)) {
// Check for referral, then follow it.  Otherwise, carp an error.
      $this->_data['host'] = $matches[2];


I hope this helps.

André Böhm


More information about the ingo mailing list