---
name: "smtp-source"
section: "8"
platform: "linux"
package: "postfix"
version: "0.0.19991231pl11-2"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/smtp-source/8"
---

# smtp-source(8)

multi-threaded SMTP test generator

## NAME

smtp-source - multi-threaded SMTP test generator

## SYNOPSIS

```
smtp-source [options] host[:port]
```

## DESCRIPTION

smtp-source connects to the named host and port (default 25) and sends one or more little messages to it, either sequentially or in parallel.

Options:

- \-c

  Display a running counter that is incremented each time an SMTP DATA command completes.

- \-C count

  When a host sends RESET instead of SYN\|ACK, try *count* times before giving up. The default count is 1. Specify a larger count in order to work around a problem with TCP/IP stacks that send RESET when the listen queue is full.

- \-d

  Don't disconnect after sending a message; send the next message over the same connection.

- \-f from

  Use the specified sender address (default: \<foo@myhostname\>).

- \-o

  Old mode: don't send HELO, and don't send message headers.

- \-l length

  Send *length* bytes as message payload.

- \-m message\_count

  Send the specified number of messages (default: 1).

- \-r recipient\_count

  Send the specified number of recipients per transaction (default: 1). Recipient names are generated by prepending a number to the recipient address. The default is one recipient per transaction.

- \-s session\_count

  Run the specified number of SMTP sessions in parallel (default: 1).

- \-t to

  Use the specified recipient address (default: \<foo@myhostname\>).

- \-R interval

  Wait for a random period of time 0 \<= n \<= interval between messages. Suspending one thread does not affect other delivery threads.

- \-w interval

  Wait a fixed time between messages. Suspending one thread does not affect other delivery threads.

## LICENSE

```

```

The Secure Mailer license must be distributed with this software.

## AUTHOR(S)

```
Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA
```
