Control Web Panel
WebPanel => E-Mail => Topic started by: Trovan on April 23, 2016, 09:28:32 PM
-
Hello,
I need to move the folder where the emails are storaged.
What is the best solution for that?
-
may be not best solution
- in old server, from /var, targz "vmail" folder
- move targz file into folder where we can wget it, exp "/home/user/public_html/
- in new server, from /var folder, wget archive.tar.gz from old server
- un targz it
-
Hello,
I need to move the folder where the emails are storaged.
What is the best solution for that?
I don't test it, but:
/etc/init.d/postfix stop && mv /var/vmail/ /home/vmail && ln /home/vmail /var/vmail && /etc/init.d/postfix start
-
Use this, as Ive tested this with Centos7
service postfix stop && mv /var/vmail/ /home/vmail && mv /var/vmail /var/vmailold && ln -s /home/vmail /var/vmail && service postfix start
you can remove the /var/vmailold at your leisure when you know all is working..
-
Hello,
I need your help, because all emails are locate to /var/vmail/
and / is only 50 giga. I dont have more free space here,
How to change the directory of emails to correspondent folder for each user /home/%user...
Thank you so much.
-
Hello,
I need your help, because all emails are locate to /var/vmail/
and / is only 50 giga. I dont have more free space here,
How to change the directory of emails to correspondent folder for each user /home/%user...
Thank you so much.
https://wiki.centos-webpanel.com/move-varvmail-to-another-partition
-
The ideal location would/should be /home/%user%/mail
Will also easily allow email to be included in a user's quota.
(As said a few times in the past.)
-
The ideal location would/should be /home/%user%/mail
Will also easily allow email to be included in a user's quota.
(As said a few times in the past.)
YEs this is ideally, but how I can do it? any idea please!
-
Hello,
I need your help, because all emails are locate to /var/vmail/
and / is only 50 giga. I dont have more free space here,
How to change the directory of emails to correspondent folder for each user /home/%user...
Thank you so much.
https://wiki.centos-webpanel.com/move-varvmail-to-another-partition
Hello, thank you for your help, i am trying to test these comands in my ServerLab by sending emails with big attach, but I dont know why the size of home and the size of /root are increase bothly ?!
before
[root@cwp var]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 5.8G 0 5.8G 0% /dev
tmpfs 5.8G 0 5.8G 0% /dev/shm
tmpfs 5.8G 60M 5.8G 2% /run
tmpfs 5.8G 0 5.8G 0% /sys/fs/cgroup
/dev/mapper/centos-root 193G 7.1G 176G 4% /
/dev/sda1 976M 141M 769M 16% /boot
/dev/mapper/centos-home 583G 245M 553G 1% /home
tmpfs 1.2G 0 1.2G 0% /run/user/0
after
[root@cwp var]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 5.8G 0 5.8G 0% /dev
tmpfs 5.8G 0 5.8G 0% /dev/shm
tmpfs 5.8G 60M 5.8G 2% /run
tmpfs 5.8G 0 5.8G 0% /sys/fs/cgroup
/dev/mapper/centos-root 193G 7.3G 176G 4% /
/dev/sda1 976M 141M 769M 16% /boot
/dev/mapper/centos-home 583G 338M 553G 1% /home
tmpfs 1.2G 0 1.2G 0% /run/user/0
-
The ideal location would/should be /home/%user%/mail
Will also easily allow email to be included in a user's quota.
(As said a few times in the past.)
Hope we will get a solution for this.
-
Hello,
I need your help, because all emails are locate to /var/vmail/
and / is only 50 giga. I dont have more free space here,
How to change the directory of emails to correspondent folder for each user /home/%user...
Thank you so much.
https://wiki.centos-webpanel.com/move-varvmail-to-another-partition
Hello, thank you for your help, i am trying to test these comands in my ServerLab by sending emails with big attach, but I dont know why the size of home and the size of /root are increase bothly ?!
before
[root@cwp var]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 5.8G 0 5.8G 0% /dev
tmpfs 5.8G 0 5.8G 0% /dev/shm
tmpfs 5.8G 60M 5.8G 2% /run
tmpfs 5.8G 0 5.8G 0% /sys/fs/cgroup
/dev/mapper/centos-root 193G 7.1G 176G 4% /
/dev/sda1 976M 141M 769M 16% /boot
/dev/mapper/centos-home 583G 245M 553G 1% /home
tmpfs 1.2G 0 1.2G 0% /run/user/0
after
[root@cwp var]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 5.8G 0 5.8G 0% /dev
tmpfs 5.8G 0 5.8G 0% /dev/shm
tmpfs 5.8G 60M 5.8G 2% /run
tmpfs 5.8G 0 5.8G 0% /sys/fs/cgroup
/dev/mapper/centos-root 193G 7.3G 176G 4% /
/dev/sda1 976M 141M 769M 16% /boot
/dev/mapper/centos-home 583G 338M 553G 1% /home
tmpfs 1.2G 0 1.2G 0% /run/user/0
I see that for every email something is save here: /usr/local/cwpsrv/var/services/roundcube/temp
so i thing that is not a solution to move only /var/vmail