From 508fa5dad16a62630b3063a4d0b395b0ca6ae005 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 9 Jul 2014 03:38:53 +0200 Subject: Fix Dovecot's mail location. --- roles/IMAP/files/etc/dovecot/conf.d/20-imap.conf | 2 +- roles/IMAP/files/etc/dovecot/conf.d/auth-ldap.conf.ext | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/IMAP/files/etc') diff --git a/roles/IMAP/files/etc/dovecot/conf.d/20-imap.conf b/roles/IMAP/files/etc/dovecot/conf.d/20-imap.conf index fa127c6..2557b78 100644 --- a/roles/IMAP/files/etc/dovecot/conf.d/20-imap.conf +++ b/roles/IMAP/files/etc/dovecot/conf.d/20-imap.conf @@ -63,6 +63,6 @@ protocol imap { args = /etc/dovecot/dovecot-ldap-userdb.conf.ext # Default fields can be used to specify defaults that LDAP may override - default_fields = home=/home/mail/%d/%n + default_fields = home=/home/mail/virtual/%d/%n } } diff --git a/roles/IMAP/files/etc/dovecot/conf.d/auth-ldap.conf.ext b/roles/IMAP/files/etc/dovecot/conf.d/auth-ldap.conf.ext index 0b38f00..5237fc2 100644 --- a/roles/IMAP/files/etc/dovecot/conf.d/auth-ldap.conf.ext +++ b/roles/IMAP/files/etc/dovecot/conf.d/auth-ldap.conf.ext @@ -24,7 +24,7 @@ passdb { # args = /etc/dovecot/dovecot-ldap-userdb.conf.ext # # # Default fields can be used to specify defaults that LDAP may override -# default_fields = home=/home/mail/%d/%n +# default_fields = home=/home/mail/virtual/%d/%n #} # If you don't have any user-specific settings, you can avoid the userdb LDAP @@ -35,5 +35,5 @@ userdb { # The MTA has already verified the existence of users when doing alias resolution, # so we can skip the passdb lookup here. - args = home=/home/mail/%d/%n allow_all_users=yes + args = home=/home/mail/virtual/%d/%n allow_all_users=yes } -- cgit v1.2.3