Horde Mail Login Failed Error

October 12th, 2009

Whenever we see any login errors like

“Login failed” or
“Notice: (null)(): Connection failed to localhost,143: Connection refused (errflg=2) in Unknown on line 0″

for the horde mail, just restart the imap service using anyone of the scripts

/scripts/restartsrv_imap
/scripts/restartsrv_inetd

Mail Services ( POP, SMTP , IMAP and Webmail )

How to EDIT/DELETE existing hosting packages ?

October 12th, 2009

WHM PACKAGE EDIT:

You can alter all aspects of a package whenever you need to change the package. These changes will effect accounts only after doing upgrade/downgrade to older accounts,however it will effect new accounts using this package.

TO EDIT PACKAGE :

1) Click on the Edit Packages link in the Packages menu.

2) Click on the required package and click on the Edit button.

3) Alter the fields as required.

4) Click on the Edit button when you have finished editing the package.

Now you will confirmation message Editted the package USERNAME_PKGNAME

Now you are successfully editted package rolleyes.gif

****************************************************************
WHM PACKAGE DELETE:

You can always Delete packages that are no longer necessary.

TO DELETE PACKAGE :

IMPORTANT: If there are any domains associated with this package.Deleting package will cause problems.Hence always delete assoicated domains or upgrade/downgrade domains to another package.Once this precaution is taken care you can delete package.

1) Click on the Delete Packages link in the Packages menu.

2) Click on the package that you want to delete and click on the kill button.

Now you will get status message Removed Package USRNAME_PKGNAME

HOWTOs :: WHM/Cpanel Problems

How to create your own hosting packages in WHM ?

October 12th, 2009

What is package ?

Packages enables you to create your own custom web hosting packages/plans and are a critical function in WebHost Manager.
Web Host Manager (WHM) helps you in this process by allowing you to customize a large number of parameters, from disk space and bandwidth to the number of sub-domains and MySQL databases, as well as specifying whether CGI, shell access, and what CPanel default theme are provided.

Step-by-step procedure to create hosting packages in WHM reseller panel.

====================================================
IMPORTANT NOTE: do not put “unlimited” text in any fields while creating package as WHM takes “Unlimited” = 1. you can assign some number 99 or 999 or 9999 instead of “unlimited”. Enter “0″ (zero) when you do not want to allow that particluar feature.
====================================================

To add a package:

1) Click on the Add New Package link in the Packages menu.

2) Enter the name of the package and the maximum disk space the account can occupy in the Package Name and Quota fields.

3) Indicate whether Shell Access is allowed in the Shell Access tick box.

4) Enter the maximum number of items allowed in the Max Ftp Accounts, Max Email Accounts, Max Email Lists, Max SQL Databases, Max Sub Domains, Max Park Domains, and Max Addon Domains fields.
See above IMPORTANT information.

5) Never tick IP tick Box.

6) Indicate whether CGI access and Frontpage Extensions are allowed in the CGI Access and Frontpage Extentions tick boxes.

7) Enter the maximum bandwidth in megabytes allowed by the account in the Bandwidth Limit field.

Cool Select default CPanel theme for the package in the Cpanel Theme
field.

9) Click on create button on top.

10) You can see status “Created the package yourusername_packagename”. WHM creates packages by adding your user name as prefix to package name.

Now you can start creating domains using this package.

HOWTOs :: WHM/Cpanel Problems

What IS the Apache (HTTP Server)

October 12th, 2009

The Apache Project is a collaborative software development effort aimed at creating a robust, commercial-grade, featureful, and freely-available source code implementation of an HTTP (Web) server. The project is jointly managed by a group of volunteers located around the world, using the Internet and the Web to communicate, plan, and develop the server and its related documentation.

These volunteers are known as the Apache Group. In addition, hundreds of users have contributed ideas, code, and documentation to the project.

HOWTOs :: WHM/Cpanel Problems

Cpanel Documentation

October 12th, 2009

Here is the URL for Cpanel Documentation.

http://www.cpanel.net/docs/cp/index.html
_________________

HOWTOs :: WHM/Cpanel Problems

WHM Documentation

October 12th, 2009

Welcome to visitors.

You can go through WHM documentation at http://www.cpanel.net/docs/whm/index.html

HOWTOs :: WHM/Cpanel Problems

Microsoft Outlook HTML Links Problem

October 12th, 2009

When a client get this following problem

In Outlook, I would get an email with a link that whenever I clicked on it, it would bring up Internet Explorer, but the browser page would be blank.

Ask him to go through the following steps

Open Internet Explorer–> tools –>Internet Options. Then click the Programs tab Click Reset Web Settings
Click YES to reset, but take the uncheck the box to keep your homepage.
Check the box for Internet Explorer to check if it is the default browser

That’s it.

Mail Services ( POP, SMTP , IMAP and Webmail )

Perl script to update the web stats

October 12th, 2009

To overcome the stats problem i have written the following perl script.

The idea of this script is to check the time stamp of the stats index page i.e /home/steve/tmp/webalizer/index.html and calculate the difference days between file time stamp and the present server time stamp and update the stats if the difference is more than 2 days ( we can change this value ).

This script requires the Date::Calc module so first you need to check for that module and install it if it is not instlalled.

You can install it from WHM ->> Software ->> Install a perl module.

1) vi /rsanetworks/web.pl

#=======================================================================================================================
#
# Script to update the webalizer stats
#
# Author : Steve
#
# Date : 14/04/2006
#
#=======================================================================================================================

#!/usr/bin/perl

use warnings;
use strict;

use Date::Calc qw(Delta_Days); # to calculate the difference days between two dates

my %users;

open FH, ‘/etc/trueuserdomains’ or die $!;

while ( <FH> )
{
my @arr = split /:/;
$users{$arr[1]} = $arr[0];
}

while ( my ( $user, $domain ) = each %users )
{
chomp ( $user, $domain );
$user =~ s/^\s//;
$domain =~ s/^\s//;
my $file = “/home/$user/tmp/webalizer/index.html”;
$file =~ s/(\s)//;

if ( -e $file ) #checking whether previous stats have been generated
{
my $prev = ( stat ( $file ) )[9] ;
my ( $pd, $pm, $py ) = ( localtime ( $prev ) )[3..5]; #pd - previous date pm - previous month py - previous year
my ( $cd, $cm, $cy ) = ( localtime ( time ) )[3..5];
my $diff = Delta_Days( $cy, $cm + 1, $cd, $py, $pm + 1, $pd ); # we have added 1 to month to avoid 0 which is for Jan if ( $diff < -2 ) # if you want to change the difference days you can do it here but it should be nagative
{

chdir( “/usr/local/apache/domlogs” );
system ( “/usr/local/cpanel/3rdparty/bin/webalizer -N0 -D /home/$user/tmp/webalizer/dns_cache.db -R250 -p -n
$domain -o /home/$user/tmp/webalizer $domain > /dev/null 2>>error_stat.log ” );
}
}

else # No previous stats
{
chdir( “/usr/local/apache/domlogs” );
system( “/usr/local/cpanel/3rdparty/bin/webalizer -N0 -D /home/$user/tmp/webalizer/dns_cache.db -R250 -p -n
$domain -o /home/$user/tmp/webalizer $domain > /dev/null 2>>error_stat.log “);

}
}

# Script ends here

HOWTOs :: WHM/Cpanel Problems

Outlook Sign in error

October 12th, 2009

While “sign in” account through mail client if you are getting the following error messages:-

There was a problem logging onto your mail server. Your Password was rejected. Account: ‘comments@domain.com’, Server: ‘mail.domain.com’, Protocol: POP3, Server Response: ‘-ERR Your account has been suspended’, Port: 110, Secure(SSL): No, Server Error: 0×800CCC90, Error Number: 0×800CCC92

Then the solution is:-

Generally you get this error messages when the account is supended. So check in the server whm whether the account is suspended or not. If the account is not suspended but you are getting the above error while “sign in” in email client , then first suspended the account through the whm or shell and again unsuspended the account.

The problem have resolved.
Now please check that account by “sign in” in email client.

Mail Services ( POP, SMTP , IMAP and Webmail )

Horde -> Attachment stripped

October 12th, 2009

Hi,

when we send an email with attachment and then check the “sent-mail” folder we see only the message instead of attachment: “Attachment stripped”

How to enable attachments to be saved in the “sent-mail” ?

1. Login to your webmail

2. Click to view your Inbox

3. Click the “Options” button at the top of the page

4. Click on “Message Composition”

5. Look for the following, near the bottom of the list of settings:
“When saving sent-mail, should we save attachment data?”
Then set it to “Always Save Attachments” Or any of the other options that suit your personal preference.

6. Click “Save Options

Mail Services ( POP, SMTP , IMAP and Webmail )