DNS directs the sender
The sender looks up the MX record for neir.io or neirmail.com and connects to mail.neirmail.com. SMTP transport uses TLS when the sending server supports it.
This is the technical map of Neir: what enters the system, which services touch it, where encryption begins and ends, what is retained, and what we deliberately never ask you for.
Public SMTP and HTTPS terminate at a deliberately small edge. Mail security, protocol storage and webmail each have separate jobs; internal databases and admin interfaces are not publicly exposed.
An inbound message is accepted only after recipient, abuse and malware checks. Delivery then creates both a standards-compatible mailbox copy and a webmail representation.
The sender looks up the MX record for neir.io or neirmail.com and connects to mail.neirmail.com. SMTP transport uses TLS when the sending server supports it.
Postfix applies connection, recipient and relay rules. Unknown recipients are rejected before mailbox delivery. Fail2ban and rate controls limit repeated abusive authentication attempts.
The local Rspamd milter checks SPF, DKIM, DMARC and ARC signals, reputation, rules, Bayes and neural classifications. Its learning and history state live in an isolated Redis instance.
Rspamd passes content to the local ClamAV scanner. Malware is rejected. If the spam or malware layer is unavailable, delivery is temporarily deferred instead of silently bypassing the check.
Postfix hands accepted mail to Dovecot over a local LMTP socket. Dovecot writes the RFC message to Maildir and serves it to IMAP, POP3 and the internal sync worker.
IMAP IDLE provides near-real-time notice, backed by periodic reconciliation. The worker parses MIME, records flags and metadata, applies user filters, and avoids duplicate imports by mailbox UID identity.
Plaintext and HTML bodies are encrypted with the account's OpenPGP public key before being stored in PostgreSQL. Downloadable attachments are separate mode-restricted files; envelope metadata remains queryable.
The API returns ciphertext plus the encrypted private key. After you unlock that key with your Account Key, OpenPGP decryption occurs in the browser. The decrypted private key is held only for the browser session.
“Encrypted” is not a single state. Neir separates transport protection, encrypted webmail storage, and conventional protocol storage instead of presenting them as the same thing.
The encrypted Sent copy and the delivery copy have different purposes. A message cannot be delivered to an ordinary external mailbox without being made available to the SMTP delivery process.
The body reaches the API over HTTPS. The Sent or Draft body is encrypted to your OpenPGP public key; subject and addressing metadata stay readable for listing, routing and search.
BullMQ stores the message identifier, not a duplicate plaintext body. A separately encrypted, single-use delivery payload exists while the worker needs to perform delivery and is removed after successful processing.
A local recipient receives a body encrypted to that recipient's own public key. External mail is handed once to local Postfix, which signs DKIM and applies outbound policy and rate controls.
Postfix validates destination TLS policy with MTA-STS when published and otherwise negotiates opportunistic SMTP TLS. The remote provider receives the message and applies its own storage and privacy rules.
Neir authenticates possession of secrets, not a civil identity. The browser creates the credentials; the server stores only what is needed to verify them and operate the mailbox.
The browser generates the Account Key, 12-word recovery phrase and OpenPGP key pair. The private PGP key is encrypted in the browser with an AES key derived from the Account Key.
After an explicit click, Neir signs a fresh random SHA-256 work challenge bound to a commitment of the future Account Key. One browser worker solves the bounded search and a small 8 MiB Argon2id memory-hard step locally before the key is displayed. Five-minute aggregate issuance, redemption and replay totals can raise the signed search bound equally for everyone during abuse. The server receives no benchmark, hardware profile, behavior score or third-party CAPTCHA result. Challenges expire within ten minutes, and local Redis keeps only a short-lived redemption hash to prevent replay. Free and Pro signup both require the proof.
Registration and login send the Account Key through HTTPS so the server can verify it in memory. The database retains an Argon2id verifier and keyed lookup hash, not the plaintext. The recovery phrase is also stored as a one-way verifier.
A secure session cookie identifies a login. The session record contains timestamps and the browser user-agent so devices can be reviewed and revoked; it does not contain an account location field or a saved account IP address.
2FA, contacts, filters, push notifications, app passwords, open tracking and Pro payment are user choices. Neir never asks for a legal name or fallback email to activate them.
Retention follows function. Deletion removes active records and message files, while rotating backups can retain a deleted item until that backup reaches the end of its limited recovery window.
| Data | Purpose and protection | Lifecycle |
|---|---|---|
| Mailbox account | Internal random ID, address, plan/status, quota, one-way credential verifiers and encrypted PGP private key. | Until you delete it, legal deletion is required, or optional 365-day inactivity deletion is enabled and triggers. Deletion removes the live database account immediately and quarantines Maildir for 3 days before erasure. |
| Messages | Maildir RFC copy for protocols; OpenPGP-encrypted body copy for webmail; plaintext metadata for routing, folders, threading and search. | Until message/account deletion. Trash and Spam are automatically emptied after 30 days; optional read-mail retention is user controlled. |
| Attachments | Randomly named, mode-restricted server files with filename, media type and size metadata. | Deleted with the owning message/account; may remain temporarily in rotating mail backups. |
| Delivery queue | Redis job contains an email ID. A PostgreSQL AES-256-GCM payload is available to the worker while delivery is pending/retrying. | Payload removed after successful processing; completed jobs are bounded to 1 hour/100 entries and failed job records to 7 days/500 entries. |
| Sessions and settings | Session timestamps/user-agent, contacts, filters, aliases, preferences, encrypted 2FA secret, hashed app passwords and optional push endpoint. | Until revoked, removed, expired by feature behavior, or the account is deleted. |
| Payments | For Pro only: amount, asset/network, deposit address, provider tracking ID, payment status and transaction hash. The provider and public blockchain are separate parties. | Retained as the transaction/subscription record; never supplemented with KYC data by Neir. |
| Signup abuse proofs | Signed random challenge, SHA-256 Account Key commitment, bounded solution, Argon2id result, Redis redemption hash and anonymous five-minute aggregate counters. No browser fingerprint, benchmark, behavior history or external CAPTCHA provider. | Challenge validity is at most 10 minutes. The redemption hash expires with it; aggregate counters expire after at most 15 minutes. Neither is attached to the created account. |
| Operational logs | Bounded web/mail/security logs can contain source IP, request path, protocol event, timestamp and error detail. They are for abuse defense and reliability, not advertising or identity profiling. | Rotated and size bounded; the system journal is configured for at most 14 days and can expire earlier under storage pressure. |
| Analytics | Per-page, per-day integer totals. The beacon omits credentials and no visitor ID, IP, cookie or session is attached to the analytics row. | Aggregate counts only; no individual browsing timeline exists in analytics storage. |
| Backups | Database, Maildir/attachments, Redis and encrypted configuration recovery sets. Access is restricted; credential-bearing configuration archives are age-encrypted. | Rolling local windows, generally 8–14 days depending on backup class. |
The core mail filter and storage path is self-hosted, but no internet email product exists in isolation. These are the deliberate external boundaries.
Senders' and recipients' SMTP servers process envelope data and message content. Their policies apply to copies they handle. SMTP TLS protects a hop in transit; it does not control the destination's storage.
Heleket creates and reports Pro checkouts. It receives checkout amount, currency/network and a random order identifier. Cryptocurrency transfers are also visible on the relevant public blockchain.
Only if push is enabled, Mozilla, Google, Apple or another browser-vendor relay carries the encrypted Web Push payload to the subscribed device.
Remote email images are fetched through a constrained Neir proxy so the image host sees Neir's request rather than your browser IP. If you contact Telegram, X or email support, that channel's provider handles what you send.
Neir's commitment is to avoid collecting identity data, limit operational data to a stated purpose, keep retention bounded, make optional disclosures opt-in, and publish the real technical limits.
No identity verification, government identification, biometric check, legal-name requirement, proof of address, phone verification or mandatory recovery contact will be required to create or use a Neir mailbox.
You can export account data, revoke sessions and app passwords, change optional privacy features, remove individual messages, and permanently delete the account from Settings.