Displaying 2 results from an estimated 2 matches for "mailhomedirectory".
2008 Jan 27
1
Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location
....dovecot.org/MailLocation> I believe this is possible, but mail to
my system users always gets delivered to their /home/<USERNAME> homedirectory.
Here's what I've done so far:
# Postfix main.cf
mailbox_command = /usr/lib/dovecot/deliver
# Dovecot
# dovecot-ldap.conf
user_attrs = mailHomeDirectory=home,mailUidNumber=uid,mailGidNumber=gid,mailQuota=quota=maildir:storage,mail=mailHomeDirectory
Above you can see, I query for $mail as documented in
<http://wiki.dovecot.org/UserDatabase>.
# dovecot.conf
# dovecot -n
# 1.0.5: /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
proto...
2009 Jan 13
3
postfix - dovecot - ldap
...ates the directories
/usr/local/mail/abcshop.at/bamm/mail
What is going wrong in my configuration files?
Thanks for help!
Martin
dovecot-ldap.conf
hosts = localhost
dn = uid=dovecot,ou=services,dc=abcshop,dc=at
dnpass = secret
ldap_version = 3
base = ou=people,dc=abcshop,dc=at
user_attrs =
mailHomeDirectory=home,mailUidNumber=uid,mailGidNumber=gid,mailStorageDirectory=mail
user_filter =(&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%u))
pass_attrs = uniqueIdentifier=user,userPassword=password
pass_filter = (&(objectClass=PostfixBookMailAccount)(uniqueIdentifier=%u))
default_pass_sche...