PLESK 7.5 RELOADED > Administering Domains

Managing Mail

Using Plesk, you can create and manage e-mail boxes for individuals within a domain, or your customers (domain owners) can manage the e-mail accounts via domain self-administration. You can use the following e-mail administration functions:

  • Create, edit or delete e-mail boxes and set individual mailbox quotas.
  • Allow mail user access to the control panel.
  • Use several mail aliases for a single mail name.
  • Set up redirection of mail addressed to the mail name to another e-mail address.
  • Enable the mail name to function as a mail group used for forwarding mail to a number of e-mail addresses at once.
  • Manage mail group membership for the mail name
  • Set up autoresponders: automatic replies to e-mail sent to the mail name.
  • Configure the integrated anti-spam software for filtering incoming mail.
  • Configure the antivirus filter.

Managing Mail Names

When you create e-mail accounts for domain administrators, you are creating e-mail boxes, which will be accessible via POP3 or IMAP protocols. Mailbox creation is as easy as typing in a name and password. Click the Mail icon at the Domain administration page to access the Mail Names Management functions:

From this page, you can enable/disable the mail service for the domain. To this effect, click the Enable or Disable icon respectively.

You can allow/disallow access from the control panel to web-based mail interface (Webmail), and specify the settings for handling incoming mail addressed to the users not existing at this domain:

  1. Click Preferences

  2. For the mail to nonexistent users, you can choose any of the following options: Bounce with message, Forward to address, or Reject.

    • Select the Bounce with message option to have the mail returned to sender with the bounce message you specify.

    • Select the Forward to address option to have the mail forwarded to the address you specify.

    • Select the Reject option to have the mail rejected during SMTP session without queueing for delivery. This option can save bandwidth and server resources.

  3. If you wish to use a web-interface for working with mailboxes in this domain, select the WebMail checkbox. You will then be able to access the web interface by specifying the URL: webmail.domain_name.tld in the web browser, or by clicking the WebMail icon on the Mail Name Properties screen.

  4. Click OK to submit the settings.

To create a new mail name, follow these steps:

  1. Click Add New Mail Name. The mail name creation page will open:

  2. Enter the desired name into the Mail name field and specify a password that will also be used by the mail user to access the control panel.

  3. To allow the mail user access to the control panel, click the Control panel access checkbox, and select the interface language and skin for the mail user's sessions. Check the Allow multiple sessions checkbox to allow multiple sessions under the same mail user's login. For the mail user's interface, you can also set a number of list items per page, and set the limit on size of interface buttons.

  4. To create a mailbox, select the Mailbox checkbox, specify the mailbox quota if desired, and enable the mail filtering using the Enable spam filtering checkbox if you want the mail to be filtered by server.

  5. Click OK to submit all changes.

After the mail name is created, it appears on the Mail Names list, accompanied by seven icons:

  • indicates whether mail user is allowed to access the control panel for managing his/her account,

  • represents a mailbox,

  • represents a mail redirect

  • represents a mail group

  • represents a mail autoresponder

  • represents spam filtering

  • represents antivirus filtering

These icons are displayed in gray when the corresponding services are not active, and appear in color when active. To edit mail name account settings select a mail name or click on an icon corresponding to the service you wish to configure.

To switch to displaying the mail aliases for the mail names in the list, click the Show Aliases button, to hide them use the Hide Aliases button.

To remove one or several mail names, check the checkboxes in the mail names list, corresponding to the mail names you wish to remove and click Remove Selected.

Enabling Mail Services

When you click on a mail name, you access the mail name properties page, which allows setting up any combination of services for a mail name: mail alias, mailbox, redirect, mail group, autoresponder, spam filter, and antivirus filtering.

  1. Click the Mail icon at the Domain administration page. The Mail Names page appears.

  2. Click on the mail name you wish to edit. This takes you to the Mail Name Properties page:

  3. To set up or configure a mail service for the mail name, click on a corresponding icon (button) in the Tools group or select a shortcut in the Info group.

    The Mail Aliases area lists the aliases created for the mail name. To add new mail alias, click the Add New Mail Alias icon.

    To edit an alias, click on its title. To remove an alias, select it using a corresponding checkbox, and click Remove Selected.

  4. To edit the mail name preferences, click Preferences.

  5. To edit mailbox quota and enable spam filtering, click Mailbox.

  6. To set up mail forwarding - a redirect, click Redirect.

  7. To enable a mail group service for the mail name and add new members to the mail group, click Mail Group.

  8. To manage mail groups membership, click Groups.

  9. To manage autoresponders and autoresponder attachment files, click Autoresponders.

  10. To manage personal spam filtering settings, click Spam Filter.

  11. To manage antivirus settings, click Dr.Web.

  12. To manage your mail box via Webmail interface, click Webmail.

Mailbox

Using this function, you can set up mailbox quota and enable spam filtering:

  1. When on the mail name properties page, click on the Mailbox icon

  2. To enable the mailbox, select the Mailbox checkbox.

  3. To set up the mailbox quota, select the Default for domain radio button to set the limit to the maximum available for the given domain, or select Enter size and enter the quota you wish to set, in Kilobytes, for the given mailbox. Note that this limit may not exceed the default set for the domain.

  4. Select the Enable spam filtering checkbox, to enable mail filtering based on your personal settings.

  5. Click OK to submit your changes.

Once enabled, the mailbox icon on the Mail Names page appears in color.

Managing Mail Redirects

You can forward or redirect email from one mailbox to another email address. By creating an email redirect or alias, messages are sent to a different email box without requiring the sender to know the new address. Email can be redirected to an address outside the domain. Use this redirect feature to:

  • Temporarily forward mail when the person who owns the mailbox is unavailable.
  • Send mail to a new mailbox if a mailbox user is leaving the company.
  • Forward mail to a new account, which will eventually replace an old mailbox. (e.g. someone is changing their name but hasn't had time to inform all correspondents of the change yet).

In order to enable and set a redirect for the mail name, follow these steps:

  1. On the mail name properties page, click the Redirect icon.

  2. Select the Redirect checkbox, and in the text box to the right, enter the appropriate address that you wish mail for this mail name to be forwarded to.

  3. Click OK.

Once enabled, the Redirects icon on the Mail Names page appears in color.

Managing Mail Groups

A mail group is a list of several email accounts that are grouped together under one email address. This feature enables sending one message to multiple recipients at once. For example, if you want to send the same message to five people in the technical support department, you can create a "Support" email group that includes the individual email addresses for all five staff members. When someone sends a message to mail group "Support", he/she only types and sends one message, but copies of the message go to all five individuals. The sender does not need to know the addresses for all five individuals, just the group name. Essentially, mail groups help save time and effort.

In order to enable and set up a mail group for the mail name, follow these steps:

  1. On the mail name properties page, click the Mail Group icon.

  2. Before enabling the mail group, you need to add at least one mail group member. Click Add New Member.

  3. Enter the desired external e-mail address into the E-mail input field and/or select one or more of the listed mail name accounts using checkboxes, and click OK.

    NOTE

    Group members can consist of either external mail addresses (those not belonging to this domain) or accounts, which exist within the domain.

  4. The selected addresses will appear in the list of Mail group members on the Mail Name Properties page.

  5. To delete one or several group members, select the corresponding checkbox and click Remove Selected.

Once enabled, the mail group icon on the Mail Names page appears in color.

Clicking on the Groups button you will access the Mail Groups Management page.

All mail groups created for the domain are displayed on that page and two lists are presented: the list of mail groups you are currently subscribed to is located on the right side, and the list of available mail groups is on the left.

  • If you wish to subscribe to a new mail group, select the desired group from the list of available mail groups, and click Add>>.

  • If you wish to unsubscribe from a mail group, select it in the right side list, and click <<Remove.

  • Click Up Level to return to the Mail Name properties page.

Managing Mail Autoresponders

A mail autoresponder is an automatic reply that is sent out from a given mail name when incoming mail is received at that address. Autoresponders can include both a text message and attached files. This mail function is often used on mail accounts for individuals who need an automated response because they are away, or are unable to check their mail for any number of reasons. In the autoresponders management section you can upload and include attachment files for your autoresponders, enable the autoresponder function for a given mail name, and access the list of autoresponders.

Attachment files repository

For the autoresponder feature you have the option to include file attachments. To include a file to be selectable within the set up of autoresponders for the given mail name, use the Attachment Files icon available from the Autoresponders management page. The Attachment files repository page opens. It allows you to upload files and remove them.

To upload a file, specify the path and filename in the File name field, and click Send File. The attachment will then appear in the Repository.

These files will be available for any autoresponders that are set up for the given mail name. To delete one or more files, select the checkboxes related to the files you wish to remove, and click Remove Selected button.

In order to enable and set up a mail autoresponder for the given mail name, follow these steps:

  1. On the mail name properties page, click the Autoresponders icon. Autoresponders management page will open.

  2. Click Add New Autoresponder. The autoresponder creation/editing page will open.

  3. Enter the name into the Autoresponder name field.

  4. You can enable forwarding of incoming messages that match the autoresponder conditions. To do this, specify an e-mail address in the appropriate input box.

  5. In the Conditions group, you can determine whether a given autoresponder should respond when specific words are found in the subject line or body of the incoming e-mail message, or you can set it to respond to any e-mail messages directed at this mail name.

  6. By default, the subject line of incoming e-mail will be inserted into the automated reply. To use a custom subject, type it into the Reply subject input box.

  7. In the Return address field, you can specify the return address that will be set up in the autoresponder message. This is done for the messages not to be directed to the autoresponder itself, when users use the "Reply to the message" function in their mail client software.

  8. You have an option to specify the autoresponder message format (plain text or HTML) and encoding (UTF-8 is recommended). If you use HTML tags in your auto-reply message, you should select the HTML option.

  9. You can enter text to be included into the autoresponder in the Reply with text field.

  10. Using the Add New Attachment button, you can attach files to be included in the autoresponder. These files must be uploaded into the Repository on the Mail Names Properties page. Select the uploaded file from the Attach files list, and use the Add New Attachment button to attach the file to the autoresponder. To remove an attached file, select the corresponding checkbox, and click Remove Selected.

  11. You can limit the number of automated responses per day to the same e-mail address. To do this, enter the desired number in the respective input box. The default setting is to respond not more than 10 times in one day to the same e-mail address.

  12. You can define the number of unique addresses that the autoresponder will remember. Enter the desired number in the Store up to: field. This memory enables the system to control response frequency. In the event of extremely high mail volume, to protect server performance, you can limit the address memory of the system database.

  13. Click OK to submit all changes.

  14. Click the Enable buton to enable the autoresponder service.

Managing the spam mail filter settings

Plesk allows for setting up and using black lists and white lists for filtering mail at the server level as well as at the user level.

The user level spam filter functionality is available for each specific mail name configured as a mailbox. That means that the Mailbox functionality should be activated for the selected mail name.

If the spam filtering functionality is enabled for users by the Administrator, it should first be activated. To do that:

  1. Go to the selected Mailbox management page (select the mail name and click the Mailbox icon, Tools group);

  2. Check the Enable spam filtering checkbox;

  3. Click OK to save changes.

You will see the Spam Filter icon become active (displayed in color), meaning that the spam filtering functionality is now available for this mail name. If the spam filtering functionality was not enabled for the users by the Administrator, the Enable spam filtering checkbox at the Mailbox management page will be inactive and the Spam Filter icon will also be inactive (displayed in gray).

Click on the Spam Filter icon to access the Spam filter configuration page, where you can set the filtering rules for the selected mail name.

If the Administrator has set up and activated mail filter at the server level, all the incoming mail will be processed with it before it reaches the users’ mailboxes. You can choose to use or, on the contrary, not use the server wide settings for your mail. If you decide not to use the server wide settings, those will be disregarded and your mail will be processed only according to the configuration you set at the user level.

  1. To use (not use) the server wide mail filtering settings, check (uncheck) the Use server wide settings checkbox;

  2. Click Set to save the changes.

In order to recognize a mail message as spam it needs to score a certain amount of hits. The hits are scored according to the internal SpamAssassin settings and based on the contents of the mail messages and its subject. You can change the sensitivity of the spam filter by varying the amount of hits required for marking a message as spam. The more hits are required the less sensitive the filter is, and vice versa – the less hits are required the more sensitive the filter is.

  1. The default amount of hits is set to 7. If you wish to change this value, click into the Hits required for spam input box and type in the new value.

  2. Click Set to save the changes.

You can choose what to do with the mail recognized as spam: you can choose to either delete it, or to mark it as spam and leave it in the mailbox.

  1. Select the Delete radio-button to delete mail recognized as spam, or the Mark as spam and store in mailbox radio-button to leave the mail marked as spam in your mailbox;

  2. Click Set to save the changes.

If you decide to leave the mail recognized as spam in your mailbox such messages will be marked correspondingly so that they can be easily visually identified. In particular, a special string is added to the subject of the message (e.g., by default the string *****SPAM***** will be added to the spam messages subjects). You can change this string (or tag) to whatever you like, or even to disable this option.

  1. In order to activate/deactivate the option of modifying the spam messages subject, check the Modify spam mail subject;

  2. To change the text of the string, click into the input field and enter the new text;

  3. Click Set to save the changes.

Black list is a list of E-mail addresses, which are automatically considered as sending unsolicited mail – spam. Therefore, all messages coming from the E-mail addresses that match those specified in the black list will automatically be marked as spam.

You can add to the black list either exact E-mail addresses or patters, using wildcards (‘*’, e.g.: entry ‘*@spammers.online.com will cause all messages coming from the domain spammers.online.com be marked as spam, regardless of what the exact mail name is).

  1. Enter the E-mail address or pattern into the Email pattern input field;

  2. Click Add to add the new entry to the black list, the new entry will appear in the user’s black list section.

The Administrator’s black list section contains the server wide black list entries that were added by the Administrator. If you chose to use the server wide filtering settings (the Use server wide settings checkbox checked) you may wish to edit this section by removing unnecessary entries. To do that, just select the Administrator’s black list entry and click Remove.

White list contains E-mail addresses, which are automatically considered as trustworthy. Therefore, all messages coming from the E-mail addresses that match those specified in the white list will never be marked as spam.

You can add to the white list either exact E-mail addresses or patters, using wildcards (‘*’, e.g.: entry ‘*@your-company.com will cause all messages coming from the domain your-company.com not be marked as spam, regardless of the content of a message).

  1. Enter the E-mail address or pattern into the Email pattern input field;

  2. Click Add to add the new entry to the white list, the new entry will appear in the user’s white list section.

The Administrator’s white list section contains the server wide white list entries that were added by the Administrator. If you chose to use the server wide filtering settings (the Use server wide settings checkbox checked) you may wish to edit this section by removing unnecessary entries. To do that, just select the Administrator’s white list entry and click Remove.

You can train your mail filters on actual messages you receive. Click the Training icon in the Tools group to access the Spam filter training page. The headers for all mail that comes to your mailbox will are listed here. Each such header you can select to mark as spam, ham (good mail) or forget.

  • Marking a header as spam will result in recognition of same or similar mail as spam;

  • Marking a header as ham will result in recognition of same or similar mail as not spam;

  • Option forget clears the database of any rules (spam or ham) previously set for this header.

Once you select one of the options, appropriate rules will be added to the spam filter database, which will allow in the future to recognize messages similar to the ones it was trained on, and make decisions regarding whether a message should be considered spam or not based on that.

Use the Clear button if you want to clear the spam filter’s database.

Click OK to save the changes and return to the Spam Filter page.

This concludes setting up the user level spam mail filter. All the incoming mail for the selected mail name will be processed according to these settings.

Enabling Antivirus Filtering For Mailboxes

For a user’s mailbox you can enable the antivirus scanner to work in one of the following modes: checking incoming and outgoing mail, checking outgoing mail only, and checking only incoming mail.

When antivirus scanning is enabled, all e-mail messages containing viruses are intercepted.

To enable antivirus scanning for a mailbox, follow these steps:

  1. On the mail name properties page click Dr.Web. The antivirus preferences page will appear:

  2. Select a required scanning mode and click OK.

Performing Group Operations on Mail Names

In cases when you need to introduce certain similar changes to several mail name accounts, you can use the Group Operations function, made available to simplify administration of multiple accounts. Using this feature you can, for instance, select a number of mail names, and enable antivirus protection for all of them - all that within a single operation, without having to select each mail name independently and edit its settings.

To perform group operations on mail names, follow these steps:

  1. In the list of mail names, select the mail names, whose accounts you wish to modify by checking the corresponding checkboxes.

  2. Click the Group Operations icon. The Group Operations page will appear.

  3. To enable a specific mail service, select an appropriate radio-button in the Enable column.

    To Disable a service, select the radio button in the Disable column.

    Use the Do not change option to leave as is.

  4. Click OK to apply the changes to the selected mail names.


to top