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)

Reply via email to