[ingo] two sieve servers

David Fernández Acín david.fernandez at ehu.es
Thu Jan 31 09:34:46 UTC 2013


Hi,

We added the following lines to ingo/config/backends.local.php

if ( isset($_SESSION['imp']) && $_SESSION["imp"]["0server_key"] == "imap1") {
         $backends['sieve1']['disabled'] = false;
         $backends['sieve2']['disabled'] = true;
}
elseif ( isset($_SESSION['imp']) && $_SESSION["imp"]["0server_key"] ==  
"imap2") {
         $backends['sieve1']['disabled'] = true;
         $backends['sieve2']['disabled'] = false;
}


----- Mensaje de Antonio Casado Rodriguez <acasado at ual.es> ---------
  Fecha: Wed, 30 Jan 2013 11:47:08 +0100
     De: Antonio Casado Rodriguez <acasado at ual.es>
Asunto: Re: [ingo] two sieve servers
   Para: ingo at lists.horde.org


> El 30/01/2013 11:40, Ralf Lang escribió:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Am 30.01.2013 11:33, schrieb Antonio Casado Rodriguez:
>>> Hello,
>>>
>>> I have two imap/sieve servers configured to select at login (in
>>> IMP: $conf['server']['server_list'] = 'shown'), and it's works ok.
>>>
>>> $servers['imap1'] = array( 'name' => 'USERS A', 'hostspec' =>
>>> 'imap1.ual.es', 'hordeauth' => true, ... $servers['imap2'] =
>>> array( 'name' => 'USERS B', 'hostspec' => 'imap2.ual.es',
>>> 'hordeauth' => true, ...
>>>
>>> How I configure ingo/config/backends.local.php for use his correct
>>> sieve server? Every imap server has one sieve server.
>>>
>>> $backends['imap1'] = array( 'preferred' => 'imap1.ual.es',
>>> 'transport' => 'timsieved', 'hordeauth' => true, ...
>>> $backends['imap2'] = array( 'preferred' => 'imap2.ual.es',
>>> 'transport' => 'timsieved', 'hordeauth' => true,
>>>
>>> but it's not work. Can anybody help me, please?
>>>
>>> Regards.
>>>
>> What exactly are the results? I don't see a disabled=false line in
>> your configs.
> There are these lines ( 'disabled' => false in the four configs)
>
> The results are:
> - Users A works ok with imap1 and sieve1.
> - Users B works ok with imap2, ingo try with imap1/sieve1 config
>
> Regards.
>
>
>
>>
>>
>> - -- Ralf Lang
>> Linux Consultant / Developer
>> Tel.: +49-170-6381563
>> Mail: lang at b1-systems.de
>> B1 Systems GmbH
>> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
>> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.19 (GNU/Linux)
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>
>> iEYEARECAAYFAlEI+IAACgkQCs1dsHJ/X7AuMwCfRam/IKQD7RsbKopdobMpT3Av
>> RxcAoNM27KGbAmykddyoxX90o8pz4ooe
>> =Ypus
>> -----END PGP SIGNATURE-----
>
> -- 
> Antonio Casado Rodríguez
> Administrador de Servicios de Red y Seguridad TIC
> Área de Comunicaciones
> STIC (Servicio de las Tecnologías de la Información y las Comunicaciones)
> UNIVERSIDAD DE ALMERÍA
>
> Este mensaje y los ficheros que puedan ser adjuntados son  
> confidenciales. Los mismos contienen información reservada que no  
> puede ser difundida. Si usted ha recibido este correo por error,  
> tenga la amabilidad de eliminarlo de su sistema y avisar al  
> remitente mediante reenvío a su dirección electrónica; no deberá  
> copiar el mensaje ni divulgar su contenido a ninguna persona. Su  
> dirección de correo electrónico junto a sus datos personales constan  
> en un fichero titularidad de La UNIVERSIDAD DE ALMERÍA cuya  
> finalidad es la de mantener el contacto con usted.
> Si quiere saber de qué información disponemos de usted, modificarla,  
> y en su caso, cancelarla, puede hacerlo enviando un escrito al  
> efecto, acompañado de una fotocopia de su D.N.I. a la siguiente  
> dirección: UNIVERSIDAD DE ALMERÍA –. Secretaría General de La  
> Universidad de Almería. Edificio Central, Planta baja. Ctra.  
> Sacramento s/n, La Cañada de San Urbano. CP 04120 Almería


----- Terminar mensaje de Antonio Casado Rodriguez <acasado at ual.es> -----


-- 
**********************************************************
David Fernández Acin
Sistema-analista / Analista de Sistemas
IKT Gerenteordetza / Vicegerencia TIC
Euskal Herriko Unibertsitatea / Universidad del País Vasco
Tlf: +34 94 601 2137
E-mail: david.fernandez at ehu.es
**********************************************************



More information about the ingo mailing list