{"id":19608902,"url":"https://github.com/forwardemail/reserved-email-addresses-list","last_synced_at":"2025-04-05T20:04:51.133Z","repository":{"id":39608460,"uuid":"236432892","full_name":"forwardemail/reserved-email-addresses-list","owner":"forwardemail","description":"List of 1250+ generic, admin, mailer-daemon, and no-reply usernames reserved for security concerns.  Made for @forwardemail.","archived":false,"fork":false,"pushed_at":"2024-07-10T22:05:23.000Z","size":374,"stargazers_count":161,"open_issues_count":0,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T19:03:49.121Z","etag":null,"topics":["address","addresses","admin","daemon","email","emails","generic","list","local","mailer","no-reply","parser","reserved","security","user","username"],"latest_commit_sha":null,"homepage":"https://forwardemail.net/docs/reserved-email-addresses-list","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/forwardemail.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-27T06:35:24.000Z","updated_at":"2025-03-25T23:50:29.000Z","dependencies_parsed_at":"2024-06-18T22:35:13.342Z","dependency_job_id":"66b198a5-910c-4323-b936-ebf7b3f36a8a","html_url":"https://github.com/forwardemail/reserved-email-addresses-list","commit_stats":{"total_commits":81,"total_committers":6,"mean_commits":13.5,"dds":"0.45679012345679015","last_synced_commit":"e391be4258d4555a6a36b0662e5bbacd88616526"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forwardemail%2Freserved-email-addresses-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forwardemail%2Freserved-email-addresses-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forwardemail%2Freserved-email-addresses-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forwardemail%2Freserved-email-addresses-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forwardemail","download_url":"https://codeload.github.com/forwardemail/reserved-email-addresses-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393566,"owners_count":20931812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["address","addresses","admin","daemon","email","emails","generic","list","local","mailer","no-reply","parser","reserved","security","user","username"],"created_at":"2024-11-11T10:18:31.157Z","updated_at":"2025-04-05T20:04:51.104Z","avatar_url":"https://github.com/forwardemail.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reserved-email-addresses-list\n\n[![build status](https://github.com/forwardemail/reserved-email-addresses-list/actions/workflows/ci.yml/badge.svg)](https://github.com/forwardemail/reserved-email-addresses-list/actions/workflows/ci.yml)\n[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)\n[![license](https://img.shields.io/github/license/forwardemail/reserved-email-addresses-list.svg)](LICENSE)\n[![npm downloads](https://img.shields.io/npm/dt/reserved-email-addresses-list.svg)](https://npm.im/reserved-email-addresses-list)\n\n\u003e List of 1250+ generic, admin, mailer-daemon, and no-reply usernames reserved for security concerns.  **Made for [Forward Email](https://forwardemail.net).**\n\n\n## Table of Contents\n\n* [Install](#install)\n* [Usage](#usage)\n* [Lists](#lists)\n  * [Formats](#formats)\n* [References](#references)\n* [Contributors](#contributors)\n* [License](#license)\n\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install reserved-email-addresses-list email-addresses\n```\n\n\n## Usage\n\nThe string you are comparing with must be converted to lowercase and trimmed of whitespace. The reason we are converting to lowercase is because the dictionary of words we are comparing with are all lowercase, and in order to compare for strict equality, we must have matching case.\n\nIt is also highly recommended that you check for strict equality, and for a list of admin, mailer-daemon, and no-reply usernames, you should check for strict equality, starts with, or ends with comparisons as well.\n\n```js\nconst reservedEmailAddressesList = require('reserved-email-addresses-list');\nconst reservedAdminList = require('reserved-email-addresses-list/admin-list.json');\nconst emailAddresses = require('email-addresses');\n\nconst email = '\"Admin***!!!\"@example.com';\nconst parsed = emailAddresses.parseOneAddress(email);\n\nif (parsed === null) throw new Error('Email was not a valid address');\n\nconst str = parsed.local.toLowerCase();\n\nlet reservedMatch = reservedEmailAddressesList.find(addr =\u003e addr === str);\n\nif (!reservedMatch)\n  reservedMatch = reservedAdminList.find(\n    addr =\u003e addr === str || str.startsWith(addr) || str.endsWith(addr)\n  );\n\nif (reservedMatch)\n  throw new Error(\n    'User must be a domain admin to create an alias with a reserved word (see https://forwardemail.net/reserved-email-addresses).'\n  );\n```\n\n\n## Lists\n\n* [index.json](index.json) - list of all reserved generic usernames (**includes [admin-list.json](admin-list.json) and [no-reply-list.json](no-reply-list.json)**)\n* [admin-list.json](admin-list.json) - list of all reserved admin and mailer-daemon usernames (**includes [no-reply-list.json](no-reply-list.json)**)\n* [no-reply-list.json](no-reply-list.json) - list of all no-reply usernames\n\n### Formats\n\nThe default list [index.json](index.json) itself comes in a few different formats. The default import is an `Array`, but also available are a `Map` and `Set` version of the list.\n\n```js\n// Array version\nconst reservedEmailAddressesList = require('reserved-email-addresses-list');\n// Also available with: require('reserved-email-addresses-list/array');\n\n// Map version\nconst reservedEmailAddressesMap = require('reserved-email-addresses-list/map');\n\n// Set version\nconst reservedEmailAddressesSet = require('reserved-email-addresses-list/set');\n```\n\nIf you would like to create a Map or Set version of the other lists, simply require them first, and then convert to a `Set` or `Map` (see [map.cjs](map.cjs), [set.cjs](set.cjs), and other files in this repo for more insight how to do this).\n\n\n## References\n\n* \u003chttps://www.rfc-editor.org/rfc/rfc2142\u003e\n* \u003chttps://unix.stackexchange.com/q/65013\u003e\n* \u003chttps://webmasters.stackexchange.com/questions/104811/is-there-any-list-of-email-addresses-reserved-because-of-security-concerns-for-a?noredirect=1\u0026lq=1\u003e\n* \u003chttps://support.google.com/a/answer/6093413?hl=en\u003e\n* \u003chttps://docs.google.com/spreadsheets/d/1Gj1LidTJgA1TgOjhxTaoQKaZTvV2-xZlvo9XEsBnZ5I/edit#gid=0\u003e\n* \u003chttps://gist.github.com/riaf/9067235\u003e\n* \u003chttps://gist.github.com/citrusui/d755cf6bf8374d413fe8f453fa40f0c6\u003e\n* \u003chttps://www.npmjs.com/package/reserved-usernames\u003e\n* \u003chttps://help.salesforce.com/articleView?id=pardot_admin_role_based_email_address.htm\u0026type=5\u003e\n* \u003chttps://www.entrustdatacard.com/blog/2015/march/what-happened-with-livefi\u003e\n\n\n## Contributors\n\n| Name           | Website                    |\n| -------------- | -------------------------- |\n| **Nick Baugh** | \u003chttp://niftylettuce.com/\u003e |\n\n\n## License\n\n[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)\n\n\n##\n\n[npm]: https://www.npmjs.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforwardemail%2Freserved-email-addresses-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforwardemail%2Freserved-email-addresses-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforwardemail%2Freserved-email-addresses-list/lists"}