Results 1 to 4 of 4

Thread: suse 11.1 cyrus imapd.config problem

  1. #1
    Join Date
    Jul 2008
    Location
    California
    Posts
    123

    Smile suse 11.1 cyrus imapd.config problem

    I am using cyrus and i am having a problem getting it to talk to saslauthd server, i tested the authdserver using the
    testsaslauthd application,

    ltspsrvr:/etc # testsaslauthd -u cyrus -p cyrus
    0: OK "Success."
    ltspsrvr:/etc #

    it works fine, users get verified correctly, the problem seem to be in the saslauthd authentication of imapd my config follows

    using cyradm -user bobby localhost imap

    i always get error no worthy mech??????

    I have been trying to track this down for 2 days, i even down loaded the source to review, i just cant get it to work.....

    Help!

    configdirectory: /srv/mail/imap
    partition-default: /srv/mail/mailboxes
    sievedir: /srv/mail/sieve
    admins: briang cyrus
    allowanonymouslogin: no
    autocreatequota: 0
    reject8bit: no
    quotawarn: 90
    timeout: 30
    poptimeout: 10
    dracinterval: 0
    drachost: localhost
    sasl_pwcheck_method: saslauthd
    sasl_mech_list: plain login
    lmtp_overquota_perm_failure: no
    lmtp_downcase_rcpt: yes
    allowplaintext: yes
    unixhierarchysep: yes
    allowplainwithouttls: yes
    altnamespace: no
    #
    # if you want TLS, you have to generate certificates and keys
    #
    #tls_cert_file: /usr/ssl/certs/cert.pem
    #tls_key_file: /usr/ssl/certs/skey.pem
    #tls_ca_file: /usr/ssl/CA/CAcert.pem
    #tls_ca_path: /usr/ssl/CA
    ~

  2. #2
    Camaleón NNTP User

    Default Re: suse 11.1 cyrus imapd.config problem

    ercoupeflyer wrote:

    > I am using cyrus and i am having a problem getting it to talk to
    > saslauthd server, i tested the authdserver using the
    > testsaslauthd application,
    >
    > ltspsrvr:/etc # testsaslauthd -u cyrus -p cyrus
    > 0: OK "Success."
    > ltspsrvr:/etc #
    >
    > it works fine, users get verified correctly, the problem seem to be in
    > the saslauthd authentication of imapd my config follows
    >
    > using cyradm -user bobby localhost imap
    >
    > i always get error no worthy mech??????


    Some points/ideas...

    1) Check that you have the proper "cyrus-sasl-*" packages installed:

    ***
    linux:~ # rpm -qa | grep cyrus
    cyrus-sasl-crammd5-2.1.22-82
    cyrus-sasl-digestmd5-2.1.22-82
    cyrus-sasl-2.1.22-82
    cyrus-sasl-plain-2.1.22-82
    cyrus-imapd-2.3.8-51
    cyrus-sasl-saslauthd-2.1.22-85
    ***

    2) Check the user password you are entering is o.k. I guess you are using
    pam (system) users, right?

    3) Check your log to get more information:

    ***
    linux:~ # cat /var/log/messages | grep localhost
    ***

    Greetings,

    --
    Camaleón

  3. #3
    Join Date
    Jul 2008
    Location
    California
    Posts
    123

    Default Re: suse 11.1 cyrus imapd.config problem

    hi check my install and here is what it shows

    rpm -qa | grep cyrus
    cyrus-imapd-devel-2.3.11-60.16
    cyrus-imapd-2.3.11-60.16
    cyrus-sasl-devel-2.1.22-182.1
    cyrus-sasl-2.1.22-182.1
    cyrus-sasl-plain-2.1.22-182.1
    cyrus-sasl-digestmd5-2.1.22-182.1
    cyrus-sasl-gssapi-2.1.22-182.1
    cyrus-sasl-crammd5-2.1.22-182.1
    cyrus-sasl-saslauthd-2.1.22-182.1

    this is what loaded from the repositories

    I am using ldap, for my login, i set up users in the ldap directory, as i stated before, i tested the auth server and it worked fine. the configuration is the one created when you use the yast mail setup, all the packages were installed and ldap configured etc, by yast mail setup.
    Last edited by ercoupeflyer; 29-Apr-2009 at 17:07. Reason: More information

  4. #4
    Camalen NNTP User

    Default Re: suse 11.1 cyrus imapd.config problem

    ercoupeflyer wrote:

    > hi check my install and here is what it shows
    >
    > rpm -qa | grep cyrus
    > cyrus-imapd-devel-2.3.11-60.16
    > cyrus-imapd-2.3.11-60.16
    > cyrus-sasl-devel-2.1.22-182.1
    > cyrus-sasl-2.1.22-182.1
    > cyrus-sasl-plain-2.1.22-182.1
    > cyrus-sasl-digestmd5-2.1.22-182.1
    > cyrus-sasl-gssapi-2.1.22-182.1
    > cyrus-sasl-crammd5-2.1.22-182.1
    > cyrus-sasl-saslauthd-2.1.22-182.1
    >
    > this is what loaded from the repositories


    It seems o.k. I was looking for "cyrus-sasl-plain-*" and it's there.

    Then, after "cyradm -user bobby localhost imap":

    - Check your log to get more information:

    ***
    linux:~ # cat /var/log/messages | grep localhost
    ***

    - Verify that saslauthd daemon is running: "rcsaslauthd status" and is
    using "pam" as user/password backend: "cat /etc/sysconfig/saslauthd | grep
    AUTHMECH"

    - Also, try to login with "cyrus" user: "cyradm -user cyrus localhost imap"
    and check again what log says.

    Greetings,

    --
    Camalen

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •