SMTPSEND(8)

NAME
smtpsend - SMTP message generator and benchmarking tool

SYNOPSIS
smtpsend [-v] [-p port]

DESCRIPTION
smtpsend is used to measure the performance of SMTP MTAs. It generates e-mail messages of a user defined size (or 1024 bytes per default) and delivers them via SMTP to a MTA. smtpsend can either generate as many messages as possible over a certain amount of time or deliver a specified number of messages. In either case smtpsend will measure the time elapsed and the number of messages delivered. After the program run it will output the time elapsed, the number of messages delivered, the average number of messages delivered per minute and per second as well as the average delivery time per message. smtpsend forks one or more parallel senders each using one or more sequential connections to a SMTP server to deliver one or more messages per connection.

The options are as follows:

-s  Maxmimum number of parallel senders.

-m  Number of messages to send per connection.

-b  Size of messages in bytes.

-m  Number of messages to send per connection.

-n  Send at least n messages (the total number of messages sent may be different because a sender always sends all of its messages).

-t  Total time to run (this option can not be used together with -n).

-p  Specify port to listen on

-F  Specify address to use as the senders address (both in the envelope and the message header).

-T  Specify the recipients address.

-S  Subject of the generated messages.

-v  Increase the level of verbosity. Use once to display SMTP traffic without DATA phase on stdout, use twice to include DATA phase int he output.

BUGS
The exit status of a forked sender is not checked. The result will not be reliable if one or more senders aborts due to an error. This behaviour will eventually be changed.

AUTHORS
Marc Balmer <marc@msys.ch>

SEE ALSO
smtpsink(8)