April
29th 2008
How to Configure Mail Account in cPanel?

Posted under Uncategorized

These are the steps given below for configuring an mail account in cPanel:_  

1) First Login to C-Panel

2) Select “Default Address”

3) Select “Set Default Email Address”

4) Enter a desired default email address
Now just enter a name, (the @yourdomain part is added automatically)

After all these Steps select “Change” and you will see a confirmation box, which displays your new default email address.

No Comments »

April
29th 2008
Backup with cPanel

Posted under Uncategorized

Follow these steps to perform a full backup in cPanel server:-

1) First login into your cPanel with the Username and password

2) Click on BackupcPanel backup, backup website cpanel, cpanel hosting backup.

3) Now click on Generate / Download a Full Backup.

4) Select Home Directory in Backup Destination and enter your email address. others just leave blank and click Generate Backup.

5) Done! You just perform a full backup in CPanel. You will received a notification email once the backup is done.

6) Once the backup is ready, you can FTP into your Account to download the backup file. CPanel locate your backup file in your root directory (/home/username/) and CPanel backup filename normally look like this:-
backup-mm.dd.yyyy_hh-mm-ss_username.tar.gz

Note:You also can FTP your full backup file to your another FTP server (if you have more than 1 server). Just enter the Remote Server (FTP / SCP) which is the IP or domain name, Remote User (FTP / SCP) and Remote Password (FTP / SCP) in the Generate Backup page before you hit Generate backup button, your Backup File will be transfer to the remote server.

No Comments »

April
29th 2008
What is AutoResponder and how to configure it?

Posted under Uncategorized

What is AutoResponder?

It is a feature of cPanel which allows you to send an automatic response to anyone who sends an email to your email account. When an email is sent to your account, the response which you Has been  created by you will be sent back to the person who send you the email.

Note:This feature will not prevent your email from being delivered. This feature can be useful for informing customers that you are on vacation, or providing useful information when a customer submits a question or order.

These are the steps to configure AutoResponder in cPanel:-

1) To Access the Mail Menu, click on the icon above the word Mail on the main screen of your cPanel interface.

2) Now click on AutoResponders to enter it’s maintenance screen.

3) To add a New AutoResponder, click on Add Autoresponder.

4) Enter the email address you wish to send the autoresponses from, the name you wish the message to come from, the subject of the autoresponse email, and the message in the respective fields.

5) If you wish the message to be displayed in HTML format, check the box next to HTML message.

6) Use the drop down box to select the character set you wish the autoresponse to appear in.

7)  Click on Create/Modify to create the autoresponder.

No Comments »

April
29th 2008
Steps to configure Addon Domain

Posted under Uncategorized

Addon Domain is a feature in cpanel These feature provides you to add extra domain name to your hosting account and each domain has its own individual website.As your visitors can access every single addon domain separately and each addon domain will appear as a completely different website.

To add an Addon Domain follow these simple steps:-

1) First log-in to your cPanel.

2)Click on Addon Domains icon and enter the following info:
New Domain Name: the addon domain which you like to add to your account (example: bodhost.com)
Username/directory/subdomain Name: the name of the subfolder of your account to upload the files of that addon domain (example: bodhost)
Password: any password (NOT your main account password), this password will be used to access the special FTP account of that addon domain

Note:Once the domain is added, you should be able to see a folder with the name of your domain (e.g. if your domain is bodhost.com your folder name is going to be bodhost – unless you change your folder name).

No Comments »

April
21st 2008
How to prevent spamming by using cPanel?

Posted under Uncategorized

cPanel servers have a good small file named as antivirus.exim. It is a central filter for the exim mail server which lets you setup all kinds of good filters which helps you to stop spam from coming in and going out of your server.

In this article I will provide you my /etc/antivirus.exim config file which will help you to protect your servers from spammers.First off the default /etc/antivirus.exim has a couple different rule sets in it. The main ones are attachment filters to help stop email viruses from your users. They stop things like .src and .com and .exe attachments.This shows you some custom rules to stop spammers from sending out of your server, you can also use it to stop spam from coming in. I don’t really go into a lot of detail for filtering incoming mail since other applications like Spam Assassin handle that better IMO.

You will need root access to your cPanel server.

First off we need to create a special log file for these filters do this:

touch /var/log/filter.log
chmod 0644 /var/log/filter.log

Now open up the configuration file
vi /etc/antivirus.exim

Simply add this to your existing file, and save the changes and they take effect instantly.

# START
# Filters all incoming an outgoing mail

logfile /var/log/filter.log 0644
## Common Spam
if

# Header Spam
$header_subject: contains “Pharmaceutical”
or $header_subject: contains “Viagra”
or $header_subject: contains “Cialis”
or $header_subject: is “The Ultimate Online Pharmaceutical”
or $header_subject: contains “***SPAM***”
or $header_subject: contains “[SPAM]”

# Body Spam
or $message_body: contains “Cialis”
or $message_body: contains “Viagra”
or $message_body: contains “Leavitra”
or $message_body: contains “St0ck”
or $message_body: contains “Viaagrra”
or $message_body: contains “Cia1iis”
or $message_body: contains “URGENT BUSINESS PROPOSAL”
or $message_body matches “angka[^s]+[net|com|org|biz|info|us|name]+?”
or $message_body matches “v(i|1)agra|vag(i|1)n(a|4)|pen(  i|1)s|asu|seks|l(o|0)l(i|1)ta|dewacolok”

then
# Log Message – SENDS RESPONSE BACK TO SENDER
# SUGGESTED TO LEAVE OFF to prevent fail loops
# and more work for the mail system
#fail text “Message has been rejected because it hasn
#           triggered our central filter.”
logwrite “$tod_log $message_id from $sender_address contained spam keywords”

seen finish
endif

# END
# Filters all incoming an outgoing mail

# START
# All outgoing mail on the server only – what is sent out

#Check forwarders so it doesn’t get blocked
#Forwarders still work =)

## FINANCIAL FAKE SENDERS
## Log all outgoing mail from server that matches rules
logfile /var/log/filter.log 0644
if      (
$received_protocol is “local”          or
$received_protocol is “esmtpa”
) and (
$header_from contains “@citibank.com”  or
$header_from contains “@bankofamerica.com” or
$header_from contains “@wamu.com”      or
$header_from contains “@ebay.com”      or
$header_from contains “@chase.com”     or
$header_from contains “@paypal.com”    or
$header_from contains “@wellsfargo.com” or
$header_from contains “@bankunited.com” or
$header_from contains “@bankerstrust.com” or
$header_from contains “@bankfirst.com” or
$header_from contains “@capitalone.com” or
$header_from contains “@citizensbank.com” or
$header_from contains “@jpmorgan.com” or
$header_from contains “@wachovia.com” or
$header_from contains “@bankone.com” or
$header_from contains “@suntrust.com” or
$header_from contains “@amazon.com” or
$header_from contains “@banksecurity.com” or
$header_from contains “@visa.com” or
$header_from contains “@mastercard.com” or
$header_from contains “@mbna.com”
)
then
logwrite “$tod_log $message_id from $sender_address is fraud”
seen finish
endif

## OTHER FAKE SENDERS SPAM
## Enable this to prevent users using @domain from addresses
## Not recommended since users do use from addresses not on the server
## Log all outgoing mail from server that matches rules
logfile /var/log/filter.log 0644
if      (
$received_protocol is “local”          or
$received_protocol is “esmtpa”
) and (
$header_from contains “@hotmail.com” or
$header_from contains “@yahoo.com” or
$header_from contains “@aol.com”

)
then
logwrite “$tod_log $message_id from $sender_address is forged fake”
seen finish
endif

## KNOWN FAKE PHISHING
### Log all outgoing mail from server that matches rules
logfile /var/log/filter.log 0644
if      (
$received_protocol is “local”          or
$received_protocol is “esmtpa”
) and (
#Paypal
$message_body: contains “Dear valued PayPal member” or
$message_body: contains “Dear valued PayPal customer” or
$message_body: contains “Dear Paypal” or
$message_body: contains “The PayPal Team” or
$message_body: contains “Dear Paypal Customer” or
$message_body: contains “Paypal Account Review Department” or

#Ebay
$message_body: contains “Dear eBay member” or
$message_body: contains “Dear eBay User” or
$message_body: contains “The eBay team” or
$message_body: contains “Dear eBay Community Member” or

#Banks
$message_body: contains “Dear Charter One Customer” or
$message_body: contains “Dear wamu.com customer” or
$message_body: contains “Dear valued Citizens Bank member” or
$message_body: contains “Dear Visa” or
$message_body: contains “Dear Citibank” or
$message_body: contains “Citibank Email” or
$message_body: contains “Dear customer of Chase Bank” or
$message_body: contains “Dear Bank of America customer” or

#ISPs
$message_body: contains “Dear AOL Member” or
$message_body: contains “Dear AOL Customer”

)
then
logwrite “$tod_log $message_id from $sender_address is phishing”
seen finish
endif

# END
# All outgoing mail on the server only – what is sent out

The log file will have the logging format like this:
/var/log/filter.log

2006-05-10 12:05:13 1Fds7S-0002Sa-MV from smooth595@gmail.com contained spam keywords
2006-05-10 14:18:47 1FduCn-0006GV-1r from dayton.nowellu7xn@gmail.com contained spam keywords
2006-04-27 15:44:35 1FZDLn-0005Mo-5z from nobody@ocean.wavepointmedia.com is fraud
2006-04-27 16:37:40 1FZEB9-0002KQ-VP from nobody@ocean.wavepointmedia.com is phishing

Date and time, the Exim message ID, the sender and the section of the filter, like phishing, fraud or spam. You can check the mail message by grepping the exim_mainlog for it like this

grep 1FZEB9-0002KQ-VP /var/log/exim_mainlog

No Comments »

« Prev