Protection from Outbound Spam

If your hosting offerings include mail services, keep in mind that your mail server can be used for malicious purposes, such as sending spam. Outgoing spam can cause an increased load on the server and complaints from recipients. What’s more important, your server IP addresses might be added to public black lists, such as Spamhaus or OpenBL lists.

To prevent spam being sent from your server, Plesk offers a tool that controls the sending of email messages. This tool gathers statistics about outgoing messages and prevents mail being sent when specified limits are exceeded. You can specify limits on outgoing mail at the following levels: mail server, service plan, subscription, domain, and mailbox.

Administrators can prevent outgoing spam by using limits on the number of outgoing email messages per hour. In addition, the administrator can easily determine the exact source of possible spam with the help of reports and notifications.

Types of Threats

Plesk introduces different limits for prevention of the following different types of threats:

How to Set Up Protection

To protect against spam by limiting outgoing mail, follow the steps:

  1. Switch on limitations on outgoing mail in the mail server settings at Tools & Settings > Mail Server Settings. See Configuring Server-Wide Mail Settings.


    Switch_limitations

  2. Remove all IP addresses and networks from the mail server's white list (located in Plesk for Linux in Tools & Settings > Mail Server Settings > White List tab, in Plesk for Windows in Tools & Settings > Mail Server Settings > Relay options > Use no relay restrictions for the following networks). The limits on outgoing mail will not work for mail senders whose IP addresses are in the white list.

    Note: Starting with Plesk 12, the 127.0.0.0/8 network is no longer added to the whitelist by default. This is necessary for outbound spam protection to function correctly. Not having localhost whitelisted prevents PHP scripts from sending mail on Windows. Other scripting engines may be affected as well. Also, Mailman will not be able to send emails to external email addresses.

  3. (Optional) Set the period of time for gathering statistics used for displaying reports. The same period is used for determining the outgoing mail status, which is displayed on the Plesk UI Home page. See Configuring Server-Wide Mail Settings.
  4. (Optional) Set the period of time for notifications about outgoing mail. See Notifications About Attempts to Exceed Limits.
  5. (Optional) Change the limits that are used by default on Plesk objects. See Custom Limits.
  6. Analyze the statistics on attempts to exceed limits at Tools & Settings > Outgoing Mail Control. See Statistics and Reports.

    Note: The Outgoing Mail Control link is displayed only if the limitations are switched on in the mail server settings.

    Outgoing_Mail_control

Limitations of the Protection

Some kinds of outgoing messages cannot be counted in Outgoing Mail Control due to mail server or mailing lists software restrictions. This might lead to Plesk not blocking excessive outgoing mail. Therefore, be aware of the limitations in the following areas:

Protection from Outbound Spam

Linux

Windows

All mail servers supported by Plesk

MailEnable

SmarterMail

IceWarp

Limiting outgoing mail for a mailbox

Yes

No

Yes

No

Limiting outgoing mail for a domain

Yes

Yes

Yes

No

Limiting outgoing mail for a subscription

Yes

Yes

No

No

Tracking of mail sent by scripts

Yes

No

No

No

Mail Forwarding to Mailboxes on Local or Remote Servers

Linux

Windows

All mail servers supported by Plesk

MailEnable

SmarterMail

IceWarp

Forwarded messages to local recipients are counted

Yes

No

No

No

Forwarded messages to remote recipients are counted

Yes

No

Yes

No

Next in this section:

Custom Limits

How Limits Work

Notifications About Attempts to Exceed Limits

Statistics and Reports