Hello Guys,
I tried to install a simple mailserver on my FreeBSD 10.2 following this tutorial:
https://www.vultr.com/docs/simple-mailserver-postfix-dovecot-sieve-freebsd-10
But at the last step I get the following error:
And I don''t know how to solve this problem. Can someone give me a hint or help me? Additionaly does someone know how to implement MySQL to create / delete user via database?
Greetings
I tried to install a simple mailserver on my FreeBSD 10.2 following this tutorial:
https://www.vultr.com/docs/simple-mailserver-postfix-dovecot-sieve-freebsd-10
But at the last step I get the following error:
Code:
Mar 22 09:49:27 mailsrv postfix/qmgr[618]: F3CF119B7A5: from=<root@mailsrv.localdomain>, size=328, nrcpt=1 (queue active)
Mar 22 09:49:27 mailsrv dovecot: deliver(test): file_dotlock_create(/var/mail/test) failed: Permission denied (euid=1001(test) egid=1001(test) missing +w perm: /var/mail) (set mail_privileged_group=mail)
Mar 22 09:49:27 mailsrv dovecot: deliver(test): msgid=<20160322084926.F3CF119B7A5@mailsrv.localdomain>: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2016-03-22 09:49:27]
Mar 22 09:49:27 mailsrv postfix/local[793]: F3CF119B7A5: to=<test@localhost.localdomain>, orig_to=<test@localhost>, relay=local, delay=0.03, delays=0.01/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure)
Mar 22 09:50:45 mailsrv postfix/pickup[617]: 3FE9B19B7AA: uid=0 from=<root>
Mar 22 09:50:45 mailsrv postfix/cleanup[791]: 3FE9B19B7AA: message-id=<20160322085045.3FE9B19B7AA@mailsrv.localdomain>
Mar 22 09:50:45 mailsrv postfix/qmgr[618]: 3FE9B19B7AA: from=<root@mailsrv.localdomain>, size=328, nrcpt=1 (queue active)
Mar 22 09:50:45 mailsrv dovecot: deliver(test): file_dotlock_create(/var/mail/test) failed: Permission denied (euid=1001(test) egid=1001(test) missing +w perm: /var/mail) (set mail_privileged_group=mail)
Mar 22 09:50:45 mailsrv dovecot: deliver(test): msgid=<20160322085045.3FE9B19B7AA@mailsrv.localdomain>: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2016-03-22 09:50:45]
Mar 22 09:50:45 mailsrv postfix/local[793]: 3FE9B19B7AA: to=<test@localhost.localdomain>, orig_to=<test@localhost>, relay=local, delay=0.05, delays=0.04/0/0/0.01, dsn=4.3.0, status=deferred (temporary failure)
Mar 22 09:52:38 mailsrv postfix/pickup[617]: 7A20D19B7BB: uid=0 from=<root>
Mar 22 09:52:38 mailsrv postfix/cleanup[867]: 7A20D19B7BB: message-id=<20160322085238.7A20D19B7BB@mailsrv.localdomain>
Mar 22 09:52:38 mailsrv postfix/qmgr[618]: 7A20D19B7BB: from=<root@mailsrv.localdomain>, size=332, nrcpt=1 (queue active)
Mar 22 09:52:38 mailsrv dovecot: deliver(youruser): file_dotlock_create(/var/mail/youruser) failed: Permission denied (euid=1002(youruser) egid=1002(youruser) missing +w perm: /var/mail) (set mail_privileged_group=mail)
Mar 22 09:52:38 mailsrv dovecot: deliver(youruser): msgid=<20160322085238.7A20D19B7BB@mailsrv.localdomain>: save failed to INBOX: Internal error occurred. Refer to server log for more information. [2016-03-22 09:52:38]
Mar 22 09:52:38 mailsrv postfix/local[869]: 7A20D19B7BB: to=<youruser@localhost.localdomain>, orig_to=<youruser@localhost>, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure)
And I don''t know how to solve this problem. Can someone give me a hint or help me? Additionaly does someone know how to implement MySQL to create / delete user via database?
Greetings