Re: Instalación horde - solucionado

2005-12-15 Por tema Sergio Villalba
Hola, ya lo he solucionado.

En el script /etc/init.d/courier-imap he comentado esta línea:

prefix=/usr/local
exec_prefix=/usr/local
bindir=${exec_prefix}/bin
libexecdir=/usr/local/libexec

if test ! -f ${prefix}/etc/imapd
then
echo ${prefix}/etc/imapd does not exist, forgot make
install-configure?
exit 1
fi

if test ! -f ${prefix}/etc/imapd-ssl
then
echo ${prefix}/etc/imapd-ssl does not exist, forgot make
install-configure?
exit 1
fi

TLS_CACHEFILE=
#. ${prefix}/etc/imapd-ssl --- esta linea
. ${prefix}/etc/imapd

case $1 in
start)
if test $TLS_CACHEFILE != 
then
rm -f $TLS_CACHEFILE
fi

umask $IMAP_UMASK
ulimit -v $IMAP_ULIMITD
/usr/bin/env -i /bin/sh -c  set -a ;
prefix=/usr/local ;
exec_prefix=/usr/local ;
bindir=${exec_prefix}/bin ;
 ..

No lo entiendo pero funciona.

Un saludo.
S.V.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Instalación horde - solucionado

2005-12-15 Por tema Ricardo Frydman Eureka!
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sergio Villalba wrote:
 Hola, ya lo he solucionado.
 
 En el script /etc/init.d/courier-imap he comentado esta línea:
 
 prefix=/usr/local
 exec_prefix=/usr/local
 bindir=${exec_prefix}/bin
 libexecdir=/usr/local/libexec
 
 if test ! -f ${prefix}/etc/imapd
 then
 echo ${prefix}/etc/imapd does not exist, forgot make
 install-configure?
 exit 1
 fi
 
 if test ! -f ${prefix}/etc/imapd-ssl
 then
 echo ${prefix}/etc/imapd-ssl does not exist, forgot make
 install-configure?
 exit 1
 fi
 
 TLS_CACHEFILE=
 #. ${prefix}/etc/imapd-ssl --- esta linea
 . ${prefix}/etc/imapd
 
 case $1 in
 start)
 if test $TLS_CACHEFILE != 
 then
 rm -f $TLS_CACHEFILE
 fi
 
 umask $IMAP_UMASK
 ulimit -v $IMAP_ULIMITD
 /usr/bin/env -i /bin/sh -c  set -a ;
 prefix=/usr/local ;
 exec_prefix=/usr/local ;
 bindir=${exec_prefix}/bin ;
  ..
 
 No lo entiendo pero funciona.

o sea le anulaste el SSL en vez de configurarlo.
 
 Un saludo.
 S.V.
 
 
 


- --
Ricardo A.Frydman
Consultor en Tecnología Open Source - Administrador de Sistemas
jabber: [EMAIL PROTECTED] - http://www.eureka-linux.com.ar
SIP # 1-747-667-9534
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDoXaykw12RhFuGy4RAg5XAJ0T2v9b2gUxH1Vs38JsQ7znt8MuUwCfSeMH
MvhfIDtInrGveAmbtmExU1k=
=lrz7
-END PGP SIGNATURE-



Instalación horde

2005-12-14 Por tema Sergio Villalba
Hola lista,

estoy intentando implementar el webmail horde, actualmente tengo el
squirrelmail pero quiero probar (debian+qmail+vpopmail+courier-imap). La
cosa es que se me esta atragantando por el siguiente error cuando
intento conectar:

Dec 14 16:27:41 web imapd: couriertls: connect: error:14094418:SSL
routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
Dec 14 16:27:41 web imapd: Disconnected, ip=[:::127.0.0.1], time=0,
starttls=1


horde/config/conf.php

$conf['use_ssl'] = 2;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
$conf['server']['port'] = $_SERVER['SERVER_PORT'];
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/horde';

$conf['debug_level'] = ;
$conf['compress_pages'] = true;
$conf['session']['name'] = 'Horde';
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['auth']['admins'] = array('Administrator');
$conf['auth']['driver'] = 'imap';
$conf['auth']['params'] = array('username' = 'Administrator');
$conf['prefs']['driver'] = '';
$conf['css']['cached'] = false;
$conf['menu']['always'] = false;

horde/imp/config/servers.php

$servers['imap'] = array(
'name' = 'IMAP Server',
'server' = 'localhost',
'hordeauth' = false,
'protocol' = 'imap/notls',
'port' = 143,
'folders' = 'INBOX.',
'namespace' = '',
'maildomain' = 'horde.com',
'smtphost' = 'localhost',
'smtpport' = 25,
'realm' = '',
'preferred' = '',
'dotfiles' = false,
'hierarchies' = array()
);

Alguien me podria dar algunas pista.

Gracias por todo.
Un saludo.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Instalación horde

2005-12-14 Por tema CiRuX
El Miércoles 14 Diciembre 2005 12:44, Sergio Villalba escribió:
 Hola lista,

 estoy intentando implementar el webmail horde, actualmente tengo el
 squirrelmail pero quiero probar (debian+qmail+vpopmail+courier-imap). La
 cosa es que se me esta atragantando por el siguiente error cuando
 intento conectar:

 Dec 14 16:27:41 web imapd: couriertls: connect: error:14094418:SSL
 routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
 Dec 14 16:27:41 web imapd: Disconnected, ip=[:::127.0.0.1], time=0,
 starttls=1


 horde/config/conf.php

 $conf['use_ssl'] = 2;
 $conf['server']['name'] = $_SERVER['SERVER_NAME'];
 $conf['server']['port'] = $_SERVER['SERVER_PORT'];
 $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
 $conf['cookie']['path'] = '/horde';

 $conf['debug_level'] = ;
 $conf['compress_pages'] = true;
 $conf['session']['name'] = 'Horde';
 $conf['session']['cache_limiter'] = 'nocache';
 $conf['session']['timeout'] = 0;
 $conf['auth']['admins'] = array('Administrator');
 $conf['auth']['driver'] = 'imap';
 $conf['auth']['params'] = array('username' = 'Administrator');
 $conf['prefs']['driver'] = '';
 $conf['css']['cached'] = false;
 $conf['menu']['always'] = false;

 horde/imp/config/servers.php

 $servers['imap'] = array(
 'name' = 'IMAP Server',
 'server' = 'localhost',
 'hordeauth' = false,
 'protocol' = 'imap/notls',
 'port' = 143,
 'folders' = 'INBOX.',
 'namespace' = '',
 'maildomain' = 'horde.com',
 'smtphost' = 'localhost',
 'smtpport' = 25,
 'realm' = '',
 'preferred' = '',
 'dotfiles' = false,
 'hierarchies' = array()
 );

 Alguien me podria dar algunas pista.

 Gracias por todo.
 Un saludo.


Hola Sergio, sabes que yo tuve con los mismo prog., un problema similar, asi 
que saque el   squirrelmail, puse el ilohamail, sin usar imap y problema 
solucionado.
No se que opina la lista?

Saludos

PD: En su momento un amigo me dijo que tampoco podia loguearse con el 
imap... lo pongo por si sirve de algo, y creo que ese error fue por 
actualizar la libc6 a la version 3.4 o algo segun lei en la web


-- 

\\ CiRuX-TeAm //
   

Linux Registered User #399792
PGP Key ID: 0xAC92211B @ europe.keys.pgp.com
http://cirux.is-a-geek.com
http://www.bigplanet.com.ar
GNU/Linux Debian Etch

Los monos son demasiado buenos para que el hombre pueda descender de ellos.
Friedrich Wilhelm Nietzsche



Re: Instalación horde

2005-12-14 Por tema Ricardo Frydman Eureka!
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sergio Villalba wrote:
 Hola lista,
 
 estoy intentando implementar el webmail horde, actualmente tengo el
 squirrelmail pero quiero probar (debian+qmail+vpopmail+courier-imap). La
 cosa es que se me esta atragantando por el siguiente error cuando
 intento conectar:
 
 Dec 14 16:27:41 web imapd: couriertls: connect: error:14094418:SSL
 routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
 Dec 14 16:27:41 web imapd: Disconnected, ip=[:::127.0.0.1], time=0,
 starttls=1


Como tenes configurado el tls?
Que certificado estas usando?

 
 
 horde/config/conf.php
 
 $conf['use_ssl'] = 2;
 $conf['server']['name'] = $_SERVER['SERVER_NAME'];
 $conf['server']['port'] = $_SERVER['SERVER_PORT'];
 $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
 $conf['cookie']['path'] = '/horde';
 
 $conf['debug_level'] = ;
 $conf['compress_pages'] = true;
 $conf['session']['name'] = 'Horde';
 $conf['session']['cache_limiter'] = 'nocache';
 $conf['session']['timeout'] = 0;
 $conf['auth']['admins'] = array('Administrator');
 $conf['auth']['driver'] = 'imap';
 $conf['auth']['params'] = array('username' = 'Administrator');
 $conf['prefs']['driver'] = '';
 $conf['css']['cached'] = false;
 $conf['menu']['always'] = false;
 
 horde/imp/config/servers.php
 
 $servers['imap'] = array(
 'name' = 'IMAP Server',
 'server' = 'localhost',
 'hordeauth' = false,
 'protocol' = 'imap/notls',
 'port' = 143,
 'folders' = 'INBOX.',
 'namespace' = '',
 'maildomain' = 'horde.com',
 'smtphost' = 'localhost',
 'smtpport' = 25,
 'realm' = '',
 'preferred' = '',
 'dotfiles' = false,
 'hierarchies' = array()
 );
 
 Alguien me podria dar algunas pista.

El mensaje de error te lo dio
 
 Gracias por todo.
 Un saludo.
 
 
 
 


- --
Ricardo A.Frydman
Consultor en Tecnología Open Source - Administrador de Sistemas
jabber: [EMAIL PROTECTED] - http://www.eureka-linux.com.ar
SIP # 1-747-667-9534
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDoEUIkw12RhFuGy4RApRzAJ9BbsozmTNyXmmFS8K+jaWy3e7UDACfXlXr
/+n9mAFUy1RqUsqp8MGc27Q=
=bEPJ
-END PGP SIGNATURE-



Re: Instalación horde

2005-12-14 Por tema Sergio Villalba
Gracias por vuestra respuestas.

Veamos:
verifico la configuración horde/imp desde la url:

http://192.168.1.1/horde/imp/test.php

Trying protocol imap, Port 143:
ERROR - The server returned the following error message:
Array
(
[0] = Certificate failure for localhost: self signed certificate:
/C=US/ST=NL/L=New York/O=Courier Mail Server
/OU=Automatically-generated IMAP SSL key/CN=localhost
/[EMAIL PROTECTED]

)
Trying protocol imap/notls, Port 143:
SUCCESS - INBOX has 2 messages (2 new 2 recent)
Trying protocol imap/ssl, Port 143:
ERROR - The server returned the following error message:
Array
(
[0] = TLS/SSL failure for localhost: SSL negotiation failed
)
Trying protocol imap/ssl/novalidate-cert, Port 143:
ERROR - The server returned the following error message:
Array
(
[0] = TLS/SSL failure for localhost: SSL negotiation failed
)
Trying protocol imap/tls/novalidate-cert, Port 143:
SUCCESS - INBOX has 2 messages (2 new 0 recent)
The following configurations were successful and may be used in your
imp/config/servers.php file:
Configuration 1
'server' = 'localhost'
'protocol' = 'imap/notls'
'port' = '143'
Configuration 2
'server' = 'localhost'
'protocol' = 'imap/tls/novalidate-cert'
'port' = '143'

Y en los logs de syslog y mail.log aparece esto:
LOGOUT, [EMAIL PROTECTED], ip=[:::127.0.0.1], headers=0, body=0,
time=0, starttls=1

Pero cuando lo hago desde el webmail:
http://192.168.1.1/horde/login.php

aparece esto en el syslog y mail.log
Dec 14 18:27:06 web imapd: Connection, ip=[:::127.0.0.1]
Dec 14 18:27:06 web imapd: couriertls: connect: error:14094418:SSL
routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
Dec 14 18:27:06 web imapd: Disconnected, ip=[:::127.0.0.1], time=0,
starttls=1

y logicamente no se conecta.

Tiene que ser algo de configuración (ya que el squirrelmail me
funciona perfectamente por el imap-143).

Referente a los certificados, he seguido la instalación qmailrocks.com

Gracias por todo.
Un saludo.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]