Please help> Unknown setting: mechanisms

Discussion in 'Installation/Configuration' started by smsalbania, Aug 23, 2010.

  1. smsalbania

    smsalbania New Member

    I have his error when i have edit the dovecot.conf

    Starting Dovecot Imap: Error: Error in configuration file /etc/dovecot.conf line 893: Unknown setting: mechanisms


    Code:
    # Number of seconds to delay before replying to failed authentications.
    #auth_failure_delay = 2
    
    auth default {
    mechanisms = plain login
    passdb pam {
    }
    userdb passwd {
    }
    socket listen {
    client {
    path = /var/spool/postfix/private/auth
    mode = 0660
    user = postfix
    group = postfix
    }
    }
    }
    
      # Space separated list of wanted authentication mechanisms:
      #   plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi
      # NOTE: See also disable_plaintext_auth setting.
      mechanisms =  plain
    
     
  2. Mark_NL

    Mark_NL Member

    The last lines say:
    Code:
      # Space separated list of wanted authentication mechanisms:
      #   plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi
      # NOTE: See also disable_plaintext_auth setting.
      mechanisms =  plain
    You should comment out the last line as well

    Code:
      # Space separated list of wanted authentication mechanisms:
      #   plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi
      # NOTE: See also disable_plaintext_auth setting.
      #mechanisms =  plain
     
  3. Benjamine

    Benjamine New Member

    Hi friend, Please make sure your auth_mechanism is correct or not.
    mechanisms = plain <something else> [eg.mechanisms = plain cram-md5]
    Note: Without using dovecot.config edit those thing inside the /etc/dovecot/conf.d/ . Because it's good to learn what are they actually then you can understand the functions.
     

Share This Page