[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cyrus21-imap, Login error



pedro lopez escribió:
 --- pedro lopez <listero20042002@yahoo.es> escribió:
  sin problemas los pongo, si ya lo habia hecho, pero no
hay lios aqui van, y lo que dices del password tendria
sentido, pero el usuario cyrus, se logea sin ningun
problema en el cyradm. ademas use este comando de
pruebas del sasl
testsaslauthd -u  [usuario] -p  [pass]

y funciono perfectamente.

aqui van los dos archivos. incluyo tambien el
saslauthd

****************** saslauthd ********************
# This needs to be uncommented before saslauthd will
be run automatically
START=yes

# You must specify the authentication mechanisms you
wish to use.
# This defaults to "pam" for PAM support, but may also
include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"

MECHANISMS="sasldb"
*********************************************

***************** imapd.conf ******************
# Debian Cyrus imapd.conf
# See imapd.conf(5) for more information and more
options


configdirectory: /var/lib/cyrus

partition-default: /var/spool/cyrus/mail

partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news

altnamespace: no

unixhierarchysep: no

#munge8bit: no

lmtp_downcase_rcpt: yes

admins: cyrus

#lmtp_admins: postman

#mupdate_admins: mupdateman

#imap_admins: cyrus

#sieve_admins: cyrus

#proxyservers: cyrus

allowanonymouslogin: no

popminpoll: 1

autocreatequota: 0

umask: 027

#sendmail: /usr/sbin/sendmail

sieveusehomedir: false

sievedir: /var/spool/sieve

#mailnotifier: zephyr

#sievenotifier: zephyr

#dracinterval: 0
#drachost: localhost

hashimapspool: true

allowplaintext: yes

sasl_mech_list: PLAIN

#allowapop: no

sasl_minimum_layer: 0

#sasl_maximum_layer: 256

#loginrealms:

sasl_pwcheck_method: saslauthd

sasl_auxprop_plugin: sasldb

sasl_auto_transition: no

#tls_cert_file: /etc/ssl/certs/cyrus-global.pem

#tls_key_file: /etc/ssl/private/cyrus-global.key

#tls_imap_cert_file: /etc/ssl/certs/cyrus-imap.pem

#tls_imap_key_file: /etc/ssl/private/cyrus-imap.key

#tls_pop3_cert_file: /etc/ssl/certs/cyrus-pop3.pem

#tls_pop3_key_file: /etc/ssl/private/cyrus-pop3.key

#tls_lmtp_cert_file: /etc/ssl/certs/cyrus-lmtp.pem

#tls_lmtp_key_file: /etc/ssl/private/cyrus-lmtp.key

#tls_sieve_cert_file: /etc/ssl/certs/cyrus-sieve.pem

#tls_sieve_key_file: /etc/ssl/private/cyrus-sieve.key

#tls_ca_file: /etc/ssl/certs/cyrus-imapd-ca.pem

tls_ca_path: /etc/ssl/certs

tls_session_timeout: 1440

tls_cipher_list:
TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH

#tls_require_cert: false

#tls_imap_require_cert: false

#tls_pop3_require_cert: false

#tls_lmtp_require_cert: false

#tls_sieve_require_cert: false

# mupdate_server
# mupdate_port
# mupdate_username
# mupdate_authname
# mupdate_realm
# mupdate_password
# mupdate_retry_delay

lmtpsocket: /var/run/cyrus/socket/lmtp

idlesocket: /var/run/cyrus/socket/idle

notifysocket: /var/run/cyrus/socket/notify

#debug_command: /usr/bin/gdb -batch -cd=/tmp -x
/usr/lib/cyrus/get-backtrace.gdb /usr/lib/cyrus/bin/%s
%d >/tmp/gdb-backtrace.cyrus.%1$s.%2$d <&- 2>&1 &

#debug_command: /usr/bin/strace -tt -o
/tmp/strace.cyrus.%s.%d -p %2$d <&- 2>&1 &

#debug_command: /usr/bin/ltrace -tt -n 2 -o
/tmp/ltrace.cyrus.%s.%d -p %2$d <&- 2>&1 &
************************************************
Has aqui parece que lo tengo igual.
**************** cyrus.conf*********************
# Debian defaults for Cyrus IMAP server/cluster
implementation
# see cyrus.conf(5) for more information
#
# All the tcp services are tcpd-wrapped. see
hosts_access(5)
# $Id: cyrus.conf,v 1.16 2003/11/05 01:04:22 hmh Exp $

START {
    # do not delete this entry!
    recover        cmd="/usr/sbin/ctl_cyrusdb -r"
      # this is only necessary if using idled for IMAP IDLE
    # this is NOT to be enabled right now in Debian
builds
    #idled        cmd="idled"

    # this is useful on backend nodes of a Murder cluster
    # it causes the backend to syncronize its mailbox
list with
    # the mupdate master upon startup
    #mupdatepush   cmd="/usr/sbin/ctl_mboxlist -m"

    # this is recommended if using duplicate delivery
suppression
    delprune    cmd="/usr/sbin/ctl_deliver -E 3"
    # this is recommended if caching TLS sessions
    tlsprune    cmd="/usr/sbin/tls_prune"
}

# UNIX sockets start with a slash and are absolute
paths
# you can use a maxchild=# to limit the maximum number
of forks of a service
# you can use babysit=true and maxforkrate=# to keep
tight tabs on the service
# most services also accept -U (limit number of
reuses) and -T (timeout)
SERVICES {
    # --- Normal cyrus spool, or Murder backends ---
    # add or remove based on preferences
    imap        cmd="imapd -U 30" listen="imap" prefork=0
maxchild=100
    #imaps        cmd="imapd -s -U 30" listen="imaps" prefork=0
maxchild=100
    #pop3        cmd="pop3d -U 30" listen="pop3" prefork=0
maxchild=50
    #pop3s        cmd="pop3d -s -U 30" listen="pop3s" prefork=0
maxchild=50

    # At least one form of LMTP is required for delivery
    # (you must keep the Unix socket name in sync with
imap.conf)
    #lmtp        cmd="lmtpd" listen="localhost:lmtp" prefork=0
maxchild=20
    lmtpunix    cmd="lmtpd"
listen="/var/run/cyrus/socket/lmtp" prefork=0
maxchild=20
    # ----------------------------------------------

    # useful if you need to give users remote access to
sieve
    # by default, we limit this to localhost in Debian
      sieve        cmd="timsieved" listen="localhost:sieve"
prefork=0 maxchild=100

    # this one is needed for the notification services
    notify        cmd="notifyd"
listen="/var/run/cyrus/socket/notify" proto="udp"
prefork=1

    # --- Murder frontends -------------------------
    # enable these and disable the matching services
above,     # except for sieve (which deals automatically with
Murder)

    # mupdate database service - must prefork at least 1
    # (mupdate slaves)
    #mupdate       cmd="mupdate" listen=3905 prefork=1
    # (mupdate master, only one in the entire cluster)
    #mupdate       cmd="mupdate -m" listen=3905 prefork=1

    # proxies that will connect to the backends
    #imap        cmd="proxyd" listen="imap" prefork=0
maxchild=100
    #imaps        cmd="proxyd -s" listen="imaps" prefork=0
maxchild=100
    #pop3        cmd="pop3proxyd" listen="pop3" prefork=0
maxchild=50
    #pop3s        cmd="pop3proxyd -s" listen="pop3s" prefork=0
maxchild=50
    #lmtp        cmd="lmtpproxyd" listen="lmtp" prefork=1
maxchild=20
    # ----------------------------------------------
}

EVENTS {
    # this is required
    checkpoint    cmd="/usr/sbin/ctl_cyrusdb -c" period=30

    # this is only necessary if using duplicate delivery
suppression
    delprune    cmd="/usr/sbin/ctl_deliver -E 3" at=0401

    # this is only necessary if caching TLS sessions
    tlsprune    cmd="/usr/sbin/tls_prune" at=0401
}

*********************************************

Este tambien lo tengo igual...

Me parece extraño que puedas acceder a cyradm con el usuario cyrus pero q el imtest no te pille el usuario...

Por otra parte, como dije en mi primer mensaje, yo simplemente segui el tutorial al pie de la letra en mi Debian Sarge hace unos 7 meses, y no se me ocurre donde puedes tener el problema, y todavia menos en esa etapa tan "poco avanzada". Lo siento...

En cualquier caso si necesitas hacer otra comprobacion, aqui me tienes.

PD: No se si Ricardo es admin de la lista, lo dudo, lo sea o no, creo que deberia bajarse esos humos. Cuando alguien intenta solucionar un problema durante un tiempo y no encuentra la solucion, solo falta que venga alguien a decirle que no se esta esforzando lo suficiente. Si alguien quiere ayudarle, que le ayude, si no, borra el mensaje directamente.



Reply to: