Reseller Hosting


Hello,
PHP and Apache are not being able to track which users are sending out mail through the PHP mail function from the nobody user causing leaks in formmail scripts and malicious users to spam from your server without you knowing who or where.

Monitiring exim_mainlog doesn’t exactly help, you see th email going out but you can’t track from which user or script is sending it. This is a quick and dirty way to get around the nobody spam problem on your Linux server.

If you check out your PHP.ini file you’ll notice that your mail program is set to: /usr/sbin/sendmail and 99.99% of PHP scripts will just use the built in mail(); function for PHP - so everything will go through /usr/sbin/sendmail
Requirements:

We assume you’re using Apache 1.3x, PHP 4.3x and Exim. This may work on other systems but we’re only tested it on a
Cpanel/WHM Red Hat Enterprise system.

Step 1:

Login to your server with root.

Step 2:
Turn off exim before proceeding
service exim stop

Step 3:
Take the Backup of  your original /usr/sbin/sendmail file

mv /usr/sbin/sendmail /usr/sbin/sendmail_bak

Step 4:

You need to  Create the spam monitoring script for the new sendmail.
pico /usr/sbin/sendmail

Paste in the following:

#!/usr/local/bin/perl

# use strict;
use Env;
my $date = `date`;
chomp $date;
open (INFO, “>>/var/log/spam_log”) || die “Failed to open file ::$!”;
my $uid = $>;
my @info = getpwuid($uid);
if($REMOTE_ADDR) {
print INFO “$date - $REMOTE_ADDR ran $SCRIPT_NAME at $SERVER_NAME n”;
}
else {

print INFO “$date - $PWD -  @infon”;

}
my $mailprog = ‘/usr/sbin/sendmail.hidden’;
foreach  (@ARGV) {
$arg=”$arg” . ” $_”;
}

open (MAIL,”|$mailprog $arg”) || die “cannot open $mailprog: $!n”;
while (<STDIN> ) {
print MAIL;
}
close (INFO);
close (MAIL);

save and close

Step 5:
Now change the new sendmail permissions
chmod a+x /usr/sbin/sendmail

Step 6:

Create a new log file to keep a history of all mail going out of the server using web scripts
touch /var/log/spam_log

chmod 0777 /var/log/spam_log

Step 7:
Start Exim up again.
/etc/init.d/exim start

Step 8:
You can Monitor your spam_log file for spam, try using any formmail or script that uses a mail function - a message board, a contact script.
tail - f /var/log/spam_log

Reference taken from : webhostgear.com

Marketing techniques

The success and stability of the business depends upon its marketing strategies though the investment in terms of money that one needs to make in a reseller Web hosting business is quite negligible.

Targeting the right audience is very important. Many people who use Internet quite frequently would sure know about reseller hosting as much as you do. They would, obviously, prefer to purchase hosting packages from a full fledged Web Hosting Company. Thus, a reseller’s potential customers are those who are less net savvy. His clients would be mostly such people who wish to host a personal static Web site.

Hosting a professional web site to display his packages and offers online would help the reseller in taking his business to great heights.

Last but not the least. The reseller should not ignore his offline or niche market. He should employ all the conventional and effective ways of marketing in the local market. This would include publicity through media, banners, telephone directories,business cards, etc. Business cards might sound old fashioned but it is the cheapest mode of publicity for any new business in the local market. The marketing expenditure should grow proportionately with the growth of the business.

The marketing strategies should be revised from time to time and implemented in the most fruitful manner. This would result in a better conversion vis-a-vis the expenses incurred.

A reseller buys a hosting package from a hosting company and then tries to sell it independently. As a reseller you create your own hosting plans you are free to resell each plan under your own brand name and charge your customers whatever you want.

You will have full control over all of your customers’ hosting packages via a central reseller control panel. You can add, remove and modify any of your customer’s domains within your reseller hosting plan directly from this central control panel, called web host manager.

As a reseller you can decide what kinds of services you will sell. You can provide shared hosting, dedicated hosting or co-location web hosting. Start small if you are very new to the concept of host reselling, and then you can expand as you get more and more customers. In that case offering domain registration is an excellent way to make money.

Running your own web hosting reseller company has never been easier. There are tens of thousands of people earning extra money or full time salaries as hosting resellers. To become a reseller, you don’t need to have a lot of technical knowledge, but some sales and internet marketing knowledge is required. Also, you do not require a lot of upfront investment. All you need is a decent computer for your customer accounts management, and a good Internet connection.

Wish to resell Web hosting?

Almost every Web hosting company provides the option to purchase reseller accounts. The reseller hosting packages and the probable incomes seem quite lucrative. Reseller hosting is indeed a good business to do especially if your aim is to earn a stable and recurring income. However, as for any other venture, you should do enough scrutiny about the reseller hosting packages offered by the Web hosting company.

Find out the facilities and features offered with the reseller hosting package. Good hosting companies generally offer both windows reseller plans and unix reseller plans. You should also see what is the amount of space and bandwidth provided. The number of domains and subdomains that are allowed; the databases that are provided and the scripting/programming languages supported should also be adequate to suit various needs of your future customers.

There should also be a scope for up gradation. Extra features should be available (for a small fee) without requiring you to purchase a whole new package for a couple of extra features or facilities which are compatible with the basic package. For example, extra bandwidth may be needed in a particular month which should be available as an add on service.

The utmost essential thing is to see that the Web hosting company with which you intend to have a reseller account, provides 24/7 live technical support. Only then you will be able to support your probable customers and in turn to retain them. A good ‘round the clock’ support will be one of your effective selling features.

Once you have satisfied yourself that the Web hosting company is a reputed and reliable company, plan your marketing strategies and just go ahead with this highly rewarding reseller hosting business.

A reseller buys a hosting package from a hosting company and then sells it in small parts to clients independently. As a reseller you create your own hosting plans you are free to resell each plan under your own brand name and set a price for those plans yourself. You have full control over all of your clients’ hosting packages via a central reseller control panel. You can add, remove and modify any of your clients’ domains within your reseller hosting plan directly from this central control panel, called web host manager.

Start small if you are very new to the concept of web hosting reselling business, and then you can expand as you get more and more customers. To become a reseller, you don’t need to have a lot of technical knowledge, but some sales and internet marketing knowledge is required. Also, you do not require a lot of upfront investment. All you need is a decent computer for your customer accounts management, and a good Internet connection.

A reseller buys hosting package from a hosting company and then tries to sell it independently. As a reseller you are free to resell each plan under your own brand name and charge your customers with the rate as you feel good. As a reseller you can decide what kinds of services you will sell. You can provide shared hosting, dedicated hosting, or co-location hosting. Start small if you are very new to the concept of reselling. To become a reseller, you don’t need to have a lot of technical knowledge, but some sales and internet knowledge is required. All you need is decent computer for your customer accounts management, and a good internet connection.