why the wired folder structure ??

Discussion in 'Installation/Configuration' started by fireba11, Feb 19, 2007.

  1. fireba11

    fireba11 Member

    i just stumbled over a few "slight" problems:

    * if you change the admin-flag on a user it#s maildir gets symlinked to the hew home location .. the . files do not

    * imho the current folder structure makes close to no sense ... why are the mail folders inside the /var/www/web[0-9] folder ? i can't really understand the reasons for the current structure .. is there any explanation why/how that setup came ?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Why shall anything else change. It works perfectly as it is now.

    The structure makes much sense for a hosting control panel. The structure is website centric, all files of the users e.g. the mail files and home directories are subdirectories of the website root. So the files are easy to migrate and can be handled from a single admin user by e.g. FTP.
  3. fireba11

    fireba11 Member

    problem is it seems to not work perfectly ...

    now i got /var/www/web1 containing a .procmail.rc with reference to /srv/www/web1/user/web1p1/.spamassassin.rc

    that is pretty confusing ^^
  4. falko

    falko Super Moderator ISPConfig Developer

    Did you somehow move your web sites from /var/www to /srv/www or vice versa? What's the output of
    df -h
    ls -l /var/www
    , and
    ls -l /srv/www
  5. fireba11

    fireba11 Member

    the var/srv difference came from me symlinking the www folder ...

    my point was that the user home gets moved when changing the admin-flag, but the .procmail.rc still points to the old files .. that's mighty confusing i think.

    also, is there any way to add own procmail rules in a way they won't get overwritten on the next change ?
  6. falko

    falko Super Moderator ISPConfig Developer

    That's intended like that.

    The .procmailrc should contain the new admin's recipes.

    Unfortunately not, as I couldn't figure out a way yet to do this best. The problem is that the order of recipes matters...

Share This Page