Dovecot deleting files and directories

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Jul 1 12:31:33 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 1 Jul 2015, Jan Ekholm wrote:

> The log file is not really too informative, mostly lines of this form:
>
> Jul 01 14:00:36 imap(operators-east at east.domain.x): Debug: Namespace : /opt/mail/operators-east doesn't exist yet, using default permissions
> Jul 01 14:00:36 imap(operators-east at east.domain.x): Debug: Namespace : /opt/mail/operators-east doesn't exist yet, using default permissions
>
> Below is the used config file. I can’t see anything that would trigger deletions and there is no logging or similar
> about it. To me it’s quite serious that an IMAP server randomly deletes mails and its own files.

the config looks like you've copied it from some files, please do:

+ restart dovecot (service dovecot restart or /etc/init.d/dovecot restart 
or whatever is appropriate on your system)

+ run: doveconf -n
and post its output.

+ Also run: doveadm user -u operators-east at east.domain.x

>
> # we're using maildir without any extra folders in the user's home directory (set in userdb)
> mail_location = maildir:~
>
> # user database
> userdb {
>    driver = static
>    args   = uid=navie gid=users home=/opt/mail/maildir/%n
> }
> ###########################################################################################
>
> Anything obviously wrong? I’ve seen that mail_location and mail_home should not be the same, but using
>
> mail_location = maildir:~/mail

The log entries does not fit the configuration shown, therefore I suspect 
that Dovecot is using another config.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVZPdpXz1H7kL/d9rAQLPqAf/T98U5F6TWYuSb+ccX5NGXlLrw79hu0q1
+D+RmWFiLpwk3S5Q+I7nZ9++zVPdCSkAkS4cis4DyvkNbn43GBx0HvWV9H9zFMsh
NvTnHlv4nTZcf+5W0PIpstjIBlMzjZd5hc4V5Xo5srsoP7kH/gaHTX/OsBfskavU
qHimGb4ArJS1nVliLhPJTmpEW7hpfS6yBViSLhqpt1eLMnwCjir5IirPUNvg+BKY
WmIRRHSLYRu0o8IkPmbyghE4pJ8Zu61Z3MOmBpcRFDGf/UUkbUmbS2OdWCFgP2Z9
JhEcvkpHuamwYDLMD+isTz14aLjRDu15QB8nURmlmkGXhxAVn5IxhA==
=UIYT
-----END PGP SIGNATURE-----


More information about the dovecot mailing list