• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

problem with qmail installation

O

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?
 
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.
 
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
 
Originally posted by dirty
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

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 ;)
 
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.
 
Re: Thx for all

Originally posted by outtime
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.

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.
 
Back
Top