[Dovecot] Correction of home and mail directory config

Dennis Guhl dg at dguhl.org
Sun Apr 22 12:10:18 EEST 2012


On Sat, Apr 21, 2012 at 08:20:32AM +0200, "L. Grün" wrote:
> 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

[..]

> mail_location: maildir:/var/vmail/%d/%n/Maildir

[..]

> 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

[..]

> In "args: uid=5000 gid=5000 home=/var/vmail/%d/%n/Maildir
> allow_all_users=yes" I should delete  "Maildir".

Yes, exactly.

> My question is:
> What files do I have to copy from /Maildir to the home directory
> /var/vmail/%d/%n/ ?

Everything concerning sieve should be in the home dir.

> Are there other side effects, I have to consider?

Less warnings ;)

Dennis



More information about the dovecot mailing list