Changeset 4236 for sandbox/2.2.0.2
- Timestamp:
- 05/06/11 11:12:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/expressoMail1_2/inc/class.SieveS.inc.php
r3018 r4236 187 187 188 188 $said = $this->read(); 189 190 // DEBUG: Para compatibilizar o sieve com o REFERRAL 191 //$tmp = array(); 192 /*if ( preg_match('|^BYE \(REFERRAL "(sieve://)?([^/"]+)"\)|', $said, $tmp) ){ 193 // Redefine a configuracao do servidor sieve, baseado no referral 194 $this->host = $tmp[2]; 195 // Forca reiniciar a conexao, mas agora para o novo servidor 196 $this->close (); 197 unset ($this->socket); 198 $this->start (); 199 200 // Excuta novamente esta funcao (libscripts) para continuar a sequncia do codigo 201 // Chama-la recursivamente nao funciona. A funcao fica em loop 202 if(!is_resource($this->socket)){ 203 $this->errstr = "listscripts: sem conexao para o servidor $this->host"; 204 return false; 205 } 206 fputs($this->socket,"LISTSCRIPTS\r\n"); 207 $said = $this->read(); 208 }*/ 209 210 189 211 while (is_resource($this->socket) && (!preg_match("/^OK/",$said) && !preg_match("/^NO/",$said))) { 190 212
Note: See TracChangeset
for help on using the changeset viewer.