1 (edited by Norbert 2021-09-15 15:27:59)

Topic: SOLVED - dovecot mkdir with wrong path

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2
- Deployed with iRedMail Easy or the downloadable installer? d/l ,
- Linux/BSD distribution name and version:  Debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  PGSQL
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


SOLUTION : Wrong storagebasedirectory in table mailboxes . No relation to dovecot.



I want my mailbox data to live on a separate volume , mounted under /mnt/vmail.

Dovecot seems to reference a wrong path when it tries to create directories :

Sep 14 18:16:30 mail dovecot: imap(nk@norbert-klamann.de)<14860><zPutlPjLOo1/AAAB>: Error: mkdir(/mnt/vmail1/vmail1/norbert-klamann.de/n/k/k/nk-2017.10.13.16.59.08//Maildir) failed: Permission denied (euid=2000(vmail) egid=2000(vmail) missing +w perm: /mnt, dir owned by 0:0 mode=0755)


The path should be /mnt/vmail (without the 1 ) / vmail1 etc etc.

I try to find where this path  (/mnt/vmail1/vmail1 ) comes from. My dovecot file is provided via ansible and I have a variable which references  /mnt/vmail for the sieve stuff.

I created the dovecot.conf file with doveconf and amended it with imapsieve.  My dovecot.conf as deployed  is attached
Thanks for any hints !

Norbert
---------------------------------------------------------------------

Post's attachments

dovecot.conf 6.03 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.