Email

From LAMP Host Knowledge Base
Jump to: navigation, search

Email services are provided with all LAMP Host hosting packages. This document will assist you in setting up new email accounts, checking mail (POP, IMAP, or Webmail), and sending mail via SMTP.

Contents

Adding Email Accounts

Add New Email Account

Adding new email accounts is accomplished within the Hosting Manager section of the Control Panel.

  • Log into the Control Panel at lamphost.com using the upper-right Control Panel Login link.
    • Choose Hosting Manager from the Control Panel sidebar.
    • Find the site you want to manage, then click the Site Manager link beside it.
    • You may need to log in with your LAMP Host username/password one more time to authenticate with the Site Manager.
  • Within the Site Manager, click Email & FTP from the left sidebar.
  • Choose Accounts from the submenu. You will be presented with a list of any existing Email accounts for your site.
  • Click the Add Account tab above the account list. Fill out the form and click Add Email Account to complete the new account.
Note: When filling in the name of your account, do not include your domain name. (e.g. for captain@mysite.com, only enter captain)
Note: Your email account can double as an FTP account! See FTP for more information.

Adding an Email Forward

Email forwards allow you to set up an email address that doesn't collect mail but forwards it on to another address. The steps to add an email forward are identical to those above for adding a new account, but with the use of the Forwards link under Email & FTP. In this example image below, captain@mynewsite.com forwards all messages to another email account elsewhere.

Warning: Email Forwards are tricky business in relation to internet spam fighting techniques. While forwards will often 'just work', some mailservers may reject forwards as spam due to a mismatch of the original sender's permitted mailserver IP addresses and your mailserver's IP address. (See also: SPF and Greylisting)

Add New Email Forward

Accessing your Email

Webmail

All email accounts can be accessed using LAMP Host's built-in webmail interface (Squirrelmail). The webmail interface is the fastest way to test the functionality of your new email account. Note, however, that the webmail interface is very basic in nature and not as full-featured as a standalone email client.

To use the webmail interface, simply visit mail.yourdomain.com in your web browser. For example, mynewsite.com's webmail interface could be visited at http://mail.mynewsite.com.
Webmail Interface

Standalone Email Clients

To set up your email address in a standalone email client, we will be setting up two connections -- incoming and outgoing.

Incoming Server

POP vs. IMAP

LAMP Host supports both POP3 and IMAP access to your email. While you can choose whichever option suits you best, we highly recommend setting up your incoming mailserver with an IMAP connection. IMAP is better suited for modern email use, wherein we regularly access our mail from many locations and many devices. Using IMAP allows you to organize your mail in one place (your site's mailserver), access the same mail folders on multiple devices, and save bandwidth in your mobile devices. See the features of both POP and IMAP below

POP3 Incoming Server
  • Your email application sends login information to the mailserver and requests a check for new messages.
  • The mailserver accepts your login, then checks for new messages.
  • Your email application downloads the new messages from the server and stores them on your computer.
  • When the message is finished downloading, it is removed from the mailserver. The only copy of this message is now stored on your computer.
  • Your email application will check for email at scheduled intervals (usually 5, 10 or 15 mins) and repeats process over again.
IMAP Incoming Server
  • Your email application sends login information to the mailserver and establishes a connection between your app and the mailserver.
  • Because IMAP connections keep your computer connected directly to the mailserver, new messages will be immediately pushed from the mailserver to your email application. This eliminates the need to repeat login sequences and interval checking for mail.
  • Your email app downloads a list of new messages from the mailserver and displays them without downloading any full message content.
  • When you click the new message, your email app will proceed to download the message and display it.
  • Even after reading new mail, the message remains stored on the mailserver.
  • With identical settings across all IMAP clients, your organized mail folders can be accessed from any of your devices at any time -- or all at once!
Incoming Mailserver Settings

IMAP
Hostname: mail.yourDomainName.com (e.g. mail.mynewsite.com)
Username: yourFullEmailAddress@yourDomainName.com (e.g., captain@mynewsite.com)
Password: (password used when creating your email address)
Port: 143
TLS Encryption optional (requires acceptance of LAMP Host's certificate)

POP3
Hostname: mail.yourDomainName.com (e.g. mail.mynewsite.com)
Username: yourFullEmailAddress@yourDomainName.com (e.g., captain@mynewsite.com)
Password: (password used when creating your email address)
Port: 110
TLS Encryption optional (requires acceptance of LAMP Host's certificate)

Outgoing Server

The outgoing connection is set up using the SMTP protocol. Your email application connects to the mailserver with your username and password, sends your email to the mailserver, and the mailserver sends the message to the recipient's mailserver for delivery.

Outgoing Mailserver Settings

SMTP
Hostname: mail.yourDomainName.com (e.g. mail.mynewsite.com)
Username: yourFullEmailAddress@yourDomainName.com (e.g., captain@mynewsite.com)
Password: (password used when creating your email address)
Port: 25 or 587 (some internet service providers block port 25)
Important: Enable SMTP Authentication
Note: The SMTP Authentication is often referred to as "My Server Requires Authentication" or "My Server Requires a Username and Password"
TLS Encryption optional (requires acceptance of LAMP Host's certificate)

Spam Filtering

SpamAssassin Options Panel

LAMP Host supports SpamAssassin spam filtering for all incoming mail. SpamAssassin can be set up in one of two configurations: SpamAssassin scanning without further action and SpamAssassin scanning with spam messages filtered to your 'Spam' folder.

Enable SpamAssassin Scanning

To enable SpamAssassin scanning on all incoming mail, log into your email account using the Webmail Interface. In the upper-right of the webmail interface, click the SpamAssassin link. Click the Enable checkbox, then Save Settings.

Note: Enabling scanning alone will not filter spam messages out of your inbox. This simply adds SpamAssassin headers all incoming messages, allowing your email client application to decide what to do with the messages.

Enable SpamAssassin Filtering

Enabling SpamAssassin Filtering alongside basic scanning instructs the mailserver to automatically filter all messages marked as spam by SpamAssassin, placing the messages in your 'Spam' folder. In the SpamAssassin options panel, be sure to enable SpamAssassin scanning, then choose either 1 Day or 1 Week from the Filter drop-down menu. This setting will automatically delete all spam messages after the specified time.

Note: SpamAssassin Filtering is only recommended for those accessing their email via Webmail or IMAP. Due to the nature of POP3, users accessing their mail via POP will not have access to the 'Spam' folder on the server.