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[127.0.0.1] OTP [SASL(-13): user not found: no OTP secret in database]
Configuration:
*There is start script:*
echo -n $"Starting $prog: " daemon /usr/local/sbin/saslauthd -a shadow daemon /usr/cyrus/bin/${prog} & RETVAL=$? echo 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
*
SERVICES { # 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="[127.0.0.1]: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