TMailr

← All writing

For developers

Designing a signup form that does not leak who is registered

18 July 2026 · 5 min read

Any difference in response between a known and unknown address is an oracle. Attackers use it to test lists against your service, and for some services simply being a member is sensitive.

Where the difference hides

The usual resolution

Answer identically and send an email that differs: "here is your account" or "someone tried to sign up with your address". The person who owns the mailbox learns the truth and nobody else does.

We use the same principle for aliases. A blocked alias, an unconfirmed one and one that never existed all answer with the same 550, byte for byte, because telling a spammer they are being blocked confirms a real person is behind the address.

More on for developers