Problems with IMAPS and POPS

2002-09-30 Thread Felix Cuello


Hello!

I'm actually using Cyrus 2.1.8 with SASL 2.1.7, and I have some
problems to config my Cyrus to accept SSL connections.

Here is my 3 first lines of netstat -at

Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp0  0 *:imaps *:* LISTEN
tcp0  0 *:pop3s *:* LISTEN
--

And my /usr/local/etc/saslauhtd.conf

ldap_servers: ldap://upsoluciones.palermo.edu/
ldap_bind_dn: uid=cyrus,ou=people,dc=palermo,dc=edu
ldap_bind_pw: 
ldap_search_base: ou=people,dc=palermo,dc=edu
ldap_tls_check_peer: yes
ldap_tls_cacert_file: palermoca.pem
ldap_tls_cacert_dir: /usr/share/ssl/certs/



Changing 2 last lines for this lines...

ldap_tls_cacert_file: /usr/share/ssl/certs/palermoca.pem
#ldap_tls_cacert_dir: /usr/share/ssl/certs/

I have the same problem... IMAPPOP works fine, but IMAPSPOPS not.



/var/log/errors shows this:

Oct  2 13:09:00 upsoluciones su(pam_unix)[12631]: session closed for user
root
Oct  2 13:09:33 upsoluciones su(pam_unix)[12740]: session opened for user
root by felix(uid=500)
Oct  2 13:12:58 upsoluciones su(pam_unix)[12740]: session closed for user
root
Oct  2 13:18:05 upsoluciones su(pam_unix)[12841]: session opened for user
root by felix(uid=500)
Oct  2 13:20:23 upsoluciones ctl_mboxlist: ctl_mboxlist -c is deprecated:
use ctl_cyrusdb -c instead^H
Oct  2 13:20:24 upsoluciones ctl_mboxlist[12882]: checkpointing mboxlist

-

What's wrong??, I'm actually using Netscape 4.79 (for Linux) to check POPS
mail, and Netscape run in the machine that I'm running LDAP, CYRUS and
SASL.

[Yes I know... my computer date is wrong :-)]


Can you help me?

thanks a lot,

and sorry for my poor english,


Felix






Re: Problems with IMAPS and POPS

2002-09-30 Thread Connie Starr Fensky

First of all, it looks like you did not update your cyrus.conf from a 2.0
version. That is the cause of the ctl_mboxlist vs ctl_cyrusdb error message
in the log.

Sorry, I cannot help with the secure shell part.
c*
- Original Message -
From: Felix Cuello [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 30, 2002 2:26 PM
Subject: Problems with IMAPS and POPS



 Hello!

 I'm actually using Cyrus 2.1.8 with SASL 2.1.7, and I have some
 problems to config my Cyrus to accept SSL connections.

 Here is my 3 first lines of netstat -at
 
 Proto Recv-Q Send-Q Local Address   Foreign Address State
 tcp0  0 *:imaps *:* LISTEN
 tcp0  0 *:pop3s *:* LISTEN
 --

 And my /usr/local/etc/saslauhtd.conf
 
 ldap_servers: ldap://upsoluciones.palermo.edu/
 ldap_bind_dn: uid=cyrus,ou=people,dc=palermo,dc=edu
 ldap_bind_pw: 
 ldap_search_base: ou=people,dc=palermo,dc=edu
 ldap_tls_check_peer: yes
 ldap_tls_cacert_file: palermoca.pem
 ldap_tls_cacert_dir: /usr/share/ssl/certs/

 

 Changing 2 last lines for this lines...

 ldap_tls_cacert_file: /usr/share/ssl/certs/palermoca.pem
 #ldap_tls_cacert_dir: /usr/share/ssl/certs/

 I have the same problem... IMAPPOP works fine, but IMAPSPOPS not.

 

 /var/log/errors shows this:

 Oct  2 13:09:00 upsoluciones su(pam_unix)[12631]: session closed for user
 root
 Oct  2 13:09:33 upsoluciones su(pam_unix)[12740]: session opened for user
 root by felix(uid=500)
 Oct  2 13:12:58 upsoluciones su(pam_unix)[12740]: session closed for user
 root
 Oct  2 13:18:05 upsoluciones su(pam_unix)[12841]: session opened for user
 root by felix(uid=500)
 Oct  2 13:20:23 upsoluciones ctl_mboxlist: ctl_mboxlist -c is deprecated:
 use ctl_cyrusdb -c instead^H
 Oct  2 13:20:24 upsoluciones ctl_mboxlist[12882]: checkpointing mboxlist

 -

 What's wrong??, I'm actually using Netscape 4.79 (for Linux) to check POPS
 mail, and Netscape run in the machine that I'm running LDAP, CYRUS and
 SASL.

 [Yes I know... my computer date is wrong :-)]


 Can you help me?

 thanks a lot,

 and sorry for my poor english,


 Felix









Re: Problems with IMAPS and POPS

2002-09-30 Thread Felix Cuello

Were Can I find the newest and most generic cyrus.conf or/and
documentation to make cyrus.conf from scratch

Thanks

Felix

---
 Felix Cuello
 [EMAIL PROTECTED]

 Qodiga/its
 http://www.qodiga.com
 Santa Fe 882 - Piso 13 - Of.E
 Buenos Aires, ARGENTINA


quote who=Connie Starr Fensky
 First of all, it looks like you did not update your cyrus.conf from a
 2.0 version. That is the cause of the ctl_mboxlist vs ctl_cyrusdb error
 message in the log.

 Sorry, I cannot help with the secure shell part.
 c*






Re: Problems with IMAPS and POPS

2002-09-30 Thread Connie Starr Fensky

It should be in cyrus-imapd base directory/master/conf directory of
distribution. I use normal.conf, and just copy it to my /etc directory as
cyrus.conf.
Does this help?
c*
- Original Message -
From: Felix Cuello [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, September 30, 2002 3:09 PM
Subject: Re: Problems with IMAPS and POPS


 Were Can I find the newest and most generic cyrus.conf or/and
 documentation to make cyrus.conf from scratch

 Thanks

 Felix

 ---
  Felix Cuello
  [EMAIL PROTECTED]

  Qodiga/its
  http://www.qodiga.com
  Santa Fe 882 - Piso 13 - Of.E
  Buenos Aires, ARGENTINA


 quote who=Connie Starr Fensky
  First of all, it looks like you did not update your cyrus.conf from a
  2.0 version. That is the cause of the ctl_mboxlist vs ctl_cyrusdb error
  message in the log.
 
  Sorry, I cannot help with the secure shell part.
  c*









Re: Problems with IMAPS and POPS

2002-09-30 Thread Felix Cuello

Yes!!!... it is working!

I've just added this three lines to my /etc/imapd.conf

tls_cert_file: /usr/share/ssl/certs/cert.pem
tls_key_file: /usr/share/ssl/certs/cert.key
tls_require_cert: 0

And IMAPS  POPS (pops not tested yet) works fine!!

thanks a lot!

Felix

---
 Felix Cuello
 [EMAIL PROTECTED]

 Qodiga/its
 http://www.qodiga.com
 Santa Fe 882 - Piso 13 - Of.E
 Buenos Aires, ARGENTINA


 Do 'man imapd.conf' and search for tls_(cert|key)_file and
 possibly tls_ca_(file|path) params.  You can also find info in
 $cyrus-imapd/doc/install-configure.html#open.

 Hope this helps.

 -Igor