SYNOPSIS
relaytest [-v] <ip address[:port]>DESCRIPTION
relaytest attempts to connect to the specified <ip address> on the specified port (default is port 25) and uses a variety of tests to attempt to relay through the host.In the tests below, source.com is sender_domain from dsbl.conf(5) and sender is sender_user.
- Non-domain-specific tests:
MAIL FROM:<[email protected]>
RCPT TO:<[email protected]>MAIL FROM:<[email protected]>
RCPT TO:<"[email protected]">MAIL FROM:<[email protected]>
RCPT TO:[email protected]MAIL FROM:<[email protected]>
RCPT TO:<dsbl.org!listme>MAIL FROM:<nobody>
RCPT TO:<[email protected]>MAIL FROM:<nobody>
RCPT TO:<"[email protected]">MAIL FROM:<nobody>
RCPT TO:[email protected]MAIL FROM:<nobody>
RCPT TO:<dsbl.org!listme>MAIL FROM:<source.com!sender>
RCPT TO:<[email protected]>MAIL FROM:<source.com!sender>
RCPT TO:<"[email protected]">MAIL FROM:<source.com!sender>
RCPT TO:[email protected]MAIL FROM:<source.com!sender>
RCPT TO:<dsbl.org!listme>MAIL FROM:<>
RCPT TO:<[email protected]>MAIL FROM:<>
RCPT TO:<"[email protected]">MAIL FROM:<>
RCPT TO:[email protected]MAIL FROM:<>
RCPT TO:<dsbl.org!listme>
relaytest then builds a list of possible domains, including "[127.0.0.1]", "localhost", [<ip address>], and any other domains that can be derived from reverse DNS of the IP or the SMTP greeting.
- Domain specific tests:
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<[email protected]>MAIL FROM:<nobody@DOMAIN>
RCPT TO:<"[email protected]">MAIL FROM:<nobody@DOMAIN>
RCPT TO:[email protected]MAIL FROM:<nobody@DOMAIN>
RCPT TO:<listme%dsbl.org@DOMAIN>MAIL FROM:<nobody@DOMAIN>
RCPT TO:<listme%dsbl.org>MAIL FROM:<nobody@DOMAIN>
RCPT TO:<"listme%dsbl.org">MAIL FROM:<nobody@DOMAIN>
RCPT TO:<[email protected]@DOMAIN>MAIL FROM:<nobody@DOMAIN>
RCPT TO:<"[email protected]"@DOMAIN>MAIL FROM:<nobody@DOMAIN>
RCPT TO:<@DOMAIN:[email protected]>MAIL FROM:<nobody@DOMAIN>
RCPT TO:<dsbl.org!listme>MAIL FROM:<nobody@DOMAIN>
RCPT TO:<dsbl.org!listme@DOMAIN>MAIL FROM:<DOMAIN!nobody>
RCPT TO:<dsbl.org!listme>MAIL FROM:<DOMAIN!nobody>
RCPT TO:<dsbl.org!listme@DOMAIN>MAIL FROM:<nobody@DOMAIN>
RCPT TO:<[email protected]>MAIL FROM:<postmaster@DOMAIN>
RCPT TO:<[email protected]>MAIL FROM:<administrator@DOMAIN>
RCPT TO:<[email protected]>MAIL FROM:<sales@DOMAIN>
RCPT TO:<[email protected]>MAIL FROM:<info@DOMAIN>
RCPT TO:<[email protected]>MAIL FROM:<webmaster@DOMAIN>
RCPT TO:<[email protected]>MAIL FROM:<listserv@DOMAIN>
RCPT TO:<[email protected]>
relaytest then tries a variety of SMTP AUTH methods to try to relay a message through the target server.
- The envelopes used for these tests are always:
MAIL FROM:<[email protected]>
RCPT TO:<[email protected]> - The SMTP AUTH methods tried are as follows:
AUTH LOGIN, user=/webmaster, password=(null)
AUTH LOGIN, user=admin, password=admin
AUTH LOGIN, user=administrator, password=(null)
AUTH LOGIN, user=test, password=test
AUTH NTLM (anonymous)
OPTIONS
- -v
-
Verbose mode. Details of the SMTP transaction are written to standard output.