Net_Sieve pear.php.net Handles talking to a sieve server. This package provides an API to talk to servers implementing the managesieve protocol. It can be used to install and remove sieve scripts, mark them active etc. Aleksander Machniak alec alec@alec.pl yes Jan Schneider yunosh jan@horde.org no Richard Heyes richard richard@php.net no Damian Fernandez Sosa damian damlists@cnba.uba.ar no Anish Mistry amistry amistry@am-productions.biz no 2021-04-24 1.4.5 1.4.3 stable stable BSD * Support XOAUTH2 authorization method 5.0.0 1.4.0b1 Net_Socket pear.php.net 1.0 Auth_SASL pear.php.net 1.0 2018-03-04 1.4.3 1.4.1 stable stable BSD * Support GSSAPI authentication 2018-02-14 1.4.2 1.4.0 stable stable BSD * Composer: Fix license identifier, don't use unbound version numbers for deps 2017-05-26 1.4.1 1.4.0 stable stable BSD * Use 8bit instead of latin1 for string length in bytes calculation * Extend listScripts() so it's possible to get an active script name in one go * Request #20491: Skip redundant CAPABILITY requests 2017-05-21 1.4.0 1.4.0 stable stable BSD * Dropped PHP4 support, fixed PHP7 warnings * Fixed E_DEPRECATED warning on Auth_SASL::factory() call * Enable later TLS versions 2015-01-20 1.3.4 1.3.0 stable stable BSD * Remove erroneous and unnecessary active script caching (Bug #20472). 2014-09-24 1.3.3 1.3.0 stable stable BSD * Fix notices from non-static calling of PEAR methods. * Fix reading OK responses with string literal messages. 2011-08-06 1.3.2 1.3.0 stable stable BSD * Fix referrals if host data or user credentials are passed to connect() and login() instead of the constructor (Aleksander Machniak, Bug #17107). 2011-08-05 1.3.1 1.3.0 stable stable BSD * Query capabilities again after successful authentication (Jesse Crawford, Request #18382). * Escape quotes and backslashes in script names, and use literal strings for script names with non-ASCII characters (Aleksander Machniak, Bug #16691). * Work around broken STARTTLS behavior in Cyrus versions before 2.3.10 (Aleksander Machniak, Bug #18241). * Improve string literal parsing (Aleksander Machniak, Bug #18228). 2010-07-01 1.3.0 1.3.0 stable stable BSD * Add debug handler parameter to constructor. * Fix LOGIN authentication (Agustín Eijo, Aleksander Machniak, Bug #17527). 2010-06-13 1.2.2 1.2.0 stable stable BSD * Fix SASL authentication without Auth_SASL (Bug #17489). 2010-04-19 1.2.1 1.2.0 stable stable BSD * Fix DIGEST-MD5 authentication with Dovecot (Stef Simoens, Bug #17320). 2010-04-01 1.2.0 1.2.0 stable stable BSD Changes since version 1.2.0b1: * Fix DIGEST-MD5 authentication (Aleksander Machniak, Bug #17285). * Don't try to call dl() if mbstring extension isn't loaded (Bug #17038). Changes since version 1.1.7: * Added support for adding a custom debug handler (Aleksander Machniak, Request #16681). * Fix breakage with certain locales, especially Turkish. * Fix reading authentication responses without literals (Bug #16647). * Code cleanup. 2009-10-07 1.2.0b1 1.2.0 beta stable BSD * Added support for adding a custom debug handler (Aleksander Machniak, Request #16681). * Fix breakage with certain locales, especially Turkish. * Fix reading authentication responses without literals (Bug #16647). * Code cleanup. 2009-07-24 1.1.7 1.1.6 stable stable BSD * Fixed STARTTLS support (Bug #14205). * Added connect options and EXTERNAL authentication. 2008-03-22 1.1.6 1.1.6 stable stable BSD * Fixed Bug #9273 * Fixed copy/paste error in CRAM and DIGEST authentication error case. 2006-10-24 1.1.5 1.1.5 stable stable BSD * Fixed Bug connect() bug * Fixed Request #8071 2006-09-09 1.1.4 1.1.4 stable stable BSD * Fixed Bug #8452 Unterminated read loop * Fixed Bug #7845 Add mbstring support * Added Request #8071 Enable the ability to toggle TLS support if available. * Added Request #8453 Clean up PHPDoc and comments 2006-05-21 1.1.3 1.1.3 stable stable BSD * Correctly Fixed Bug #3519 Net_Sieve w/ externally established sockets * Fixed Bug #7197 getScript() truncates long scripts * Added PHPUnit2 regression test script 2006-02-09 1.1.2 1.1.2 stable stable BSD * Fixed Request #4053 Added STARTTLS support for PHP 5.1 and above * Fixed Bug #3519 Net_Sieve w/ externally established sockets * Fixed Bug #4794 drops protocol prefix, e.g. "ssl://" in referrals * Fixed STARTTLS detection * Allow $options[] to be passed to Net_Socket 1.1.1 1.1.1 stable stable 2005-02-02 BSD * Fixed Bug #3242 cyrus murder referrals not followed 1.1.0 1.1.0 stable stable 2004-12-18 BSD * Fixed Bug #2728 Linebreaks not being read using getScript() 1.0.1 1.0.1 stable stable 2004-03-13 BSD * Fixed BUG #1006 1.0.0 1.0.0 stable stable 2004-03-10 BSD * Fixed DIGEST-MD5 sasl version handling (sasl v1.xx responses are diferent than v2.xx) * Fixed LOGIN Method 0.9.1 0.9.1 beta beta 2004-02-29 BSD * There is an issue whith the DIGEST-MD5 method. in one installation it does not work but in my server it works perfect! please send me debug info to solve the problem if it affects you or disable DIGEST-MD5 * some optimizations to the code * added haveSpace() to check if the server has space to store the script. Use with care HAVESPACE seems to be broken in cyrus 2.0.16 * added hasExtension() * added getExtensions() * added referral support and automatic following of them. (it also handles the following of multireferrals). * removed _getResponse replaced by _doCmd. (thanks to Etienne Goyer for this) * added supportsAuthMech() * if installed automatically uses Auth_SASL * added CRAM-MD5 auth Method * added DIGEST-MD5 auth Method * added getAuthMechs() returns an array containing all the auth methods the server supports * added hasAuthMech() to check if the server has a particular auth method * _connect --> connect: now is a public method (without breaking BC) * _login --> login: now is a public method (without breaking BC) * fix typo cmdAuthenticate() ---> _cmdAuthenticate() * _doCmd() now parses string responses also. 0.9.0 0.9.0 beta beta 2004-01-31 BSD * Added setDebug() method and debugging capabilities * added disconnect() method * added sample file test_sieve.php * fixed bug #591 * automagically selects the best auth method 0.8.1 0.8.1 beta beta 2002-07-27 BSD Initial release 0.8 0.8 beta beta 2002-05-10 PHP Initial release 2018-09-09 1.4.4 1.4.2 stable stable BSD * Fix PHP 7.3: Declaration of case-insensitive constants is deprecated