# Exim and cPanel Integration for Email Validation

URL: https://email-validation.org/integrations/exim/
Updated: 2026-11-29

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

A small helper daemon and three include files let an Exim server check the outside recipients of the mail your users send, while it is being submitted. Out of the box it only logs each result; tagging and refusing are yours to turn on, and when a check cannot be made in time the mail goes out unchecked.

[Read the full setup guide](https://email-validation.org/docs/guides/exim/) [Get an API key](https://email-validation.org/signin/)

- Status: Setup guide
- One zip: the helper, the Exim includes and a WHM plugin

**ev-exim-1.0.0.zip** as root

Terminal

```bash
# plain Exim: check the helper's settings, then Exim's
python3 -I /usr/local/lib/ev-helper/ev_helper.py --check-config
exim -bV

# cPanel and WHM: in the unpacked ev-exim/ folder
sh whm/install.sh
```

## At a glance.

- **Status**: **Setup guide.** Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
- **For**: Hosting providers and mail administrators who run Exim, on its own or under cPanel and WHM, and want to see, and if they choose stop, the mail their users send to addresses that do not exist.
- **You need**: An Exim server you are root on, with Python 3 (standard library only) and systemd for the helper, or a cPanel server with WHM, and an [API key](https://email-validation.org/app/api-keys/) made for it, with a [daily credit cap](https://email-validation.org/docs/authentication/#limits).
- **Costs**: 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org and, in a bulk list, repeats of an address (charged once).
- **Full guide**: [Read the full setup guide](https://email-validation.org/docs/guides/exim/)

## Typical uses.

- **Log first**: Each checked recipient gets an Exim log line with its status and reason, so you see which of your users mail dead addresses before you change anything.
- **Refuse dead recipients**: Reject mode refuses a recipient whose result is invalid with a reason you list. Your user sees it in their mail program at once, and the other recipients still get the message.
- **Guard your sending reputation**: Mailbox providers count mail to addresses that do not exist against a server. Turn on reject mode when keeping that mail from leaving matters more to you than the chance of a wrong refusal.

## Set it up. 5 steps.

The short version of the [full setup guide](https://email-validation.org/docs/guides/exim/), which stays the reference when a step does not match what you see.

1. **Download the zip**: There is no package repository or cPanel Marketplace listing yet: download ev-exim-1.0.0.zip from the guide, which unpacks into a folder ev-exim/. Create an API key for the server with Validate addresses and a daily credit cap.
2. **On cPanel, install the plugin**: cPanel rebuilds Exim’s configuration, so run `sh whm/install.sh` as root, open WHM, Plugins, email-validation.org recipient checks, paste the key and choose Save and test.
3. **On plain Exim, start the helper**: Put the key in `/etc/ev-helper/api-key`, readable by root only, copy the helper and its settings file into place, then install its systemd socket and service and enable the socket.
4. **Add the three includes**: Include `ev-macros.conf` before `begin acl` and `ev-rcpt.acl` at the top of the RCPT ACL; `ev-data.acl` in the DATA ACL is needed only for the optional header.
5. **Test, then reload**: Run `exim -bV`, try `RCPT TO:<no_mailbox@sandbox.email-validation.org>` in an `exim -bh 127.0.0.1` session, then reload Exim. Test addresses cost nothing.

## Good to know.

- Try it on a test server before you add it to a production mail server.
- Only outbound mail is checked. Mail arriving for your own mailboxes, and messages submitted with the sendmail command, are not.
- A failing check never stops mail (each recipient waits a few seconds at most): when the API has not answered within a few seconds, or the helper is down, the recipient is unchecked and the mail goes out. A slow check finishes in the background for the next message.
- Its own cache, a limit per sender and a daily limit for the whole server bound what it spends, on top of the key’s daily credit cap. An answer from the cache costs nothing.
- It sends only each outside recipient’s address, never the message, and its cache holds keyed hashes, not addresses. `region = eu` sends the checks to our [EU host](https://email-validation.org/docs/eu-data-residency/).
- The optional X-EV-Recipient-Status header reaches every copy of the message, Bcc recipients included, so use it only for your own filters and remove it in every transport.

## Related

- [The full Exim and cPanel setup guide](https://email-validation.org/docs/guides/exim/)
- [The WHM plugin for cPanel servers](https://email-validation.org/docs/guides/exim/#cpanel)
- [Log, tag and reject modes](https://email-validation.org/docs/guides/exim/#modes)
- [The limits that bound what it spends](https://email-validation.org/docs/guides/exim/#costs)
- [Plesk integration](https://email-validation.org/integrations/plesk/)
- [Postfix integration](https://email-validation.org/integrations/postfix/)
- [rspamd integration](https://email-validation.org/integrations/rspamd/)
- [DirectAdmin integration](https://email-validation.org/integrations/directadmin/)
- [All integrations](https://email-validation.org/integrations/)
