[ingo] FW: Patches for Net_Sieve & Ingo

Jan Schneider jan at horde.org
Fri Sep 26 09:01:35 PDT 2003



----- Weitergeleitete Nachricht von mark at 2pmtech.co.uk -----
    Datum: Fri, 26 Sep 2003 16:08:42 +0100
    Von: Mark <mark at 2pmtech.co.uk>
Antwort an: Mark <mark at 2pmtech.co.uk>
 Betreff: FW: Patches for Net_Sieve & Ingo
      An: ingo-owner at lists.horde.org

Hi, I tried to send this to the Ingo list - I guess it bounced as I am
not a subscriber to the list. Could you pass it on to the correct
person, or if you can let me know the correct person, I'll e-mail them.

Thanks in advance
Mark Wilkinson

-----Original Message-----
From: Mark [mailto:mark at 2pmtech.co.uk]
Sent: 26 September 2003 16:03
To: 'richard at phpguru.org'; 'damlists at cnba.uba.ar';
'ingo at lists.horde.org'
Subject: Patches for Net_Sieve & Ingo

Hi to the maintainers of both Net_Sieve from PEAR and Ingo from Horde

Please excuse this being posted to both the maintainers of the Net_Sieve
package and the Horde Ingo mailing list, It may be of use to other's on
the Horde mailing list who are trying to setup a similar system.

I've recently been setting up a demo system where I work using the
latest cvs version of horde and a Cyrus IMAP server.

We want to run the Cyrus IMAP server in the multi-system murder type
setup, allowing the ability of multiple imap/pop3/sieve servers.

With Cyrus in this configuration, everything with the exception of
timsieved has a proxy program that communicates with the backend
mailstore, whereas the timsieved  responses with a 'BYE (REFERRAL
"back.end.host")' message.

This caused a problem in the Net_Sieve package (v 0.8.1) not recognising
the 'BYE' response from the sieve daemon and a secondary problem with
the Ingo timsieve driver not knowing how to handle a referral to a
different system.

The two patches I've attached fix these problems, hopefully in a
sensible manner (well, they work nicely on my demo systems :-)

For Net_Sieve, the _getResponse function is patched to raise an error
and return the referral hostname.

For Timsieve driver, the setActiveScript function is patched to retry
using the referred to hostname.

Regards
Mark Wilkinson
Operations System Admin
2PM Technologies Ltd.


----- Ende der weitergeleiteten Nachricht -----


Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timsieved.diff
Type: application/octet-stream
Size: 997 bytes
Desc: not available
Url : http://lists.horde.org/archives/ingo/attachments/20030926/07505be6/timsieved.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Net_Sieve.diff
Type: application/octet-stream
Size: 782 bytes
Desc: not available
Url : http://lists.horde.org/archives/ingo/attachments/20030926/07505be6/Net_Sieve.obj


More information about the ingo mailing list