I'm trying to create my first mail server with postfix
, Dovecot
and squirrel mail
on Ubuntu 14.04
To get started did i follow this tutorial on this page. http://www.tecmint.com/setup-postfix-mail-server-in-ubuntu-debian/
I created a user on my linux server called nicolai with a random password that im using to sign in to squirrelmail.
But i keep getting this error:
ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: [SERVERBUG] Internal error occurred. Refer to server log for more information. [2015-08-11 17:31:42]
And my log file give me this error:
Aug 11 17:31:44 remedy dovecot: imap(nicolai): Error: open(/var/mail/nicolai) failed: Permission denied (euid=1001(nicolai) egid=1002(nicolai) missing +w perm: $var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775)
Aug 11 17:31:44 remedy dovecot: imap(nicolai): Error: Failed to autocreate mailbox INBOX: Internal error occurred. Refer to server log for more information. [2015-08-15-08-11 17:31:44]
So for some reason it seems like it won't create the INBOX
- I checked the mail directory in my home folder and it has only created the following folders INBOX.Drafts
, INBOX.Sent
and INBOX.Trash
I have not been able to find a solution on the internet so I'm hoping someone else have tried the same as me before.