hi
i need some help in using a shell script for migrating from courier to
dovecot.
this more related to shell scripting
I want to combine all the three commands below into one single command ..
i dont have much knowledge in formulating the shell command
command no 1
find the file called courierimapsubscribed under the specified directory
/home/vpopmail/domains/domain.com
find /home/vpopmail/domains/domain.com -name courierimapsubscribed
command no 2
make a copy of the courierimapsubscribed file to dovecot subscriptions file
/bin/cp courierimapsubscribed subscriptions
command no 3
open the file subscription and delete "INBOX."
sed -i 's/INBOX\.//g' subscriptions
thanks
rajesh
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]