Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.
Rust emailemail-validationemail-validation-apiemail-verificationemail-verification-apiemail-verifierhacktoberfest
GITBOOK-21: No subject
[email protected]8bcf8b9a711d
diff --git a/docs/README.md b/docs/README.mdindex 70bb73e1..d56b7a6f 100644--- a/docs/README.md+++ b/docs/README.md@@ -25,4 +25,4 @@ You can use Reacher to ensure the deliverability of your emails, clean your emai### Jump right in-<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Getting Started</strong></td><td>Verify your 1st email</td><td><a href=".gitbook/assets/undraw_Mail_sent_re_0ofv.png">undraw_Mail_sent_re_0ofv.png</a></td><td></td><td><a href="getting-started/quickstart.md">quickstart.md</a></td></tr><tr><td><strong>Self-Hosting</strong></td><td>Install Reacher in 20 min</td><td><a href=".gitbook/assets/undraw_Server_re_twwj.png">undraw_Server_re_twwj.png</a></td><td></td><td><a href="self-hosting/install.md">install.md</a></td></tr><tr><td><strong>Proxies</strong></td><td>Verify emails using a proxy</td><td><a href=".gitbook/assets/undraw_online_transactions_02ka.png">undraw_online_transactions_02ka.png</a></td><td></td><td><a href="self-hosting/proxies.md">proxies.md</a></td></tr></tbody></table>+<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Getting Started</strong></td><td>Verify your 1st email</td><td><a href=".gitbook/assets/undraw_Mail_sent_re_0ofv.png">undraw_Mail_sent_re_0ofv.png</a></td><td></td><td><a href="getting-started/quickstart.md">quickstart.md</a></td></tr><tr><td><strong>Self-Hosting</strong></td><td>Install Reacher in 20 min</td><td><a href=".gitbook/assets/undraw_Server_re_twwj.png">undraw_Server_re_twwj.png</a></td><td></td><td><a href="self-hosting/install.md">install.md</a></td></tr><tr><td><strong>Proxies</strong></td><td>Verify emails using a proxy</td><td><a href=".gitbook/assets/undraw_online_transactions_02ka.png">undraw_online_transactions_02ka.png</a></td><td></td><td><a href="self-hosting/proxies/">proxies</a></td></tr></tbody></table>diff --git a/docs/SUMMARY.md b/docs/SUMMARY.mdindex 03d00806..d15bcbb3 100644--- a/docs/SUMMARY.md+++ b/docs/SUMMARY.md@@ -16,7 +16,8 @@* [Option 2: RabbitMQ-based Queue Architecture](self-hosting/scaling-for-production/option-2-rabbitmq-based-queue-architecture.md)* [Licensing](self-hosting/licensing/README.md)* [Commercial License Trial](self-hosting/licensing/commercial-license-trial.md)-* [Proxies](self-hosting/proxies.md)+* [Proxies](self-hosting/proxies/README.md)+ * [Multiple Proxies](self-hosting/proxies/multiple-proxies.md)* [Reacher Configuration](self-hosting/reacher-configuration-v0.10.md)* [Debugging Reacher](self-hosting/debugging-reacher.md)@@ -28,6 +29,7 @@* [/v1/bulk](advanced/openapi/v1-bulk.md)* [Run your own Proxy](advanced/run-your-own-proxy.md)* [Migrations](advanced/migrations/README.md)+ * [Reacher Configuration (v0.10)](advanced/migrations/reacher-configuration-v0.10.md)* [Migrating from 0.7 to 0.10](advanced/migrations/migrating-from-0.7-to-0.10-beta.md)* [Bulk Verification (v0.7)](advanced/migrations/bulk.md)* [Docker Environment Variables (v0.7)](advanced/migrations/docker-environment-variables.md)diff --git a/docs/advanced/migrations/reacher-configuration-v0.10.md b/docs/advanced/migrations/reacher-configuration-v0.10.mdnew file mode 100644index 00000000..fb9791da--- /dev/null+++ b/docs/advanced/migrations/reacher-configuration-v0.10.md@@ -0,0 +1,191 @@+# Reacher Configuration (v0.10)++You can find below the exhaustive list of configurable parameters to optimize Reacher.++To tweak a configuration, look at the "Env variable" name in the comments, and pass in the `-e ENV_VAR=VALUE` flag to Docker. See [#examples-with-docker](reacher-configuration-v0.10.md#examples-with-docker "mention").++```toml+# Backend configuration.++# Name to identify the backend.+#+# Env variable: RCH__BACKEND_NAME+backend_name = "backend-dev"++# Host to bind the backend to.+#+# Env variable: RCH__HTTP_HOST+http_host = "127.0.0.1"++# Port for the backend.+#+# Env variable: RCH__HTTP_PORT+http_port = 8080++# Shared secret between a trusted client and the backend, required in the+# `x-reacher-secret` header of all incoming requests.+#+# Env variable: RCH__HEADER_SECRET+# header_secret = "my-secret"++# Name to use during the EHLO/HELO command in the SMTP conversation.+# Ideally, this should match the reverse DNS of the server's IP address.+#+# Env variable: RCH__HELLO_NAME+hello_name = "localhost"++# Email to use during the MAIL FROM command in the SMTP conversation.+# Ideally, the domain of this email should match the "hello_name" above.+#+# Env variable: RCH__FROM_EMAIL+from_email = "hello@localhost"++# Address of the Chrome WebDriver server for headless email verifications.+#+# Env variable: RCH__WEBDRIVER_ADDR+webdriver_addr = "http://localhost:9515"++# Timeout for each SMTP connection, in seconds. Leaving it commented out will+# not set a timeout, i.e. the connection will wait indefinitely.+#+# Env variable: RCH__SMTP_TIMEOUT+# smtp_timeout = 45++# Optional Sentry DSN. If set, all errors will be sent to Sentry.+#+# Env variable: RCH__SENTRY_DSN+# sentry_dsn = "<PASTE_YOUR_DSN_NOW>"++# Uncomment the lines below to route all SMTP verification requests+# through a specified proxy. Note that the proxy must be a SOCKS5 proxy to work+# with the SMTP protocol. This proxy will not be used for headless+# verifications.+#+# The username and password are optional and only needed if the proxy requires+# authentication.+#+# Env variables:+# - RCH__PROXY__HOST+# - RCH__PROXY__PORT+# - RCH__PROXY__USERNAME+# - RCH__PROXY__PASSWORD+#+# [proxy]+# host = "my.proxy.com"+# port = 1080+# username = "my-username"+# password = "my-password"++# Verification method to use for each email provider. Available methods are:+# "smtp", "headless", and "api". Note that not all methods are supported by+# all email providers.+[verif_method]+# Gmail currently only supports the "smtp" method.+#+# Env variable: RCH__VERIF_METHOD__GMAIL+gmail = "smtp"+# Hotmail B2B currently only supports the "smtp" method.+#+# Env variable: RCH__VERIF_METHOD__HOTMAILB2B+hotmailb2b = "smtp"+# Hotmail B2C supports both "headless" and "smtp" methods. The "headless"+# method is recommended.+hotmailb2c = "headless"+# Yahoo supports both "headless" and "smtp" methods. The "headless" method is+# recommended.+yahoo = "headless"++# Throttle the maximum number of requests per second, per minute, per hour, and+# per day for this worker.+# All fields are optional; comment them out to disable the limit.+#+# We however recommend setting the throttle for at least the per-minute and+# per-day limits to prevent the IPs from being blocked by the email providers.+# The default values are set to 60 requests per minute and 10,000 requests per+# day.+#+# Important: these throttle configurations only apply to /v1/* endpoints, and+# not to the previous /v0/check_email endpoint. The latter endpoint always+# executes the verification immediately, regardless of the throttle settings.+#+# Env variables:+# - RCH__THROTTLE__MAX_REQUESTS_PER_SECOND+# - RCH__THROTTLE__MAX_REQUESTS_PER_MINUTE+# - RCH__THROTTLE__MAX_REQUESTS_PER_HOUR+# - RCH__THROTTLE__MAX_REQUESTS_PER_DAY+[throttle]+# max_requests_per_second = 20+max_requests_per_minute = 60+# max_requests_per_hour = 1000+max_requests_per_day = 10000++# Configuration for a queue-based architecture for Reacher. This feature is+# currently in **beta**. The queue-based architecture allows Reacher to scale+# horizontally by running multiple workers that consume emails from a RabbitMQ+# queue.+#+# To enable the queue-based architecture, set the "enable" field to "true" and+# configure the RabbitMQ connection below. The "concurrency" field specifies+# the number of concurrent emails to verify for this worker.+#+# For more information, see the documentation at:+# https://docs.reacher.email/self-hosting/scaling-for-production+[worker]+# Enable the worker to consume emails from the RabbitMQ queues. If set, the+# RabbitMQ configuration below must be set as well.+#+# Env variable: RCH__WORKER__ENABLE+enable = false++# RabbitMQ configuration.+[worker.rabbitmq]+# Env variable: RCH__WORKER__RABBITMQ__URL+url = "amqp://guest:guest@localhost:5672"++# Number of concurrent emails to verify for this worker.+#+# Env variable: RCH__WORKER__RABBITMQ__CONCURRENCY+concurrency = 5++# Below are the configurations for the storage of the email verification+# results. We currently support the following storage backends:+# - Postgres+#+# Uncomment the following line to configure the storage to use Postgres.+# [storage.postgres]++# # URL to connect to the Postgres database.+#+# Env variable: RCH__STORAGE__POSTGRES__DB_URL+# db_url = "postgresql://localhost/reacherdb"+#+# If you wish to store additional data along with the verification results,+# you can add a JSON object to the "extra" field. This object will be stored+# as a JSONB column in the database. This is for example useful to track who+# initiated the verification request in a multi-tenant system.+#+# Env variable: RCH__STORAGE__0__POSTGRES__TABLE_NAME+# extra = { "my_custom_key" = "my_custom_value" }+```++## Examples with Docker++To overwrite the EHLO/HELO name:++```bash+docker run -e RCH__HELLO_NAME=my.company.com -p 8080:8080 reacherhq/backend:beta+```++To store all email verification results to a Postgres database:++```bash+docker run -e RCH__STORAGE__POSTGRES__DB_URL="postgres://user:[email protected]/my_db_name" -p 8080:8080 reacherhq/backend:beta+```++For advanced users, if you prefer to pass in the full [`backend_config.toml`](../../../backend/backend_config.toml) file instead of individual environment variable flags, run:++```bash+docker run -e RUST_LOG=reacher=debug -v /path/to/local/backend_config.toml:./backend_config.toml -p 8080:8080 reacherhq/backend:beta+```++We recommend passing in `-e RUST_LOG=reacher=debug`, at least on first run, as the debug logs will show the final configuration parsed by Reacher.diff --git a/docs/advanced/run-your-own-proxy.md b/docs/advanced/run-your-own-proxy.mdindex 7aa46b3a..a1d06aba 100644--- a/docs/advanced/run-your-own-proxy.md+++ b/docs/advanced/run-your-own-proxy.md@@ -1,5 +1,5 @@# Run your own Proxy-Reacher integrates seamlessy with [proxies.md](../self-hosting/proxies.md "mention"), and we propose some 3rd-party proxies to use. However, you may also choose to run your own Proxy.+Reacher integrates seamlessy with [proxies](../self-hosting/proxies/ "mention"), and we propose some 3rd-party proxies to use. However, you may also choose to run your own Proxy.If you're interested in this feature, please contact [[email protected]](https://app.gitbook.com/u/F1LnsqPFtfUEGlcILLswbbp5cgk2 "mention").diff --git a/docs/self-hosting/debugging-reacher.md b/docs/self-hosting/debugging-reacher.mdindex 5208edf4..dafa02bb 100644--- a/docs/self-hosting/debugging-reacher.md+++ b/docs/self-hosting/debugging-reacher.md@@ -9,7 +9,7 @@ If you still don't understand the error after setting that flag, send an email t## How to check if port 25 is open?{% hint style="info" %}-This only concerns users installing Reacher on a server without using [proxies.md](proxies.md "mention"). +This only concerns users installing Reacher on a server without using [proxies](proxies/ "mention"). {% endhint %}When choosing a server to install Reacher on, you need to make sure that the server itself has port `25` open AND the chosen cloud provider allows outbound port `25` connections on its network.diff --git a/docs/self-hosting/install.md b/docs/self-hosting/install.mdindex 69de18a7..2dab7cab 100644--- a/docs/self-hosting/install.md+++ b/docs/self-hosting/install.md@@ -19,7 +19,7 @@ The provided Dockerfile includes a pre-configured proxy, resolving the common ISThe Dockerfile provided as part of the Commercial License Trial is designed to enable quick setup for email verifications. Below are its key features and limitations:-* **Built-in Proxy Configuration**: we use [**Proxy4Smtp**](https://www.proxy4smtp.com), a 3rd-party proxy with carefully maintained IPs optimized for SMTP verifications. This ensures reliable email verification even in cloud environments with restricted SMTP access. Learn more in [proxies.md](proxies.md "mention").+* **Built-in Proxy Configuration**: we use [**Proxy4Smtp**](https://www.proxy4smtp.com), a 3rd-party proxy with carefully maintained IPs optimized for SMTP verifications. This ensures reliable email verification even in cloud environments with restricted SMTP access. Learn more in [proxies](proxies/ "mention").* **Daily Verification Limit**: capped at 60 per minute at **10,000 per day**.* **Usage Tracking**: verification results are anonymized and sent back to Reacher, and used to monitor daily usage and detect potential abuse.diff --git a/docs/self-hosting/licensing/commercial-license-trial.md b/docs/self-hosting/licensing/commercial-license-trial.mdindex 82bb2788..ee724c36 100644--- a/docs/self-hosting/licensing/commercial-license-trial.md+++ b/docs/self-hosting/licensing/commercial-license-trial.md@@ -6,7 +6,7 @@ The Commercial License Trial allows you to test the self-hosted software for a lAs part of the Commercial License Trial, you'll receive a Dockerfile designed to enable quick setup for email verifications. Below are its key features and limitations:-* **Built-in Proxy Configuration**: we embed [**Proxy4Smtp**](https://www.proxy4smtp.com), a 3rd-party proxy with carefully maintained IPs optimized for SMTP verifications. All verifications using the Dockerfile go through this proxy. This ensures reliable email verification even in cloud environments with restricted SMTP access. Learn more in [proxies.md](../proxies.md "mention").+* **Built-in Proxy Configuration**: we embed [**Proxy4Smtp**](https://www.proxy4smtp.com), a 3rd-party proxy with carefully maintained IPs optimized for SMTP verifications. All verifications using the Dockerfile go through this proxy. This ensures reliable email verification even in cloud environments with restricted SMTP access. Learn more in [proxies](../proxies/ "mention").* **Daily Verification Limit**: capped at **60 per minute** and **10,000 per day.*** **Usage Tracking**: verification results are anonymized and sent back to Reacher, and used to monitor daily usage and detect potential abuse.* **For testing purposes only**. The Dockerfile can only be used internally, for testing purposes, and can in no case be used in production environments for commercial applications.@@ -21,4 +21,9 @@ To start your Commercial License Trial, sign up on [https://reacher.email](https## After the Trial-The Commercial License Trial cannot be used for full-scale production use or commercial applications. Once you've tested Reacher extensively, purchase a Commercial License to gain access to an unrestricted Dockerfile.+The Commercial License Trial cannot be used for full-scale production use or commercial applications. Once you've tested Reacher extensively, purchase a Commercial License.++Once you purchased the Commercial License, you'll need to perform the two following steps:++1. Replace the Docker image from `reacherhq/commercial-license-trial`to `reacherhq/backend`. This will give you access to an unrestricted Dockerfile to perform unlimited verifications.+2. (If applicable) Configure proxy setting on the Docker container, via the `RCH__PROXY__*`environment variables. See [proxies](../proxies/ "mention")for more information.diff --git a/docs/self-hosting/proxies.md b/docs/self-hosting/proxies/README.mdsimilarity index 83%rename from docs/self-hosting/proxies.mdrename to docs/self-hosting/proxies/README.mdindex 2b3eeea8..300308e0 100644--- a/docs/self-hosting/proxies.md+++ b/docs/self-hosting/proxies/README.md@@ -6,7 +6,7 @@ Maintaining a good IP reputation is hard. Reacher integrates seamlessly with SOCA **SOCKS5 proxy** is a flexible proxy protocol that supports various types of traffic, including SMTP. When using it for email verifications, the reputation of the **proxy’s IP** is what matters, not your own IP. This is crucial for maintaining deliverability and avoiding issues like blacklisting.-Choosing a reputable 3rd-party proxy will greatly improve the quality of your email verification results. For a list of recommended proxies, see [#which-3rd-party-proxies-does-reacher-recommend](proxies.md#which-3rd-party-proxies-does-reacher-recommend "mention")+Choosing a reputable 3rd-party proxy will greatly improve the quality of your email verification results. For a list of recommended proxies, see [#which-3rd-party-proxies-does-reacher-recommend](./#which-3rd-party-proxies-does-reacher-recommend "mention"){% hint style="info" %}SMTP email verifications are not possible via a traditional HTTP proxy.@@ -14,7 +14,7 @@ SMTP email verifications are not possible via a traditional HTTP proxy.## Setting up a Proxy-Once you've purchased a proxy, run the Docker command (see how in [install.md](install.md "mention")) and pass the following flags:+Once you've purchased a proxy, run the Docker command (see how in [install.md](../install.md "mention")) and pass the following flags:* `-e RCH__PROXY__HOST=<host>`: The IP or hostname of the proxy server.* `-e RCH__PROXY__PORT=<port>`: The corresponding port.@@ -24,7 +24,7 @@ Once you've purchased a proxy, run the Docker command (see how in [install.md](i* `-e RCH__FROM_EMAIL=<email>`: The email to use during the "MAIL FROM" step. It should be an email from the same domain as the HELLO\_NAME. Ask your proxy provider about this setting.{% hint style="info" %}-If you're using the [commercial-license-trial.md](licensing/commercial-license-trial.md "mention"), these fields are already populated with the built-in proxy. However, you can overwrite them by passing these flags again, pointing to a proxy of your own choosing.+If you're using the [commercial-license-trial.md](../licensing/commercial-license-trial.md "mention"), these fields are already populated with the built-in proxy. However, you can overwrite them by passing these flags again, pointing to a proxy of your own choosing.{% endhint %}## Which 3rd-party proxies does Reacher recommend?@@ -47,4 +47,4 @@ To estimate how many IPs you should buy, we recommend starting from your expecte10,000,000 emails per month / 30 = 33,000 emails per day / 10000 = 33 IPs```-The throttling limits of 10000 per day and 60 per minute are already baked in as defaults into Reacher. However, if you're managing scaling yourself ([option-1-manage-scaling-yourself.md](scaling-for-production/option-1-manage-scaling-yourself.md "mention")), make sure that at any time you have as many Reacher instances as IPs you bought. This will make sure that the concurrency of 5 is respected.+The throttling limits of 10000 per day and 60 per minute are already baked in as defaults into Reacher. However, if you're managing scaling yourself ([option-1-manage-scaling-yourself.md](../scaling-for-production/option-1-manage-scaling-yourself.md "mention")), make sure that at any time you have as many Reacher instances as IPs you bought. This will make sure that the concurrency of 5 is respected.diff --git a/docs/self-hosting/proxies/multiple-proxies.md b/docs/self-hosting/proxies/multiple-proxies.mdnew file mode 100644index 00000000..87c1f93d--- /dev/null+++ b/docs/self-hosting/proxies/multiple-proxies.md@@ -0,0 +1,3 @@+# Multiple Proxies++This page will come shortly.diff --git a/docs/self-hosting/reacher-configuration-v0.10.md b/docs/self-hosting/reacher-configuration-v0.10.mdindex f4689c77..ac99a77b 100644--- a/docs/self-hosting/reacher-configuration-v0.10.md+++ b/docs/self-hosting/reacher-configuration-v0.10.md@@ -1,7 +1,10 @@# Reacher Configuration{% hint style="info" %}-This configuration is for the current 0.10 version. For the older 0.7 version, please see [docker-environment-variables.md](../advanced/migrations/docker-environment-variables.md "mention").+This configuration is for the current 0.11 version. For the older versions, please see:++* [reacher-configuration-v0.10.md](../advanced/migrations/reacher-configuration-v0.10.md "mention")+* [docker-environment-variables.md](../advanced/migrations/docker-environment-variables.md "mention").{% endhint %}You can find below the exhaustive list of configurable parameters to optimize Reacher.@@ -26,12 +29,6 @@ http_host = "127.0.0.1"# Env variable: RCH__HTTP_PORThttp_port = 8080-# Shared secret between a trusted client and the backend, required in the-# `x-reacher-secret` header of all incoming requests.-#-# Env variable: RCH__HEADER_SECRET-# header_secret = "my-secret"-# Name to use during the EHLO/HELO command in the SMTP conversation.# Ideally, this should match the reverse DNS of the server's IP address.#@@ -44,21 +41,27 @@ hello_name = "localhost"# Env variable: RCH__FROM_EMAILfrom_email = "hello@localhost"-# Address of the Chrome WebDriver server for headless email verifications.-#-# Env variable: RCH__WEBDRIVER_ADDR-webdriver_addr = "http://localhost:9515"-# Timeout for each SMTP connection, in seconds. Leaving it commented out will# not set a timeout, i.e. the connection will wait indefinitely.## Env variable: RCH__SMTP_TIMEOUT# smtp_timeout = 45+# Shared secret between a trusted client and the backend, required in the+# `x-reacher-secret` header of all incoming requests.+#+# Env variable: RCH__HEADER_SECRET+# header_secret = "my-secret"+# Optional Sentry DSN. If set, all errors will be sent to Sentry.## Env variable: RCH__SENTRY_DSN-# sentry_dsn = "<PASTE_YOUR_DSN_NOW>"+# sentry_dsn = "<PASTE_YOUR_DSN_HERE>"++# Address of the Chrome WebDriver server for headless email verifications.+#+# Env variable: RCH__WEBDRIVER_ADDR+webdriver_addr = "http://localhost:9515"# Uncomment the lines below to route all SMTP verification requests# through a specified proxy. Note that the proxy must be a SOCKS5 proxy to work@@ -80,24 +83,94 @@ webdriver_addr = "http://localhost:9515"# username = "my-username"# password = "my-password"-# Verification method to use for each email provider. Available methods are:-# "smtp", "headless", and "api". Note that not all methods are supported by-# all email providers.-[verif_method]-# Gmail currently only supports the "smtp" method.-#-# Env variable: RCH__VERIF_METHOD__GMAIL-gmail = "smtp"-# Hotmail B2B currently only supports the "smtp" method.-#-# Env variable: RCH__VERIF_METHOD__HOTMAILB2B-hotmailb2b = "smtp"-# Hotmail B2C supports both "headless" and "smtp" methods. The "headless"-# method is recommended.-hotmailb2c = "headless"-# Yahoo supports both "headless" and "smtp" methods. The "headless" method is-# recommended.-yahoo = "headless"+[webdriver]+# Path to the Chrome binary. If not set, the default system Chrome will be used.+#+# Env variable: RCH__WEBDRIVER__BINARY+# binary = "/usr/bin/google-chrome"++# Deprecated: use the "proxies" configuration below instead.+#+# Uncomment the lines below to define a proxy called "default". If you want to+# use a proxy, you can set the `proxy` field in the `verif_method` section+# below to "default". Not setting it will NOT apply this default proxy to+# verifications though.+#+# The username and password are optional and only needed if the proxy requires+# authentication.+#+# Env variables:+# - RCH__PROXY__HOST+# - RCH__PROXY__PORT+# - RCH__PROXY__USERNAME+# - RCH__PROXY__PASSWORD+#+# [proxy]+# host = "my.proxy.com"+# port = 1080+# username = "my-username"+# password = "my-password"++# Override verification method to use for each email provider. Each email provider can+# be verified using one of the following methods:+# - Gmail: smtp+# - Hotmail B2B: smtp+# - Hotmail B2C: headless or smtp+# - Yahoo: headless or smtp+# - Mimecast: smtp+# - Proofpoint: smtp+#+# For the email providers you choose to verify using the "smtp" method, you+# may add additional configuration, such as hello_name, from_email, and+# whether to use a proxy or not.+#+# If using proxies, the list of proxies must be defined in the "proxies"+# section below, with a unique name for each proxy such as "proxy1", "proxy2",+# etc. Then, in the email provider's SMTP configuration, set the value to the+# name of the proxy to use. To use the proxy defined the the top-level "proxy"+# section, set the value to "default".+[overrides]+# Use the "proxies" configuration below to route SMTP verification requests+# through a specified proxy.+#+# Reacher allows you to configure multiple proxies, each with a unique name.+# We recommend simply using "proxy1", "proxy2", etc. as the proxy names.+#+# In the `overrides` section below, you can specify which proxy to use for+# each email provider. For example, to use "proxy1" for Gmail and "proxy2" for+# Yahoo, set the `gmail` field to "proxy1" and the `yahoo` field to "proxy2".+[overrides.proxies]+# Uncomment the lines below to configure a proxy. The username and password are+# optional and only needed if the proxy requires authentication.+#+# Env variables:+# - RCH__OVERRIDES__PROXIES__PROXY1__HOST+# - RCH__OVERRIDES__PROXIES__PROXY1__PORT+# - RCH__OVERRIDES__PROXIES__PROXY1__USERNAME+# - RCH__OVERRIDES__PROXIES__PROXY1__PASSWORD+# proxy1 = { host = "my.proxy1.com", port = 1080, username = "my-username1", password = "my-password1" }+# proxy2 = { host = "my.proxy2.com", port = 1081 }++# Set overrides for Gmail. If uncommented, make sure to uncomment all fields.+# [overrides.gmail]+# type = "smtp"+# proxy = "proxy1"+# hello_name = "my-domain.com"+# from_email = "[email protected]"++# For each email provider, you can override the verification method and set+# additional configuration. The available fields are the same as for the+# "gmail" section above.++# [overrides.hotmailb2b]++# [overrides.hotmailb2c]++# [overrides.mimecast]++# [overrides.proofpoint]++# [overrides.yahoo]# Throttle the maximum number of requests per second, per minute, per hour, and# per day for this worker.@@ -160,7 +233,7 @@ concurrency = 5# # URL to connect to the Postgres database.#-# Env variable: RCH__STORAGE__POSTGRES__DB_URL+# Env variable: RCH__STORAGE__0__POSTGRES__DB_URL# db_url = "postgresql://localhost/reacherdb"## If you wish to store additional data along with the verification results,diff --git a/docs/self-hosting/saas-vs-self-host.md b/docs/self-hosting/saas-vs-self-host.mdindex 44a7a7c8..af34d9fc 100644--- a/docs/self-hosting/saas-vs-self-host.md+++ b/docs/self-hosting/saas-vs-self-host.md@@ -16,11 +16,11 @@ Reacher's goal is to make Self-Hosting easy. You can [install.md](install.md "me## Key Differences-| Feature | SaaS | Self-Hosting |-| --------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------- |-| **Volume** | Limited to 10k verifications per month | Unlimited verifications |-| **Cost** | Monthly subscription | Monthly subscription + server costs (lower at scale) + [proxy](proxies.md) costs (optional) |-| **Setup Time** | Instant | Requires installation and setup |-| **Maintenance** | Fully managed by Reacher | Managed by your IT team |-| **Data Ownership** | Data stored on Reacher servers | Full ownership, no data is sent to Reacher |-| **Bulk Verification** | Not supported | Supported, see [bulk.md](../advanced/migrations/bulk.md "mention") |+| Feature | SaaS | Self-Hosting |+| --------------------- | -------------------------------------- | ----------------------------------------------------------------------------------------- |+| **Volume** | Limited to 10k verifications per month | Unlimited verifications |+| **Cost** | Monthly subscription | Monthly subscription + server costs (lower at scale) + [proxy](proxies/) costs (optional) |+| **Setup Time** | Instant | Requires installation and setup |+| **Maintenance** | Fully managed by Reacher | Managed by your IT team |+| **Data Ownership** | Data stored on Reacher servers | Full ownership, no data is sent to Reacher |+| **Bulk Verification** | Not supported | Supported, see [bulk.md](../advanced/migrations/bulk.md "mention") |diff --git a/docs/self-hosting/scaling-for-production/option-1-manage-scaling-yourself.md b/docs/self-hosting/scaling-for-production/option-1-manage-scaling-yourself.mdindex 4d0dc3e4..07aae25b 100644--- a/docs/self-hosting/scaling-for-production/option-1-manage-scaling-yourself.md+++ b/docs/self-hosting/scaling-for-production/option-1-manage-scaling-yourself.md@@ -2,7 +2,7 @@Reacher is stateless by design. This means that you can spawn instances of Reacher concurrently, and they don't need coordinate to perform email verifications.-However, in most cases, some coordination is desired. For example, to avoid IPs being blacklisted, we might want to limit to the number of spawned instances at any time (concurrency) or during a given period of time (throttling). See the last section in [proxies.md](../proxies.md "mention") for some actual numbers for these settings.+However, in most cases, some coordination is desired. For example, to avoid IPs being blacklisted, we might want to limit to the number of spawned instances at any time (concurrency) or during a given period of time (throttling). See the last section in [proxies](../proxies/ "mention") for some actual numbers for these settings.The best scaling solution for you is the one that fits into your architecture. Below are several scaling solutions, including both traditional and advanced approaches. They are often not mutually exclusive.@@ -23,7 +23,7 @@ The best scaling solution for you is the one that fits into your architecture. B* Infinite horizontal scaling.* No infrastructure management.* **Cons**:- * Complexity in managing rate-limiting and proxy usage (see those limits in [proxies.md](../proxies.md "mention")).+ * Complexity in managing rate-limiting and proxy usage (see those limits in [proxies](../proxies/ "mention")).* Higher cost for large-scale, constant usage.#### 3. **Amazon SQS with Worker Instances.**