Re: [qmailtoaster] Change Default folder vpopmail
Hello I will try first, by the way thanks. regards Agni On 8/30/2017 1:01 AM, Remo Mattei wrote: Hello I used the --bind which is better in my opinion than the symlink :) just my 2 cents! On 8/29/17 10:59 AM, Eric Broch wrote: Thanks, Rajesh. I didn't know about this 'mount --bind' You could also do a symlink. # qmailctl stop # systemctl stop dovecot # cp -p /home/vpopmail/domains /highcapacity # mv /home/vpopmail/domains /home/vpopmail/domains.bak # ln -s /highcapacity /home/vpopmail/domains Something like that. ... I think you can change the default home directory for vpopmail as well, but it involves more. Eric On 8/29/2017 10:21 AM, Rajesh M wrote: stop qmail mysql dovecot spamassassin clam etc /bin/mount --bind/highcapacity/home/vpopmail/domains restart the above services create a sample domain ; testdomain.com and then check if folder is correctly created by dir /highcapacity dir /home/vpopmail/domains will also show the same folder. this is how we use you can even mount a one or more domain to another drive by /bin/mount --bind /highcapacity/largesizedomain.com /home/vpopmail/domains/largesizedomain.com we use in the above manner rajesh - Original Message - From: Agni Isador H [mailto:agniisa...@gmail.com] To:qmailtoaster-list@qmailtoaster.com Sent: Tue, 29 Aug 2017 23:10:37 +0700 Subject: Dear All, Need your help, how to change default folder vpopmail to the other folder, because i want to use the other centos with high capacity disk. Thanks. regards, Agni Isador H - To unsubscribe, e-mail:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail:qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail:qmailtoaster-list-h...@qmailtoaster.com -- Eric Broch White Horse Technical Consulting (WHTC)
Re: [qmailtoaster] Change Default folder vpopmail
Hello I used the --bind which is better in my opinion than the symlink :) just my 2 cents! On 8/29/17 10:59 AM, Eric Broch wrote: > > Thanks, Rajesh. > > I didn't know about this 'mount --bind' > > You could also do a symlink. > > # qmailctl stop > > # systemctl stop dovecot > > # cp -p /home/vpopmail/domains /highcapacity > > # mv /home/vpopmail/domains /home/vpopmail/domains.bak > > # ln -s /highcapacity /home/vpopmail/domains > > Something like that. > > ... > > I think you can change the default home directory for vpopmail as > well, but it involves more. > > Eric > > > > On 8/29/2017 10:21 AM, Rajesh M wrote: >> stop qmail mysql dovecot spamassassin clam etc >> >> /bin/mount --bind/highcapacity/home/vpopmail/domains >> >> restart the above services >> >> create a sample domain ; testdomain.com and then check if folder is >> correctly created by >> dir /highcapacity >> >> dir /home/vpopmail/domains will also show the same folder. >> >> this is how we use >> >> you can even mount a one or more domain to another drive by >> >> /bin/mount --bind /highcapacity/largesizedomain.com >> /home/vpopmail/domains/largesizedomain.com >> >> we use in the above manner >> >> rajesh >> >> - Original Message - >> From: Agni Isador H [mailto:agniisa...@gmail.com] >> To: qmailtoaster-list@qmailtoaster.com >> Sent: Tue, 29 Aug 2017 23:10:37 +0700 >> Subject: >> >> Dear All, >> >> Need your help, how to change default folder vpopmail to the other >> folder, because >> i want to use the other centos with high capacity disk. >> Thanks. >> >> regards, >> >> Agni Isador H >> >> - >> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com >> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com >> >> >> >> >> - >> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com >> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com > > -- > Eric Broch > White Horse Technical Consulting (WHTC)
Re: [qmailtoaster] Change Default folder vpopmail
Thanks, Rajesh. I didn't know about this 'mount --bind' You could also do a symlink. # qmailctl stop # systemctl stop dovecot # cp -p /home/vpopmail/domains /highcapacity # mv /home/vpopmail/domains /home/vpopmail/domains.bak # ln -s /highcapacity /home/vpopmail/domains Something like that. ... I think you can change the default home directory for vpopmail as well, but it involves more. Eric On 8/29/2017 10:21 AM, Rajesh M wrote: stop qmail mysql dovecot spamassassin clam etc /bin/mount --bind/highcapacity/home/vpopmail/domains restart the above services create a sample domain ; testdomain.com and then check if folder is correctly created by dir /highcapacity dir /home/vpopmail/domains will also show the same folder. this is how we use you can even mount a one or more domain to another drive by /bin/mount --bind /highcapacity/largesizedomain.com /home/vpopmail/domains/largesizedomain.com we use in the above manner rajesh - Original Message - From: Agni Isador H [mailto:agniisa...@gmail.com] To:qmailtoaster-list@qmailtoaster.com Sent: Tue, 29 Aug 2017 23:10:37 +0700 Subject: Dear All, Need your help, how to change default folder vpopmail to the other folder, because i want to use the other centos with high capacity disk. Thanks. regards, Agni Isador H - To unsubscribe, e-mail:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail:qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail:qmailtoaster-list-h...@qmailtoaster.com -- Eric Broch White Horse Technical Consulting (WHTC)
RE: [qmailtoaster] Change Default folder vpopmail
one more point in your rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local ## to be added /etc/rc.d/init.d/dovecot stop /etc/rc.d/init.d/qmail stop /etc/rc.d/init.d/mysqld stop /bin/mount --bind /highcapacity /home/vpopmail/domains /etc/rc.d/init.d/mysqld start /etc/rc.d/init.d/qmail start /etc/rc.d/init.d/dovecot start ## rajesh - Original Message - From: Rajesh M [mailto:24x7ser...@24x7server.net] To: qmailtoaster-list@qmailtoaster.com Sent: Tue, 29 Aug 2017 21:51:00 +0530 Subject: stop qmail mysql dovecot spamassassin clam etc /bin/mount --bind/highcapacity/home/vpopmail/domains restart the above services create a sample domain ; testdomain.com and then check if folder is correctly created by dir /highcapacity dir /home/vpopmail/domains will also show the same folder. this is how we use you can even mount a one or more domain to another drive by /bin/mount --bind /highcapacity/largesizedomain.com /home/vpopmail/domains/largesizedomain.com we use in the above manner rajesh - Original Message - From: Agni Isador H [mailto:agniisa...@gmail.com] To: qmailtoaster-list@qmailtoaster.com Sent: Tue, 29 Aug 2017 23:10:37 +0700 Subject: Dear All, Need your help, how to change default folder vpopmail to the other folder, because i want to use the other centos with high capacity disk. Thanks. regards, Agni Isador H - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
RE: [qmailtoaster] Change Default folder vpopmail
stop qmail mysql dovecot spamassassin clam etc /bin/mount --bind/highcapacity/home/vpopmail/domains restart the above services create a sample domain ; testdomain.com and then check if folder is correctly created by dir /highcapacity dir /home/vpopmail/domains will also show the same folder. this is how we use you can even mount a one or more domain to another drive by /bin/mount --bind /highcapacity/largesizedomain.com /home/vpopmail/domains/largesizedomain.com we use in the above manner rajesh - Original Message - From: Agni Isador H [mailto:agniisa...@gmail.com] To: qmailtoaster-list@qmailtoaster.com Sent: Tue, 29 Aug 2017 23:10:37 +0700 Subject: Dear All, Need your help, how to change default folder vpopmail to the other folder, because i want to use the other centos with high capacity disk. Thanks. regards, Agni Isador H - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
[qmailtoaster] Change Default folder vpopmail
Dear All, Need your help, how to change default folder vpopmail to the other folder, because i want to use the other centos with high capacity disk. Thanks. regards, Agni Isador H - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com