cyradm can't make autentification by sasl
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[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 # sievecmd="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
mozilla connection
Hello All, I have some clients such as Ewdora, Mahogany and Mozilla Mail. All work nice except Mozilla Mail Client it try connect to cyrus and after some time talk what "Could not connect to server.net the connection was reused". I does not to find anything strange in log files such as warings or errors. Any body had troubles with Mozilla Mail Client? ~ Sergey Merkuriev
Re: POP3 authentication problem. Please Help.
Hello, I found why not work POP3 and ask strange authentification. I added two paramters into imap.conig: sasl_minimum_layer: 0 sasl_auto_transition: no Thanks what answern on my email. ~ Sergey Merkuriev > > > Have trouble with POP3 it not work properly. I have two users: user1 and > > > user2. The user1 have imap account and can login into IMAP server but > > can't > > > login into POP3 server and user2 cant login into POP3 server. The files > > > user1 and user2 exists in the directory /var/spool/email. There is log > > > strange records from pop3d. > > > > > > Have IMAP and POP3 Server. > > > > > > /usr/local/sbin/saslauthd -a shadow > > > > > > imap.conf > > > > > > configdirectory: /var/imap > > > partition-default: /var/spool/imap > > > admins: cyrus root > > > srvtab: /var/imap/srvtab > > > sievedir: /var/sieve > > > allowanonymouslogin: no > > > sasl_pwcheck_method: saslauthd > > > allowplaintext: yes > > > > > > cyrus.conf > > > ... > > > imap cmd="imapd" listen="imap" prefork=0 > > > pop3 cmd="pop3d" listen="pop3" prefork=0 > > > > > > auth.log: > > > > > > Oct 1 22:38:16 abtweb pop3d[29440]: could not find auxprop plugin, was > > > searching for '[all]' > > > Oct 1 22:38:16 abtweb pop3d[29440]: could not find password > > > > > > ./pop3test -u user2 localhost > > > > > > S: +OK abtweb Cyrus POP3 v2.1.9 server ready > > <2878525666.1033498506@abtweb> > > > C: CAPA > > > S: +OK List of capabilities follows > > > S: EXPIRE NEVER > > > S: LOGIN-DELAY 0 > > > S: TOP > > > S: UIDL > > > S: PIPELINING > > > S: RESP-CODES > > > S: AUTH-RESP-CODE > > > S: USER > > > S: IMPLEMENTATION Cyrus POP3 server v2.1.9 > > > S: . > > > Please enter your password: > > > C: APOP root 8cec70679eae661ac964b834e1d8 > > > S: -ERR [AUTH] authenticating: another step is needed in authentication > > > Authentication failed. generic failure > > > Security strength factor: 0 > > > > Try: > > > > ./pop3test -u user2 -m user localhost > > > > The fact that pop3d is advertising APOP (with a challenge in the banner) > > without auxprop being available is a bug. I'll look into it. > > After thinking about this some more, this isn't a bug at all (perhaps the error > is misleading however). Any time that a client/server tries to use a > non-plaintext mechanism (APOP, CRAM-MD5, etc), the mechanism will try to lookup > the password in sasldb2. > > Unfortunately for you, pop3test always tries to use the strongest mechanism > advertised by the server, so it tried APOP. > > You can disable APOP when you compile SASL, but perhaps we need a runtime > configure option as well.
Folder deliver
Hello All, I know what this is not exim mail list, but I ask one question. I have Exim SMTP Server and have rule for deliver mail to Cyrus: local_delivery: driver = smtp protocol = lmtp hosts = 127.0.0.1 allow_localhost How to create deliver mail from some senders to IMAP user folder such as vasia.spam. LMTP protocol posible do it? ~ Sergey Merkuriev
POP3 authentication problem. Please Help.
Hello All, Have trouble with POP3 it not work properly. I have two users: user1 and user2. The user1 have imap account and can login into IMAP server but can't login into POP3 server and user2 cant login into POP3 server. The files user1 and user2 exists in the directory /var/spool/email. There is log strange records from pop3d. Have IMAP and POP3 Server. /usr/local/sbin/saslauthd -a shadow imap.conf configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus root srvtab: /var/imap/srvtab sievedir: /var/sieve allowanonymouslogin: no sasl_pwcheck_method: saslauthd allowplaintext: yes cyrus.conf ... imap cmd="imapd" listen="imap" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 auth.log: Oct 1 22:38:16 abtweb pop3d[29440]: could not find auxprop plugin, was searching for '[all]' Oct 1 22:38:16 abtweb pop3d[29440]: could not find password ./pop3test -u user2 localhost S: +OK abtweb Cyrus POP3 v2.1.9 server ready <2878525666.1033498506@abtweb> C: CAPA S: +OK List of capabilities follows S: EXPIRE NEVER S: LOGIN-DELAY 0 S: TOP S: UIDL S: PIPELINING S: RESP-CODES S: AUTH-RESP-CODE S: USER S: IMPLEMENTATION Cyrus POP3 server v2.1.9 S: . Please enter your password: C: APOP root 8cec70679eae661ac964b834e1d8 S: -ERR [AUTH] authenticating: another step is needed in authentication Authentication failed. generic failure Security strength factor: 0 ~ Sergey Merkuriev