cyradm can't make autentification by sasl

Sergey Merkuriev sergey at
Tue Jun 10 09:29:40 EDT 2003

Hello all.

I have a Cyrus server with IMAP & sIMAP services. It work perfect. i cna 
cinnect to server recieve and manage messages in my mail box.

But provlem I cant create/delete mailboxes because cyradm can't make 
autorisation on server:
I found what it a problem with that sasl try read password from 
/etc/sasldb2 but my server used autorisation from /etc/shadow

Anybody can help me with this problem?

*Thare is log I have next records after connection by cyradm:*

    imapd[20589]: accepted connection
    imapd[20589]: badlogin: localhost[] OTP [SASL(-13): user
    not found: no OTP secret in database]


*There is start script:*

        echo -n $"Starting $prog: "
        daemon /usr/local/sbin/saslauthd -a shadow
        daemon /usr/cyrus/bin/${prog} &
        touch /var/lock/subsys/cyrus
        return $RETVAL

*Thereis imap.conf *

    configdirectory: /var/imap
    partition-default: /var/spool/imap
    admins: cyrus root
    imap_admins: cyrus root
    srvtab: /var/imap/srvtab
    sievedir: /var/sieve
    allowanonymouslogin: no
    sasl_pwcheck_method: saslauthd
    allowplaintext: yes
    lmtp_allowplaintext: yes
    sasl_minimum_layer: 0
    sasl_auto_transition: no

    timeout: 30
    tls_cert_file: /var/imap/server.pem
    tls_key_file: /var/imap/server.pem

    tls_imap_cert_file: /var/imap/imap-server.pem
    tls_imap_key_file: /var/imap/imap-server.pem

    tls_pop3_cert_file: /var/imap/pop3-server.pem
    tls_pop3_key_file: /var/imap/pop3-server.pem

    tls_lmtp_cert_file: /var/imap/lmtp-server.pem
    tls_lmtp_key_file: /var/imap/lmtp-server.pem

*There is cyrus.conf


    #  add or remove based on preferences
      imap          cmd="imapd" listen="imap" prefork=0
      imaps         cmd="imapd -s" listen="imaps" prefork=0
    #  pop3         cmd="pop3d" listen="pop3" prefork=0
      pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
    #  sieve                cmd="timsieved" listen="sieve" prefork=0

    #  at least one LMTP is required for delivery
    #  lmtp         cmd="lmtpd -a" listen="[]:lmtp" prefork=0
       lmtpunix     cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

    #  this is only necessary if using notifications
    #  notify       cmd="notifyd" listen="/var/imap/socket/notify"
    proto="udp" prefo

Sergey Merkuriev

More information about the Info-cyrus mailing list