1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

problem with qmail installation

Discussion in 'Plesk for Linux - 8.x and Older' started by outtime, Dec 8, 2005.

  1. outtime

    outtime Guest

    I have installed plesk 7.5 for linux, fc 3.
    My problem is that /var is a partition point with 2Gb and i need change del maildir directory to /home because the disk space into /var is enought.
    Can anyone help to me?
  2. jlschwab

    jlschwab Guest

    Are you saying that you need more than 2 gigs of space for your mail? This seems like alot.
    This is definitely do-able without too much work. or downtime at all.
    I could help you just relocate your mail files and get them all setup in the new location.

    PM me if you are still in need of help. We can work out something.
  3. dirty@

    dirty@ Guest

    qmail is not php and as far as I understand it follows symlinks w/o problem.. so that to move /var/qmail to /home/qmail:

    # /etc/init.d/qmail stop
    # /etc/init.d/courier-imap stop
    # /etc/init.d/xinetd stop

    # cd /var
    # tar cf - ./qmail | tar xf - -C /home
    # rm -fr ./qmail
    # ln -s /home/qmail /var/qmail

    # /etc/init.d/qmail start
    # /etc/init.d/courier-imap start
    # /etc/init.d/xinetd start
  4. jlschwab

    jlschwab Guest

    Yeap that's pretty much what I would of done my self.
    Very nice write up, good job, except I would use cpio not tar twice ;)
  5. outtime

    outtime Guest

    Thx for all

    Thx for all but my problem now is that mysql and another scripts are working into /var and 2GB is enought space, i need change the partition space.
    Thx for all.
  6. jlschwab

    jlschwab Guest

    Re: Thx for all

    You have a couple of options at this point:

    1) Stop using your real /var and symlink it all to another bigger drive.

    2) Go ahead and do the same with mysql as you did with qmail.

    Either way would work, the first option might be the best, as it would solve all the problems together at once.

    Feel free to PM me with any specific questions, etc.