Verification server setup
Verifying an address means asking the company's mail server whether the mailbox exists. That needs outgoing port 25, which websites on Vercel cannot use. So the checker runs as a small server you start yourself. Pick one way:
First: test port 25
Run this on the network you will use. You want it to say the connection succeeded.
Windows (PowerShell)
Test-NetConnection gmail-smtp-in.l.google.com -Port 25
Look for TcpTestSucceeded : True.
Mac or Linux
nc -vz gmail-smtp-in.l.google.com 25
Many home internet providers and phone carriers block this port. If the test fails, option A will not work on that network. Try another network, or use option B.
A. Local server on your computer
Free. It only works while it is running, which is fine for personal use.
- Install Node.js (LTS, version 20.6 or newer) from nodejs.org.
- Download the project from your GitHub repo (Code → Download ZIP) and unzip it.
- Open a terminal in the
serverfolder and run:npm install - Copy
.env.exampleto.env:# Windows copy .env.example .env # Mac / Linux cp .env.example .env - Open
.envin a text editor. SetHELO_DOMAINandMAIL_FROMto a domain you own. Make sureALLOWED_ORIGINincludes your website address, for example:ALLOWED_ORIGIN=http://localhost:3001,https://your-project.vercel.app - Start it:
Leave the window open. Press Ctrl+C to stop.npm start - On the finder page, open Verification server and enter:
http://localhost:3001 - Search a company and press Verify these addresses.
Use Chrome, Edge or Firefox. If the browser asks to access devices on your local network, choose Allow. Safari blocks this. You can also skip the website and open
http://localhost:3001 directly while the server runs.B. VPS (always online)
Costs a few dollars a month. Choose a provider whose servers allow outgoing port 25, and run the port test above on the new server before going further. You also need a domain you own.
- Create an Ubuntu 24.04 VPS and log in:
ssh root@YOUR_VPS_IP. Run the port 25 test there. - At your domain's DNS settings, add an A record: name
verify, valueYOUR_VPS_IP. - Install the tools:
Ifapt update apt install -y nodejs npm caddycaddyis not found, follow the official Caddy install steps for Ubuntu. Checknode -vshows 20.6 or newer; if not, install a newer Node.js. - Copy the
serverfolder to the VPS. From your computer:scp -r server root@YOUR_VPS_IP:~/verifier - On the VPS, set it up:
Set:cd ~/verifier npm install cp .env.example .env nano .envHELO_DOMAIN=verify.yourdomain.com MAIL_FROM=check@yourdomain.com ALLOWED_ORIGIN=https://your-project.vercel.app - Keep it running in the background:
npm i -g pm2 pm2 start npm --name verifier -- start pm2 save pm2 startup - Add HTTPS. Edit
/etc/caddy/Caddyfileso it contains:
then runverify.yourdomain.com { reverse_proxy 127.0.0.1:3001 }systemctl reload caddy. - Open the firewall:
ufw allow 22/tcp ufw allow 80/tcp ufw allow 443/tcp ufw enable - Check it works: open
https://verify.yourdomain.com/health. You should see{"ok":true}. - On the finder page, open Verification server and enter
https://verify.yourdomain.com.
If many results show "Unknown", set a reverse DNS (PTR) record for the VPS IP to
verify.yourdomain.com in your provider's control panel.What the results mean
- Exists: the mail server confirmed the mailbox.
- Not found: the mail server rejected it.
- Accepts all: the company accepts every address, so it cannot be confirmed.
- Unknown: no clear answer. Try again later.