Skip to content

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.

GITBOOK-24: docs: Proxies update

[email protected]b4531ba4e214
diff --git a/docs/self-hosting/debugging-reacher.md b/docs/self-hosting/debugging-reacher.md
index dafa02bb..8ff73c6f 100644
--- a/docs/self-hosting/debugging-reacher.md
+++ b/docs/self-hosting/debugging-reacher.md
@@ -137,7 +137,7 @@ In other cases, you can enable the `RUST_LOG=debug` environment variable on your
* IP Blacklisted:
`5.7.1 Service unavailable; Client host [<YOUR_IP>] is blacklisted. Visit https://www.sophos.com/en-us/threat-center/ip-lookup.aspx?ip=<YOUR_IP> to request delisting`
-* Your `FROM` field does not match the reverse DNE\
+* Your `FROM` field does not match the reverse DNS\
`(mxgmx117) Nemesis ESMTP Service not available; No SMTP service;`
## Contact me
diff --git a/docs/self-hosting/proxies/README.md b/docs/self-hosting/proxies/README.md
index 300308e0..457fdae8 100644
--- a/docs/self-hosting/proxies/README.md
+++ b/docs/self-hosting/proxies/README.md
@@ -27,24 +27,12 @@ Once you've purchased a proxy, run the Docker command (see how in [install.md](.
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 %}
+{% hint style="info" %}
+For advanced usage, you can configure [multiple-proxies.md](multiple-proxies.md "mention").
+{% endhint %}
+
## Which 3rd-party proxies does Reacher recommend?
Reacher has been working closely with [Proxy4Smtp](https://www.proxy4smtp.com) since early 2024. The service is run by Jon, an email verification expert who has had over 10 years experience in the industry. He understands the complications and challenges that arise from large scale SMTP connections. His proxies integrate seamlessly with Reacher, and are tailored for B2B emails.
Ask [[email protected]](https://app.gitbook.com/u/F1LnsqPFtfUEGlcILLswbbp5cgk2 "mention") for an introduction to Jon.
-
-## Configure Reacher to respect Proxy limits
-
-If using proxies from [Proxy4Smtp](https://www.proxy4smtp.com/), we highly recommend respecting the following concurrency and throttling limits, to avoid getting the IPs that you purchased blacklisted:
-
-* **10,000 email verifications per IP per day**. You may buy as much IPs as you wish, but the total number of email verifications should respect this limit to avoid getting blacklisted.
-* **60 email verifications per IP per minute**. Usage spikes are easily detectable by email providers, which will proceed to flag these IPs, so we highly recommend to smoothen out the email verification stream.
-* **5 concurrent verifications per IP at any time**. Given that each email verification takes in average a handful of seconds, this setting should work well with the above setting of 60 verifications per minute.
-
-To estimate how many IPs you should buy, we recommend starting from your expected monthly volume, and calculate the number of IPs you need from there. For example, if you're aiming for 10 millions verifications per month, we recommend buying 33 or 34 IPs:
-
-```
-10,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.
diff --git a/docs/self-hosting/proxies/multiple-proxies.md b/docs/self-hosting/proxies/multiple-proxies.md
index 913547f0..c2dd9df1 100644
--- a/docs/self-hosting/proxies/multiple-proxies.md
+++ b/docs/self-hosting/proxies/multiple-proxies.md
@@ -8,7 +8,7 @@ For advanced use cases, Reacher supports a routing mechanism to route email veri
The configuration is divided in 2 steps:
-1. Define a list of proxies. e.g. `"proxy1"`, `"proxy2"`etc...
+1. Define a list of proxies. e.g. `"proxy1"`, `"proxy2"`etc., each with their configuration data.
2. Define routing rules, e.g. `route Gmail to "proxy1"`, `route Hotmail B2B to "proxy2"`etc...
### 1. Define a list of Proxies
diff --git a/docs/self-hosting/reacher-configuration-v0.10.md b/docs/self-hosting/reacher-configuration-v0.10.md
index ac99a77b..ffee131f 100644
--- a/docs/self-hosting/reacher-configuration-v0.10.md
+++ b/docs/self-hosting/reacher-configuration-v0.10.md
@@ -42,7 +42,10 @@ hello_name = "localhost"
from_email = "hello@localhost"
# Timeout for each SMTP connection, in seconds. Leaving it commented out will
-# not set a timeout, i.e. the connection will wait indefinitely.
+# not set a timeout, i.e. the connection will wait indefinitely. If using a
+# proxy, this timeout includes both the time to connect to the proxy and the
+# time to connect to perform the whole SMTP verification. Also see:
+# `proxy.timeout_ms`.
#
# Env variable: RCH__SMTP_TIMEOUT
# smtp_timeout = 45
@@ -63,54 +66,49 @@ from_email = "hello@localhost"
# 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
-# 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.
+# Uncomment the line `[proxy]` below to route all SMTP verification requests
+# through a specified proxy.
+# [proxy]
+
+# The proxy host and port. The proxy must be a SOCKS5 proxy to work with the
+# SMTP protocol. This proxy will not be used for headless verifications.
#
# Env variables:
# - RCH__PROXY__HOST
# - RCH__PROXY__PORT
-# - RCH__PROXY__USERNAME
-# - RCH__PROXY__PASSWORD
#
-# [proxy]
+# Uncomment the two lines below if the `[proxy]` section is uncommented.
# host = "my.proxy.com"
# port = 1080
-# username = "my-username"
-# password = "my-password"
-
-[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.
+# Username and password for the proxy. These 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
+# Uncomment the two lines below if needed.
# username = "my-username"
# password = "my-password"
+# This is the timeout for the proxy connection, in milliseconds. Please note
+# that this is not the timeout for the SMTP connection itself, but rather the
+# timeout for the connection to the proxy server only. As such, it can be kept
+# quite low, for example 5000-10000ms. For a full timeout of the SMTP
+# connection, please use the `smtp_timeout` field above.
+#
+# Env variable: RCH__PROXY__TIMEOUT_MS
+#
+# Uncomment the line below if needed.
+# timeout_ms = 10000
+
+[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"
+
# Override verification method to use for each email provider. Each email provider can
# be verified using one of the following methods:
# - Gmail: smtp
@@ -192,9 +190,9 @@ webdriver_addr = "http://localhost:9515"
# - RCH__THROTTLE__MAX_REQUESTS_PER_DAY
[throttle]
# max_requests_per_second = 20
-max_requests_per_minute = 60
+# max_requests_per_minute = 60
# max_requests_per_hour = 1000
-max_requests_per_day = 10000
+# 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
diff --git a/docs/self-hosting/scaling-for-production/option-2-rabbitmq-based-queue-architecture.md b/docs/self-hosting/scaling-for-production/option-2-rabbitmq-based-queue-architecture.md
index 74e1c5c7..71fd2d0c 100644
--- a/docs/self-hosting/scaling-for-production/option-2-rabbitmq-based-queue-architecture.md
+++ b/docs/self-hosting/scaling-for-production/option-2-rabbitmq-based-queue-architecture.md
@@ -30,12 +30,6 @@ Since spawning workers on cloud providers doesn't guarantee a reputable IP assig
The Dockerfile provided in the Commercial License Trial already has these parameters set up.
{% endhint %}
-**Proxy Recommendation**:
-
-* Use one proxy IP per 10,000 email verifications per day.
-* Purchase additional proxy IPs as needed to scale.
-* Spawn as many workers as IPs you purchased.
-
#### Concurrency and Throttling Parameters
To prevent IP blacklisting, configure the following parameters:
@@ -50,17 +44,6 @@ To prevent IP blacklisting, configure the following parameters:
The Dockerfile provided in the Commercial License Trial already has these parameters set up.
{% endhint %}
-#### Scaling Example
-
-For scaling, buy additional proxy IPs and spawn more workers accordingly. The "rule of thumb" is **10,000 verifications per IP per day**.
-
-For example, if your target is 10 million verifications per month:
-
-1. Daily volume = 10,000,000 emails / 30 days = 333,000 emails/day.
-2. Number of required IPs = 333,000 emails/day / 10,000 emails/IP = **33 or 34 IPs**.
-
-We suggest deploying one Reacher instance per purchased IP. The settings outlined above ensure fair email verification usage as perceived by external email providers. For advanced applications, these values can be adjusted to optimize performance.
-
## Understanding the architecture with Docker Compose
We do not recommend using Docker Compose for a high-volume production setup. However, for understanding or learning the architecture, this [`docker_compose.yaml`](../../../docker-compose.yaml) file can be useful.