[Dovecot] Correction of home and mail directory config
"L. Grün"
lgruen at gmx.ch
Sat Apr 21 09:20:32 EEST 2012
Hello,
after running dovecot for a while, I stumbled accross the warning, not
to have mail and home directory settings point to one and same directory.
Here is the output of dovecot -n:
> dovecot -n
# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-686 i686 Debian 6.0.4 ext3
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imaps imap
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
mail_max_userip_connections: 100
mail_privileged_group: mail
mail_uid: 5000
mail_gid: 5000
mail_location: maildir:/var/vmail/%d/%n/Maildir
mail_full_filesystem_access: yes
mbox_write_locks: fcntl dotlock
namespace:
type: private
separator: .
inbox: yes
list: yes
subscriptions: yes
lda:
auth_socket_path: /var/run/dovecot/auth-master
postmaster_address: xxxx at xxxx.org
mail_plugins: sieve
log_path:
auth default:
mechanisms: plain login
passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: static
args: uid=5000 gid=5000 home=/var/vmail/%d/%n/Maildir
allow_all_users=yes
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
In "args: uid=5000 gid=5000 home=/var/vmail/%d/%n/Maildir
allow_all_users=yes" I should delete "Maildir".
My question is:
What files do I have to copy from /Maildir to the home directory
/var/vmail/%d/%n/ ?
Are there other side effects, I have to consider?
Thank you very much for your help!
Stefan
More information about the dovecot
mailing list