1

Topic: I can add domain in iRedAdmin

==== Required information ====
- iRedMail version: v0.1.6 (MySQL) 
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: freebsd
- Related log if you're reporting an issue:

Oct 14 20:07:22 imap-login: Info: Login: user=<maciej.o@alfa-romeo.pl>, method=PLAIN, rip=192.168.1.1, lip=192.168.1.1, secured
Oct 14 20:07:22 IMAP(maciej.o@alfa-romeo.pl): Error: mkdir(///alfa-romeo.pl/m/a/c/maciej.o-2012.10.11.14.50.05//Maildir/cur)
 failed: Permission denied (euid=1001(vmail) egid=1001(vmail) missing +w perm: //)
Oct 14 20:07:22 IMAP(maciej.o@alfa-romeo.pl): Error: Sending log messages too fast, throttling..
Oct 14 20:07:23 IMAP(maciej.o@alfa-romeo.pl): Error: mkdir(///alfa-romeo.pl/m/a/c/maciej.o-2012.10.11.14.50.05//Maildir/cur)
 failed: Permission denied (euid=1001(vmail) egid=1001(vmail) missing +w perm: //)
Oct 14 20:07:23 IMAP(maciej.o@alfa-romeo.pl): Error: mkdir(///alfa-romeo.pl/m/a/c/maciej.o-2012.10.11.14.50.05//Maildir/cur)
 failed: Permission denied (euid=1001(vmail) egid=1001(vmail) missing +w perm: //)
Oct 14 20:07:23 IMAP(maciej.o@alfa-romeo.pl): Info: Disconnected: Logged out bytes=140/701

====

Dir alfa-romeo.pl is dont creating in  /var/vmail.
My permissions:
drwx------   8 vmail  vmail  512 Oct 10 21:41 sieve
drwx------  17 vmail  vmail  512 Oct 14 19:56 vmail1


other domains are from postfixadmin before migration to iredadmin. I cant add domain via iredadmin. Please help my Chinese friend smile

2

Re: I can add domain in iRedAdmin

Check your maildir path of this user, it requires three columns in table "vmail.mailbox": storagebasedirectory, storagenode, maildir.
Sample value:

- storagebasedirectory=/var/vmail
- storagenode=vmail1
- maildir=alfa-romeo.pl/m/a/c/maciej.o-2012.10.11.14.50.05/