.\" (C) 2002 Ian Gulliver .TH relaytest 1 2002-04-03 .SH NAME relaytest \- attempt to use SMTP to relay to a DSBL-compliant host .SH SYNOPSIS .BI "relaytest [-v] <" "ip address" "[:" "port" "]>" .SH DESCRIPTION relaytest attempts to connect to the specified .RI < "ip address" > on the specified .RI "" port "" (default is port 25) and uses a variety of tests to attempt to relay through the host. In the tests below, .B source.com is .I sender_domain from .BR dsbl.conf (5) and sender is .IR sender_user . .HP Non-domain-specific tests: MAIL FROM: .br RCPT TO: MAIL FROM: .br RCPT TO:<"listme@dsbl.org"> MAIL FROM: .br RCPT TO:listme@dsbl.org MAIL FROM: .br RCPT TO: MAIL FROM: .br RCPT TO: MAIL FROM: .br RCPT TO:<"listme@dsbl.org"> MAIL FROM: .br RCPT TO:listme@dsbl.org MAIL FROM: .br RCPT TO: MAIL FROM: .br RCPT TO: MAIL FROM: .br RCPT TO:<"listme@dsbl.org"> MAIL FROM: .br RCPT TO:listme@dsbl.org MAIL FROM: .br RCPT TO: MAIL FROM:<> .br RCPT TO: MAIL FROM:<> .br RCPT TO:<"listme@dsbl.org"> MAIL FROM:<> .br RCPT TO:listme@dsbl.org MAIL FROM:<> .br RCPT TO: .LP relaytest then builds a list of possible domains, including "[127.0.0.1]", "localhost", .RI [< "ip address" >], and any other domains that can be derived from reverse DNS of the IP or the SMTP greeting. .HP Domain specific tests: .RB "MAIL FROM: .br RCPT TO: .RB "MAIL FROM: .br RCPT TO:<"listme@dsbl.org"> .RB "MAIL FROM: .br RCPT TO:listme@dsbl.org .RB "MAIL FROM: .br .RB "RCPT TO: .RB "MAIL FROM: .br RCPT TO: .RB "MAIL FROM: .br RCPT TO:<"listme%dsbl.org"> .RB "MAIL FROM: .br .RB "RCPT TO: .RB "MAIL FROM: .br .RB "RCPT TO:<""listme@dsbl.org""@" DOMAIN > .RB "MAIL FROM: .br .RB "RCPT TO:<@" DOMAIN :listme@dsbl.org> .RB "MAIL FROM: .br RCPT TO: .RB "MAIL FROM: .br .RB "RCPT TO: .RB "MAIL FROM:<" DOMAIN !nobody> .br RCPT TO: .RB "MAIL FROM:<" DOMAIN !nobody> .br .RB "RCPT TO: .RB "MAIL FROM: .br RCPT TO: .RB "MAIL FROM: .br RCPT TO: .RB "MAIL FROM: .br RCPT TO: .RB "MAIL FROM: .br RCPT TO: .RB "MAIL FROM: .br RCPT TO: .RB "MAIL FROM: .br RCPT TO: .RB "MAIL FROM: .br RCPT TO: .LP relaytest then tries a variety of SMTP AUTH methods to try to relay a message through the target server. .HP The envelopes used for these tests are always: MAIL FROM: .br RCPT TO: .HP The SMTP AUTH methods tried are as follows: AUTH LOGIN, user=/webmaster, password=(null) .br AUTH LOGIN, user=admin, password=admin .br AUTH LOGIN, user=administrator, password=(null) .br AUTH LOGIN, user=test, password=test .br AUTH NTLM (anonymous) .SH OPTIONS .TP .B \-v Verbose mode. Details of the SMTP transaction are written to standard output. .SH AUTHOR Ian Gulliver .SH SEE ALSO .BR dsbl.conf (5), .BR spamtrap (1)