seeking sasl configuration example

shadrock uhuru niyalevi at gmail.com
Sun Apr 26 09:32:38 UTC 2015


hi everyone
could someone show me there sasl configuration section in their
dovecot.conf,
i have postfix and dovecot setup for virtual users (no system users)
everything works fine including tls,
i have tried various examples off the web for sasl but they either have
obsolete parameters
or are for a setup with system users,
i would prefer to use dovecots sasl implementation.

dovecot --version = 2.1.7

cat dovecot.conf

######################
######################

disable_plaintext_auth = no
mail_privileged_group = mail

log_path = /var/log/dovecot.log
# auth_verbose=yes
# auth_debug=yes
# auth_debug_passwords=yes
mail_debug=yes
# verbose_ssl=yes

passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}


protocols = "pop3 imap lmtp"

protocol imap {
  mail_plugins = " autocreate"
}

plugin {
  autocreate = Trash
  autocreate2 = Sent
  autocreate3 = junk
  autosubscribe = Trash
  autosubscribe2 = Sent
  autosubscribe3 = junk
}

service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}


service lmtp {
    unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
    }
}
protocol lmtp {
    postmaster_address=postmaster at mydomain.com
    hostname=niya.mydomain.com
}

ssl_cert = </etc/ssl/certs/mailcert.pem
ssl_key = </etc/ssl/private/mail.key

######################
######################


thanks
shadrock



More information about the dovecot mailing list