How do I set up an out-of-office reply for incoming emails?
You can create an autoresponder.
- Log in to your webmail interface through
- Go to Autoresponder Options at the bottom
- Enter your name in the From field
- Enter the subject you wish the recipient to see in the Subject field
- Choose the character set the email will be sent in from the options in the field.
- If you wish for the email to display html code in web form, click the tick box next to HTML
- Provide a body for your message. For example: "I'm currently out of the office until July 2nd. You can reach me on my mobile phone for any emergencies"
- Click on Setup Autoresponder
Now, all emails sent to your email account will be greeted with this autoresponse until you remove it. (In the same interface, select Delete Autoresponder
to remove the autoresponder.)
I have forgotten the password. How can I receive email?
Contact your website's administrator so they can reset your password.
How can users change their email passwords?
Users can change their password in the mail interface. Log in to the interface at
. Select the Change Password
How do I manually kill the exim mail que?
Where is the exim antivirus config file?
This file is located in
How can I debug problems with an email account?
exim -d2 -bt email@example.com
command to trace the path of the email when sent from the server and see what path it follows.
What do I put in the outgoing section to get my email in Outlook?
Contact your web host for the details for your specific mail account.
firstname.lastname@example.org along with your password.
- Select my server requires authentication because many mail servers require you to use this option.
"A message that you sent could not be delivered to one or more of its recipients." What does this mean?
This message means that the mail meesage you sent could not be delivered. This happens because an address you tried to send the mail to was misspelled or it no longer exists.
Check the rest of the message to see what email address the problem was related to.
How can I add a mail account manually through the shell interface?
to accomplish this.
Why don't I receive any emails?
- Log into
http://example.com/webmail to make sure you have new mail.
- Choose a webmail program to view your inbox.
- If the mail appears in the webmail interface, but not on your computer's mail application (outlook, outlook express, mail, etc), you should verify that the settings you use to check your email are correct.
- The settings should resemble
- Enable My Server requires Authentication in Outlook because many servers require this option.
If you still cannot receive mail, check with your web host to verify your settings.
Can a user to access the webmail programs without the cPanel control panel?
Yes. Users can go to
with your domain name) to login directly with the email account and password.
Can I access my e-mail from a remote location with another PC?
Yes, you may access your email from any computer with a web browser and an Internet connection. Typically you can access the webmail at
, if you replace
with your website's actual domain name.
The normal login is your email address and password, so
and "yourpassword". If that does not work, contact your hosting company for special instructions.
Why won't my mail go to a specific domain?
There are may things that could be wrong. Here's where to start:
- Check to ensure that the Mx entry for the domain points to the domain.
- Check to make sure the domain resolves.
- Check the exim logs for errors or delivery of the message:
- Was the domain's mail delivered to another server? If so, does the domain's MX record point to that server?
How do I block unsolicited mails ?
You can use BoxTrapper
How can I change the mail port 25 to another port number?
- Go to the Service Manager in WHM
- Enable exim on another port
- Choose the port number.
Why is Neomail not available on my new cPanel server?
All new cPanel installations use Maildir format mailboxes by default instead of the previous mbox format. Neomail is no longer supported with Maildir.
When I pull mail from cPanel to my mail client, why does the mail remain marked as unread in cPanel's webmail?
If you use POP3 protocol to download email, it will not tell the server that your mail has been read. We suggest that you switch to IMAP for email if your host uses IMAP.
How can I whitelist an entire domain in BoxTrapper?
Run the following script:
- For example, if the domain you wish to allow is
mydomain.com, it would look like:
How can I forward my emails without a copy in my account?
If you simply wish to forward all email for an address to another account, do not create an email account for that address, just a forwarder.
- For example, if you wish to have all mail sent to
email@example.com to be delivered to
firstname.lastname@example.org, but you do not want any emails saved in
email@example.com='s account, add a forwarder from =firstname.lastname@example.org to
email@example.com and do not create the
firstname.lastname@example.org email account.
Can I forward mail from 1 address to 2 or more addresses?
Yes. To forward email messages to multiple addresses, you will need to create email forwarders
for each destination address.
For example, if you want
to forward its mail to both
, you will need to add the following forwarders:
You can do this with the Forwarders
feature in cPanel.
Please note that you do not actually have to create an email account for
, unless you want to also be able to check that account's mail messages as
Can I reconfigure access to webmail from
You can do this to allow your users to access
- Create a subdomain in cPanel:
- Click on Manage Redirection.
Now when you go to
you'll be presented with the webmail login screen.
Why does Mailman give me a 500 Error when I try to manage a list?
To avoid this:
/usr/local/apache/conf/htpd.conf and move the vhost it creates to be the first vhost.
- The vhost it creates is usually the last one in the file.
- Restart apache with the
/etc/rc.d/init.d/httpd restart script.
- Run the
Why does Mailman give the error: Mailman wants UID 99 when getting -1?
To avoid this, run the
script. This script should detect and fix it for you automatically.
If it does not work:
- Make sure Group is set to nobody.
/scripts/upcp to rebuild Mailman with the correct UID/GID.
What Anti-Spam functionality does cPanel/WHM offer?
cPanel/WHM is bundled with SpamAssassin and BoxTrapper at no additional cost.
BoxTrapper is a challenge-response system where incoming email from an email address that has not yet been white-listed must reply to an initial email to verify that it is not a piece of spam.
- Email addresses can be manually white- or black -listed on a server-wide level, as well as on an individual email account basis.
cPanel also allows users to set up powerful custom mail filtering rules.
Does cPanel/WHM support SPF?
SPF is compiled in Exim, but not enabled by default. You can enable it with the Advanced Exim Configuration Editor. Follow the instructions available at http://www.exim.org/exim-html-4.50/doc/html/FAQ_7.html#TOC272
You can access the Advanced Exim Configuration Editor
in WHM (Home >> Service Configuration >> Exim Configuration
). On the page that appears, click on Advanced Editor
tab at the top.
Does cPanel/WHM support SMTP AUTH (Mail Authentication)?
Yes. In fact, this functionality is enabled by default.
What software does cPanel/WHM use for its mail servers (SMTP, POP, IMAP)?
Exim is the Mail Transfer Agent (MTA) that cPanel/WHM uses. Courier POP and Courier IMAP are used to handle POP and IMAP respectively.
Does cPanel/WHM support RBLs?
Yes, RBLs can be added in the Advanced Exim Configuration Editor
in the WHM interface.
You can access this functionality by logging into WHM, going to the Service Configuration
section then clicking on Exim Configuration Editor.
On the page that appears, click on the Advanced Editor
Note that this is how you should edit your Exim configuration. Editing it manually outside of the WHM interface will likely result in it being overwritten the next time you perform a cPanel/WHM update.
Can I set the domain quota for emails at the WHM level, to control the data transfer?
You can set the default number of emails per hour all domain can send using this Tweak Settings
option in WHM:
The maximum each domain can send out per hour (0 is unlimited):
In WHM 11.28, you can also use the Modify an Account
screen to set the Max Relayed mails/hour/domain
, the default you set in Tweak Settings
, or a number you select.
How can I flush the Exim queue from the shell?
To flush the queue, execute the following:
To flush and enable debugging:
How can I add email accounts?
You can add email accounts in the Mail
section of your cPanel interface. Go to Mail >> Email Accounts
, and then fill out the appropriate fields and click on Create
How can I install CGI email through cPanel?
Click on CGI email
under cPanel >> CGI Center
. Then, follow these instructions to configure CGI email: http://web.mit.edu/wwwdev/cgiemail/webmaster.html#test
Why doesn't SpamAssassin work in cPanel 11?
Make sure that you are using Perl 5.8.8, which is recommended with cPanel 11.
Prior to upgrading Perl, it is a good idea to ensure that each module gets carried over to the update Perl version using the "autobundle" CPAN feature. You will need to execute this command via root in SSH:
perl -MCPAN -e 'autobundle'
Once this is complete, you should have the the following outputted before returning to the shell:
'Wrote bundle file /home/.cpan/Bundle/Snapshot_2007_08_16_00.pm'
Make a note of the filename before proceeding with the update.
To update to Perl 5.8.8 on Linux based servers:
tar -zxf perl588installer.tar.gz
To update to Perl 5.8.8 on FreeBSD® based servers:
make && make install
Once the update is complete, you can restore all the previously installed modules from the CPAN bundle that was created by executing:
perl -MCPAN -e 'install Bundle::Snapshot_2007_08_16_00'
Make sure that you replace the bundle name with the one that was generated earlier.
We should now make sure that all modules required by cPanel 11 are installed and restart cPanel:
Is there a way to let the user know that they have sent email to a wrong address?
Yes. The default address feature in cPanel can alert a user that they have sent an email to an invalid address. Choose the option for Discard with error to sender (at SMTP time)
, and then place the message you wish the mail sender to see in the blank field next to
Failure Message (seen by sender):
: This will only work for people who send email to your domain. Each domain on the Internet has different configuration options so sending mail to a wrong address on a different domain may return a different error message.
Can I forward all received email to a file?
To do this, you will need to create an email forwarder in cPanel. If you wish for the messages to only be sent to the file and not stored in a mailbox, do not create an email address, just create a forwarder with the name of the address.
When creating the forwarder, choose the pipe to a program
option. Then put in the path of the file/program you wish to send the mail to.
Where does mail for root get forwarded to?
The email address that receives mail for the root user is defined in /root/.forward
The format of the file is a single email address on a line, for example, email@example.com.
How can I send email from SMTP and PHP?
Here's a third party article that discusses using PHP and SMTP to send email: http://email.about.com/od/emailprogrammingtips/qt/et073006.htm
How to authorize a remote IP to relay throught Exim:
- Create a file with your host IP or IPs
- Name it something like /etc/privaterelay.
/etc/exim.conf, change the first line below to the second.
- hostlist relay_hosts = lsearch;/etc/relayhosts : \
- hostlist relay_hosts = lsearch;/etc/relayhosts : \
localhost : lsearch;/etc/privaterelay
Why do I see two transports in the log when I have spamassasin enabled?
When spamassasin is enabled, the message is reinjected back into the mail queue so it can be passed though the system filters/user filters. You will only get one delivery to your inbox, but exim will process the message twice.
The Address Book in Horde returns an error "There was an error adding this object" ?
SSH to the server as root. Type `mysql` to get the mysql prompt and cut and paste the following: CREATE TABLE horde.turba_objects (object_id varchar(32) PRIMARY KEY,owner_id varchar(255),object_name varchar(255),object_alias varchar(32),object_email varchar(255),object_homeAddress varchar(255),object_workAddress varchar(255),object_homePhone varchar(25),object_workPhone varchar(25),object_cellPhone varchar(25),object_fax varchar(25),object_title varchar(32), object_company varchar(32),object_notes text);
After that has been entered the address book (turba objects) should work again.
When trying to add a Mailing List in cPanel, I get the error No -e allowed in setuid scripts.
Chances are the file
has the wrong ownership.
To set it correctly:
- chown root:wheel /usr/local/cpanel/bin/cpwrap
How do I setup my mail to use SSL?
Set your mail server to the host name for SMTP/POP3/IMAP (instead of mail.domain.com) and then make sure that your mail client is using the following ports for SSL:
- SMTP - 465
- POP3 - 995
- IMAP - 993
As always you want to make sure that your account name is
) and that you are using authentication on your SMTP server.