Plesk Qmail error – 451 qq internal bug (#4.3.0)

August 27th, 2010 2 Comments   Posted in Centos, Plesk, Qmail, System Administration

If you are getting error while sending email from your plesk server using outlook

Send test e-mail message: Your outgoing (SMTP) e-mail server has
reported an internal error. If you continue to receive this message, contact
your server administrator or Internet service provider (ISP).  The server
responded: 451 qq internal bug (#4.3.0)

To eliminate this problem, stop Qmail process and replace qmail-queue, qmail-local and qmail-remote with the qmail-queue.moved, qmail-local.moved and qmail-remote.moved accordingly:

# cd /var/qmail/bin
# cp -p qmail-local.moved qmail-local
# cp -p qmail-remote.moved qmail-remote
# cp -p qmail-queue.moved qmail-queue

More »

Fatal! Write Failure: /etc/valiases/domain.com

August 16th, 2010 No Comments   Posted in Centos, Qmail, cpanel

This error is because of a bug in cpanel theme “x”

If you get below error when deleting forwarder in your cpanel

email@domain.com=email@hotmail.com's mail will no longer be redirected to .
Fatal! Write Failure: /etc/valiases/hotmail.com. Ignore any messages of success this can only result in failure!

Solution: More »

How to increase Qmail sending limit

August 15th, 2010 No Comments   Posted in Centos, Dabian, Directadmin, Qmail, cpanel

First verify that these setting have not already been customized, as running the commands will overwrite any changes they have made. The following command will show you whether those files exist:

ls /var/qmail/control | egrep 'timeoutremote|timeoutsmtpd|concurrencyremote'

Run following command to update limits
More »

Managing services with update-rc.d

August 15th, 2010 No Comments   Posted in Dabian

When installing a new service under debian, the default is to enable it. So for instance, if you just installed apache2 package, after you installed it, apache service will be started and so will it be upon the next reboots.
If you do not use apache all the time, you might want to disable this service from starting up upon boot up and simply start it manually when you actually need it by running this command:

# /etc/init.d/apache2 start

You could either disable this service on boot up by removing any symbolic links in /etc/rcX.d/SYYapache2 or by using update-rc.d.

More »

Cpanel / WHM /FTP/E-mail are showing incorrect or zero disk usage

June 26th, 2010 No Comments   Posted in cpanel

1. Execute following scripts on the server.

# /scripts/initquotas; /scripts/resetquotas; /scripts/fixquotas

2. If the issue is still there then check whether “usrquota” option has enabled or not for home directory(/etc/fstab). Please enable it. Also check the rw option of the home directory where user’s home directory is there. I did following things.

# cat /etc/fstab | grep home
LABEL=/home /home ext3 defaults 1 2
# mount -o remount,rw, usrquota /home
# cat /etc/fstab | grep home
LABEL=/home /home ext3 defaults,rw,usrquota 1 2

More »

How to secure SSH in your server ?

1) Set a very strong password, keep it in your mind but dont write in somewhere.

2) Disable direct root login

emacs /etc/ssh/sshd_config

Search for
More »

How to open and close port in iptables ?

Few of very simple steps

1) Login using root

2) Enter following command to open port in iptables

iptables -A INPUT -p tcp --dport 25 -j ACCEPT

3) Enter following command to close port in iptables
More »

1.5 Million facebook accounts are for SALE

April 25th, 2010 No Comments   Posted in Facebook

The hot story of today, 1.5 Million facebook accounts are stolen and now available for SALE…oops..just change your facebook password if you are one the these victims.

A russian hacker is believed to hack 1.5 million facebook accounts, and if this is true then one out of every 300 facebook user have been victimized. He is selling these accounts on underground hacking forums and on very cheap rates. A cyber security company estimated that he has sold around 700,000 accounts but they are unable to find either they are real facebook user accounts or not. And facebook support is not replying a single word on this issue.

For remaining story, click here

Configuring range of ips in Linux,Centos,fedora core, red hat

Thats pretty simple

Just configure on ips in

/etc/sysconfig/network-scripts/ifcfg-eth0

Then Make a new file named ifcfg-eth0-range0

emacs /etc/sysconfig/network-scripts/ifcfg-eth0-range0

More »

How to install Active Directory on Windows Server 2008

April 21st, 2010 No Comments   Posted in System Administration, Windows

Unlike previous version of windows, there is an additional step requires to install before we go to dcpromo to promote the server to domain controller and install active directory. This additonal step is to enable active directory domain services role on server, and after that we proceed to dcpromo

Method to add role is very simple

1) Just open Server Manage, by right clicking on “My computer” and then click on “Manager”
2) click on “roles” from left tree, then click on “Add role” at right side.

More »