Topic: Integration samba4 Dovecot can't login
I'm trying to setup iredmail e-mail server and integrate it with Samba 4 domain controller.
So far, so good using this manual: http://www.iredmail.org/wiki/index.php? … y.iRedMail
First of all could not make dovecot start, because of vmail group was missing. So created a group called vmail (groupadd -g 5000 vmail).
I'm getting to the point where i should telnet to localhost on 143 port, but all the time i get an error message "* BYE Internal error occurred. Refer to server log for more information."
Have no idea where to look for some ideas
root@mail:/# ls -lan /var/vmail/vmail1/
drwxr-x--- 2 10000 5000 4096 dec 7 12:01 .
drwx------ 5 0 0 4096 dec 7 12:02 ..
Here's my setup and tail of dovecot.log
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu 12.04.1
- Related log if you're reporting an issue: tail /var/log/dovecot.log
Dec 07 18:31:07 imap-login: Info: Login: user=<email@example.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid
Dec 07 18:31:07 imap(firstname.lastname@example.org): Error: chdir(/var/vmail/vmail1/example.com/vmail/Maildir//) failed: Pern users) missing +x perm: /var/vmail, dir owned by 0:0 mode=0700)
Dec 07 18:31:07 imap(email@example.com): Error: chdir(/var/vmail/vmail1/example.com/vmail/Maildir/) failed: Perm
Dec 07 18:31:07 imap(firstname.lastname@example.org): Error: user email@example.com: Initialization failed: Namespace '': stafailed: Permission denied (euid=10000(vmail) egid=10006(domain users) missing +x perm: /var/vmail, dir owned by 0:0 mo
Dec 07 18:31:07 imap(firstname.lastname@example.org): Error: Invalid user settings. Refer to server log for more information.
Get fast and professional support from iRedMail developers: