ISP + directories

Discussion in 'Installation/Configuration' started by LeoLinux, Oct 18, 2006.

  1. LeoLinux

    LeoLinux New Member

    Hi there,

    I had the problem, that I wanted to mount /var from a NAS Server via NFS but the problem was/is that my OS (Ubuntu Breezy) can't mount a Network file system until the /var is mounted otherwise the network interface isn't up and can't mount a remote filesystem.

    So my question now is if I change/reinstall the ISP root directory from /var/www to mybe /ISP/www - what about the mails and the other stuff except the webs of the cosutumers?

    is every stuff from a ISP costumer going to /ISP/www from now on or are the mails and stuff still going to /var/mail and only the webs are lieing in /ISP/www ??

    I'm pretty unsure about because I have a small system aprtition (1,5 GB CFcard) and the ISP stuff should be stored on a NAS server.

    any idea? any tip? any answer? ;-)

    thanks Leo
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What is ISP? Do you mean that you have ISPConfig installed?
     
  3. LeoLinux

    LeoLinux New Member

    sorry - yes I mean with ISP ISPconfig ;-)

    yes I allready have it installed


    greetings Leo
     
  4. LeoLinux

    LeoLinux New Member

    soory, just another question by the way ... waht's the difference between ISP42go and ISPconfig?

    I'm just interested in ... thx

    Leo
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Do you use mbox or Maildir? If you use mbox, emails will continue to be stored in /var/mail.

    Have a look here: http://www.howtoforge.com/forums/showthread.php?t=730
     
  6. LeoLinux

    LeoLinux New Member

    I'm using Maildir - because I guessed it's better, or faster or whatever .... I don't exactly know the differences between but @ the moment I'm using Maildir and I guess I want to use that also in future.

    thx for the link! ;-)

    Leander
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Then your emails are currently not stored in /var/mail, but in Maildir/ in each user's homedir.

    You can change the root directory, but you must copy/move all existing web sites to the new dirctory like this:

    Code:
    cp -pfr /var/www/* /ISP/www/
    Then change the root directory in the ISPConfig settings, and change the users' homedirs in /etc/passwd.
     
  8. LeoLinux

    LeoLinux New Member

    Hi,

    ok, so if I use maildir the mails are going into the users webs/Maildir. so ISPconfig isn't producing any stuff on /var anymore?!

    I'm asking that because how I already told u my Breeze is running on a 2 GB CF card and ISPconfig or ISP user stuff should only be stored at the remote filesystem (NASServer)

    So my goal is that on the CF is nothing more then the OS, ISP-software an the logs of the server.


    Thx! Leo
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Your zone files are probably stored in /var if you use ISPConfig's DNS Manager, but you can configure it to store them elsewhere under Management -> Server -> Settings -> DNS.
     
  10. LeoLinux

    LeoLinux New Member

    ok , Thanks ;-)
     

Share This Page