cyradm - unable to authenticate server as cyrus (SOLVED)
Stephen Liu
satimis at yahoo.com
Wed Jul 9 22:53:09 EDT 2008
--- Nicolas Carlier <carlier.nicolas at gmail.com> wrote:
> On Wed, Jul 9, 2008 at 7:50 PM, Peter Santiago
> <peters at psinergybbs.com> wrote:
> > Stephen Liu wrote:
> >>
> >>>> Jul 9 23:45:30 satimis cyrus/master[4534]: about to exec
> >>>>
> >>>> /usr/lib/cyrus/bin/imapd
> >>>>
> >>>> Jul 9 23:45:30 satimis cyrus/imap[4534]: executed
> >>>> Jul 9 23:45:30 satimis cyrus/imap[4534]: accepted connection
> >>>> Jul 9 23:45:36 satimis cyrus/imap[4534]: badlogin:
> >>>>
> >>>> localhost.localdomain [127.0.0.1] DIGEST-MD5 [SASL(-13): user
> not
> >>>> found: no secret in database]
> >>>>
> >>>> Jul 9 23:46:01 satimis /USR/SBIN/CRON[4536]: (root) CMD (cd
> >>>>
> >
> > Have you added cyrus user to sasldb? more specifically saslpasswd2
> -c
> > cyrus....
> >
>
> It's depend of the authentification system. If he uses saslauthd with
> pam as
> backend, he doesn't need to use saslpasswd2.
Hi Nicolas and folks,
Problem solved as follow;
$ sudo nano /etc/imapd.conf
comment out
#sasl_minimum_layer and allowapop below, too.
uncomment
sasl_mech_list: PLAIN
sasl_pwcheck_method: saslauthd
$ sudo /etc/init.d/cyrus2.2 restart
Stopping Cyrus IMAPd: .
Waiting for complete shutdown...
Starting Cyrus IMAPd: cyrmaster.
$ cyradm -user cyrus localhost
IMAP Password:
localhost.localdomain> cm user.aaa
localhost.localdomain> lm user.aaa*
user.aaa (\HasNoChildren)
only top level mailbox created. However on the arrival of the first
email the other default mailboxes such Trash, Sent, etc. are created
automatically.
Thanks again for your assistance
B.R.
Stephen
Send instant messages to your online friends http://uk.messenger.yahoo.com
More information about the Info-cyrus
mailing list