Re: cyradm - unable to authenticate server as cyrus (SOLVED)

From: Stephen Liu (no email)
Date: Wed Jul 09 2008 - 22:53:09 EDT

  • Next message: James M McNutt: "krb5.h: No such file or directory"

    --- Nicolas Carlier <> wrote:

    > On Wed, Jul 9, 2008 at 7:50 PM, Peter Santiago
    > <> 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

    ----
    Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: James M McNutt: "krb5.h: No such file or directory"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD