Debugging Reacher

How to debug Reacher?

The reflex to have when debugging Reacher is to set the -e RUST_LOG=debug flag to Docker. This will show all debug logs useful to pinpoint where the error happened.

If you still don't understand the error after setting that flag, send an email to [email protected]envelope along with those debug logs.

How to check if port 25 is open?

This only concerns users installing Reacher on a server without using Proxiesarrow-up-right.

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.

To test this, there are two methods:

  1. curl (try this first)

  2. telnet (more advanced)

1. Test port 25 with curl

Paste the following command in the shell of your server.

curl -sSf --verbose -k smtp://alt1.gmail-smtp-in.l.google.com:25 --ssl-reqd --mail-from [email protected] --mail-rcpt [email protected]
chevron-righthashtag

2. Test port 25 with telnet

Paste the following command in the shell of your server.

chevron-righthashtag

chevron-righthashtag

Which cloud providers have port 25 open?

Here are details about some of the most well-known providers:

How can I debug "is_reachable": "unknown"?

In most cases, if you have a TimeoutError, it means that port 25 is closed. Refer to the questions above about opening port 25.

In other cases, you can enable the RUST_LOG=debug environment variable on your server or on your Docker container. Then, by looking at the logs when performing an email verification, you can debug why is_reachable is unknown. Some example of logs you might find:

  • 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 DNS (mxgmx117) Nemesis ESMTP Service not available; No SMTP service;

Contact me

If you encounter any issue that you don't know how to solve, simply send me an email to [email protected]envelope.

Last updated