CN=imap.example.com
# E-mail contact
emailAddress=postmaster@@domain@
emailAddress=postmaster@stend.altlinux.ru
[ cert_type ]
nsCertType = server
protocol lda {
# Address to use when sending rejection mails.
postmaster_address = postmaster@@domain@
postmaster_address = postmaster@stend.altlinux.ru
# Hostname to use in various parts of sent mails, eg. in Message-Id.
# Default is the system's real hostname.
#path = /var/run/dovecot/auth-client
#mode = 0660
#}
client {#postfix
# client {#postfix
path = /var/spool/postfix/private/auth
# path = /var/spool/postfix/private/auth
mode = 0660
# mode = 0660
user = postfix
# user = postfix
group = postfix
# group = postfix
}#postfix
# }#postfix
}
uris = ldap://localhost/
debug_level = 0
auth_bind = yes
auth_bind_userdn = uid=%n,ou=People,@basedn@
auth_bind_userdn = uid=%n,ou=People,dc=stend,dc=altlinux,dc=ru
base = @basedn@
base = dc=stend,dc=altlinux,dc=ru
user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid
user_filter = (&(objectClass=posixAccount)(uid=%n))