Tuesday, June 30, 2009

To disable email seniding in cron tab

Add /dev/null 2>&1 at the end of the script

i.e 30 8 * * * command > /dev/null 2>&1

script to print 1-10

for i in `seq 1 10` ;do echo $i;done;

Sunday, June 21, 2009

DNS FORWARDING

for a in 'grep theright /etc/trueuserowners | cut -d ':' -f1'; do for b in `grep $a /etc/userdomains | cut -d":" -f1`;do replace "66.7.213.144" "66.7.219.239" -- /var/named/$b.db ; done ; done;

To change the Ip from 66.7.213.144 to 66.7.219.239

Thursday, June 18, 2009

Email forwarders

You can import email forwarders for one domain at a time ,i.e your list must be in the following form

For example you have 5 email address in the domain "nmjw02.com" i.e test1@nmjw02.com,...test5@nmjw02.com ,you can import the forwarders for these addresses in the following manner

source target
test1 jibin.t@hostdime.in
test2 rahul.r@hostdime.in
.
.

and lastly select the domain "nmjw02.com" from the drop down list. Other wise it will not work.

You can get the details regarding this issue From the following link

===================

http://tutorials.hostmonster.com/emailimport/

==================

If you need further assistance Please feel free to contact us.

Regards.

Wednesday, June 17, 2009

Installations

http://karthickv.wordpress.com/2008/06/

how to do transfer having account size more than 2 GB

1) Move public_html to /home/ as user_public or public_user (anything like that)
2) create a link of user_public to ../ (i.e /home)
3) packageaccount user_public
4) restore account user_public

then you need to transfer public_html by rsync

transfer user_public using rsync to /home of dest: and then it rename a public_html ...

Monday, June 15, 2009

How to secure a server....

We can easily done by this using the following script

=========

http://script.sherin.co.in/jsecure.sh

=========