Hi Helmut, 2016-04-15 07:13, Helmut Fritz wrote:
So incoming smtp is working, the domain directory gets created with the user, etc. when the mail comes in. The issue is the domain directory is not getting created not getting created with any group permissions, only user. I did put the uid and gid int the web form when creating the domain.
Since there are no group permissions and dovecot does not run as exim4u, it cannot access the mail store.
Any ideas? I suppose I could have dovecot run as exim4u, but that does not seem like the right way to do it.
I just checked my server, and the situation is the same there: user's Maildir is created with access permissions for that user only. Yet my IMAP server runs under its own user. I don't think umask is really the issue here. At least according to the Dovecot manual, you're supposed to simply run it as root by default. See http://wiki2.dovecot.org/RunningDovecot . I guess it drops unnecessary permissions when a user connects. Regards, Rimas