# Plesk Recipient Checks

URL: https://email-validation.org/docs/guides/plesk/
Updated: 2026-11-26

> Documentation index: https://email-validation.org/llms.txt

A Plesk extension for server administrators. It checks the recipients of the mail your Plesk server's Postfix sends
out for your users, while the message is submitted, and tells you which ones cannot receive mail. By default it only
logs; in reject mode it refuses the recipients whose status you choose. When our API or the extension's service is
slow or down, the mail goes out as usual.

It brings our [Postfix policy service](https://email-validation.org/docs/guides/postfix/) to Plesk, unchanged, with a page under Extensions to
set it up. Download the extension package,
[email-validation-org-1.0.0-1.zip](https://email-validation.org/downloads/plesk/email-validation-org-1.0.0-1.zip), and upload it to Plesk as it
is: do not unpack it. `LICENSE` (MIT) is at its root. It has not been installed on a real Plesk server yet: it was
built from Plesk's documentation and tested against stand-ins, so try it on a test server first.

## What you need

- Plesk Obsidian 18.0.55 or later for Linux, with Postfix as its mail server (not qmail, not Plesk for Windows), on
  a system with systemd 235 or later and Python 3.6 or later.
- An API key from the [API keys page](https://email-validation.org/app/api-keys/) with the permission **Validate addresses**, made for this
  server, with a [daily credit cap](https://email-validation.org/docs/authentication/#limits). One key for the whole server.

## Set it up

1. In Plesk: **Extensions → My Extensions → Upload extension**, and choose the zip. Plesk turns this button off by
   default; an administrator turns it on in `panel.ini` with `extensionUpload = true` in the `[ext-catalog]`
   section. Or install the zip on the server's command line with `plesk bin extension -i <path to the zip>`.
   Installing changes nothing in Postfix yet.
2. Open **Extensions → email-validation.org recipient checks**, paste the key into its password field (the key is
   never typed in a terminal or shown again) and choose:
   - **Log only** (default): every recipient goes out, and each checked one is logged as a hash, never the address.
   - **Reject**: recipients whose status you tick (by default `invalid` and `disposable`; `valid` is never offered)
     are refused at `RCPT TO`, so your user's mail program shows the error at once. A recipient that could not be
     checked is never refused.
   - The API host: global (`https://api.email-validation.org`) or [EU data residency](https://email-validation.org/docs/eu-data-residency/) (`https://api-eu.email-validation.org`).
3. Turn checks on and **Save and apply**. A new key is first checked with one free test address; a key the
   API refuses is not saved.

Try it in reject mode from a mail program that logs in to your server: mail to `no_mailbox@sandbox.email-validation.org` costs
nothing, contacts no mail server ([test addresses](https://email-validation.org/docs/test-addresses/)) and is refused at `RCPT TO`, so nothing is
sent. Never send mail to a test address in log mode, or to one reject mode lets through: the message then goes out,
bounces and hurts your server's sender reputation. Try it on a test server before a production one.

Only the server administrator sees the page; there is no reseller or customer screen. The service's other settings
(limits, cache times, refusal texts) stay in `/etc/ev-policy/ev-policy.conf`, which you edit as root.

## What it checks

Only mail your users send (they logged in, or a program on the server sent it over SMTP; mail handed to the `sendmail`
command, such as PHP's `mail()`, is not checked) to domains your server does not host.
Mail coming in from other servers, and mail between your own domains, is never checked. A Postfix service in
`master.cf` with recipient restrictions of its own is named on the page, since its mail is not checked.

## A failing check never stops mail

The extension adds one entry, first in Postfix's `smtpd_recipient_restrictions`, with Postfix's own settings for a
service that does not answer: wait at most 5 seconds, then carry on. The service answers within 3 seconds or lets the
mail go unchecked. Nothing changes in Postfix until checks are turned on with a key, and no change to `main.cf` stays
unless `postfix check` passes with it. When Plesk rewrites Postfix's configuration (saving mail settings,
`plesk repair mail`, an update), the extension puts its entry back. Turning checks off or removing the extension
gives `main.cf` back exactly as it was.

## What it costs

Each check costs at most 1 credit, as with any [validation request](https://email-validation.org/docs/api/validate/); `unknown` results, errors
and test addresses are free. The service keeps a cache of results (an answer from it costs nothing), a limit per
sender, a daily limit for the whole server and the key's daily credit cap, as the
[Postfix guide](https://email-validation.org/docs/guides/postfix/#costs) explains. Today's count of checks is on the page.

## Privacy

For each outside recipient, only the address is sent to our API, in the body of an HTTPS request, never in a URL and
to no other host. The service's cache holds a keyed hash of each address, in memory only, and its log names
recipients by short hashes, never the address or the key. The key is stored encrypted in Plesk and in a root-only
file. Checking your users' recipients is processing of personal data on their behalf: tell your customers, for
example in your hosting terms, and see our [DPA](https://email-validation.org/legal/dpa/).

## Remove it

**Extensions → the extension → Remove** takes the entry out of `main.cf` first (checked and reloaded), then stops the
service and removes its files, settings and key. If `main.cf` cannot be put back, the removal stops and nothing is
removed. Then revoke the key on the [API keys page](https://email-validation.org/app/api-keys/). Turn checks off before you only disable the
extension: a disabled extension has no page, while the service keeps running as set.

## Licence

The extension is under the MIT licence (`LICENSE` in the zip): you may use, change and share it.

## Related

- [Postfix](https://email-validation.org/docs/guides/postfix/)
- [DirectAdmin](https://email-validation.org/docs/guides/directadmin/)
- [Statuses and reasons](https://email-validation.org/docs/statuses/)

## More on Plesk

- [Plesk integration](https://email-validation.org/integrations/plesk/)
