auth-relaytest1
Attempt to use authenticated smtp to relay to a dsbl-compliant host
Usage
auth-relaytest [-tv]
ntlm
<ip
address
[:port]
>
auth-relaytest {[-tv]
(cram-md5 | login)
<username>
<password>
<ip
address
[:port]
>}
Overview
auth-relaytest attempts to connect to the specified <ip address> on the specifiedport (default is port 25) and tries to use the supplied authentication data to relay mail through the host.
auth-relaytest uses the sender_user, sender_domain, target_user, target_domain, and auth-message parameters from dsbl.conf(5) by default. If the auth-message parameter is not present, the message parameter is used instead.
In the first mode of operation shown, auth-relaytest attempts to authenticate using anonymous NTLM authentication. A well-known bug in certain Microsoft SMTP server implementations (described at http://www.microsoft.com/technet/security/bulletin/MS02-011.asp) will allow relaying for any client that authenticates in this way.
In the second form of operation, auth-relaytest attempts to authenticate using either the cram-md5 or login variant of SMTP AUTH, using the supplied username and password.
Options
-
-t -
Test mode. Instead of using the target_domain parameter from dsbl.conf(5), the test_target_domain parameter is used instead. This is useful for sending a test message to yourself, perhaps to check that the server is actually relaying the messages.
-
-v -
Verbose mode. Details of the SMTP transaction are written to standard output.
Releases
Unchanged in 5 releases since Debian 4.0 (Etch).