Domains in vmail not getting correct user/group

Discussion in 'Installation/Configuration' started by ColdDoT, Nov 18, 2011.

  1. ColdDoT

    ColdDoT Member

    Hello,

    Thanks for the awesome system!

    I got two problems however:
    1) When ever i create a new mail domain and then a mailbox under that domain i get:
    Code:
    drwxr-xr-x 5 vmail vmail 4096 Nov 18 11:53 mailfilters
    drwx------ 3 vmail vmail 4096 Nov 11 02:13 omniasoft.nl
    drwx------ 3 vmail vmail 4096 Nov 17 14:20 rouwtentsilentium.nl
    drwx------ 3 root  root  4096 Nov 18 11:53 test.nl
    
    And as you know all the system around test.nl will not work because of the wrong group. I can fix this with a simple chown -HR vmail.vmail test.nl but thats not the core problem.

    2) The jailkit users are not working:
    Code:
    Nov 18 12:01:29 server2 sshd[29978]: Accepted password for omniasoft from 192.168.1.158 port 29790 ssh2
    Nov 18 12:01:29 server2 sshd[29978]: pam_unix(sshd:session): session opened for user omniasoft by (uid=0)
    Nov 18 12:01:29 server2 jk_chrootsh[29983]: path /var/www/clients/client1/web1/dev/ is not owned by user 0
    Nov 18 12:01:29 server2 jk_chrootsh[29983]: path /var/www/clients/client1/web1/dev/ is not owned by group 0
    Nov 18 12:01:29 server2 jk_chrootsh[29983]: abort, /var/www/clients/client1/web1 is not a safe chroot jail.
    Nov 18 12:01:29 server2 sshd[29978]: pam_unix(sshd:session): session closed for user omniasoft
    
    However when i disable Jailkit on the account it obvious works!

    I did install Jailkit before ISPConfig. So what happening? Or do you say remove everything make a backup from the db, reinstall everything restore db backup?

    Thanks in advance,

    ColdDoT
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Both problems are known (reported in the bugtracker) and already solved in ISPConfig 3.0.4.1.
     
  3. ColdDoT

    ColdDoT Member

    Aaa i see, couldent find the problems in the bugtracker, but i will try out RC1 then.

    Thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The new ispconfig version will take care that these problems dont happen again, but I'am not sure if the can correct the problem automatically without recreating the affected website. For the vmail problem, run:

    chown -R vmail:vmail /var/vmail

    and for the jailkit problem:

    chown root:root /var/www/clients/client1/web1/dev

    to fix the existing web.
     

Share This Page