---
name: "auth-relaytest"
section: "1"
platform: "linux"
package: "dsbltesters"
version: "0.9.5-4"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/auth-relaytest"
---

# auth-relaytest(1)

attempt to use authenticated SMTP to relay to a DSBL-compliant host

## NAME

auth-relaytest - attempt to use authenticated SMTP to relay to a DSBL-compliant host

## SYNOPSIS

**auth-relaytest \[-tv\]** *ntlm* **\<***ip address***\[:***port***\]\>**\
 **auth-relaytest \[-tv\] (***cram-md5***\|***login***) \<***username***\> \<***password***\> \<***ip address***\[:***port***\]\>**

## DESCRIPTION

auth-relaytest attempts to connect to the specified \<*ip address*\> on the specified*port* (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)](/dsbl.conf/5.md) 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)](/dsbl.conf/5.md), 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.

## AUTHORS

Paul Howarth \<paul@city-fan.org\>\
 Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

[**dsbl.conf**(5)](/dsbl.conf/5.md), [**spamtrap**(1)](/spamtrap/1.md), [**relaytest**(1)](/relaytest/1.md)
