/var/vmail permissions

Discussion in 'ISPConfig 3 Priority Support' started by rodti, Jun 24, 2014.

  1. rodti

    rodti Member

    I'm receiving the following IMAP error on my ISPConfig3 mailserver when trying to move a mailbox folder from within my mail client:

    Presumably this is a permissions issue in the /var/vmail folder.

    Could you provide details of the correct permissions for the /var/vmail folder and subfolders in an ISPConfig3 setup so I can try and fix this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    run:

    chown -R vmail:vmail /var/vmail
     
  3. rodti

    rodti Member

    I did try restoring the user/group but that doesn't seem to have made a difference. I don't see how the chmod permissions could have got messed up as no one should be able to access those folders. I'd chmod the mailbox folders myself but have no idea where they sit in a Maildir!
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There should be no need to chmod something, as the mailsystem runs as user and group vmail. If you like to check the mail folders, take a look into the Maildir, you see them with:

    ls -la
     
  5. rodti

    rodti Member

    For some reason most mailbox folders were set to 745 but the two I was trying to move were 705. Changing these manually to 745 as root fixed the problem.

    Thanks for your help - didn't think that the mailbox folders might have been hidden!
     

Share This Page