Mail servers and panels

CyberPanel email validation integration

CyberPanel’s mail server is Postfix, so our Postfix policy service checks the recipients of the mail your users send, while it is being submitted. It only logs each result until you turn refusing on, and when a check cannot be made in time the mail goes out as usual.

Read the full setup guideGet an API key

  • Setup guide
  • CyberPanel’s paths, ports and mail domains, step by step

/etc/postfix/main.cffirst in the list

Postfix
smtpd_recipient_restrictions =
    check_policy_service { unix:private/ev-policy, timeout=5s, default_action=DUNNO, try_limit=1 }
    permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

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
Server administrators who run CyberPanel’s mail server and want to see, and if they choose stop, the mail their users send to addresses that do not exist.
You need
A CyberPanel server you are root on, with its mail server, Postfix 3.0 or later and Python 3, and an API key made for it, with a daily credit cap.
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, addresses on reserved domains such as example.com and, in a bulk list, repeats of an address (charged once).
Full guide
Read the full setup guide

Typical uses.

  • Log first

    Each checked recipient gets a log line with its status and reason, as a hash, so you see which users mail dead addresses before you change anything.

  • Refuse dead recipients

    Reject mode refuses the statuses you choose. Your user sees it at once in their mail program, and the other recipients still get the message.

  • Guard your server’s reputation

    Mailbox providers count mail to addresses that do not exist against the server that sends it. Refusing it keeps that mail from leaving your IP address.

Set it up. 4 steps.

The short version of the full setup guide, which stays the reference when a step does not match what you see.

Read the full setup guide

  1. Install the service

    Download the Postfix recipe zip from the guide onto the server, put the key in its root-only file and enable the service’s socket.

  2. List your mail domains

    CyberPanel keeps its mail domains in its database, so list them in local_domains: mail to them is never checked.

  3. Add the line

    Put the check first in main.cf’s recipient list, and in a named list for the submission and smtps ports, which CyberPanel gives their own lists.

  4. Reload and test

    Run postfix check and postfix reload, then try a free test address without sending a message.

Good to know.

  • There is no CyberPanel plugin: it is the same Postfix service as on any server, set up by hand. It has not been tried on a real CyberPanel server yet, so try it on a test server first.

  • A failing check never stops mail: when the API has not answered in time, or the service is down, Postfix carries on by itself.

  • CyberPanel’s Email Limits works at a different stage of the session, so the two run side by side, and CyberPanel’s upgrade script puts /etc/postfix back as it was.

  • It sends only each outside recipient’s address, never the message. The EU host is one setting away.

Connect CyberPanel.

Test it on our sandbox addresses for free, then on your own contacts.

Create your accountRead the full setup guide

Updated · Maintained by: Email Validation LLC