Archive for February, 2013

Eximstats

Eximstats Desc ======== eximstats – generates statistics from Exim mainlog files. Reason for large eximststat DB ======================= If the server has heavy email activity or if there is an abuse activity on server or if the server eximstat log rotation interval is too high then the DB can grow large in size. Whcih is the […]

Leave a comment

Suggestions to avoid IP blocking due to wrong password

Suggestions to avoid IP blocking due to wrong password ================================= 1. Ensure that correct username & password is used to login 2. Ensure that you are using correct URL to login 3. Ensure that you are using correct server name, domain name or IP address in mail clients, FTP clients, SSH clients etc. 4. Ensure […]

Leave a comment

Sending mail via telnet

We can send mail via telnet using the following steps. 1. Telnet to hostname on port 25. 220 (then identifies itself – possibly with several lines of 220 + text) 2. HELO your_domain_name or whatever 250 (followed by human readable message) 3. MAIL FROM:you@hostname.com (ie, your email address) 250 is syntactically correct (or similar) 4. […]

Leave a comment

How to clear browser cache?

How to clear browser cache? Browser cache is a mechanism where the most frequently accessed sites, web documents such as HTML pages and images will be saved. Cache should be cleared periodically for the efficient functioning of the web browser. Let’s see how to clear browser cache in different browsers. Internet Explorer 8 and above: […]

Leave a comment

How to use a second partition for creating accounts in cpanel

Cpanel/WHM allows to use folders other than /home for creating cpanel account. If you run out of disk space in a cpanel server, you can add a new hard drive, format and mount it as /home2 Once this is done, you have two options to tell cpanel to utilize /home2. 1. Edit /etc/wwwacct.conf and set […]

Leave a comment

ClamAV Installation

How to use ClamAV? Clam AntiVirus (ClamAV) is an antivirus software toolkit that comes with cPanel. Let’s see how to use ClamAV. Installation ============ cd /usr/local wget http://sourceforge.net/projects/clamav/files/clamav/0.97/clamav-0.97.tar.gz/download tar -xzvf clamav-0.97.tar.gz cd clamav-0.97 groupadd clamav useradd -g clamav clamav mkdir /usr/local/share/clamav chown clamav:clamav /usr/local/share/clamav ./configure make make install * To update the antivirus database ~~~~~ […]

Leave a comment

Some measures to prevent spamming in a cPanel server

1. Change the default PHP5 handler to suPHP 2. Enable the option “Prevent ‘nobody’ from sending mail” in tweak settings 3. Set “The maximum number of emails each domain can send out per hour” to 500 in tweak settings 4. Make the following settings in “Exim Configuration Editor” ————————————o a) SpamAssassin™: Reject mail at SMTP […]

Leave a comment