1SMTPPING(1) BSD General Commands Manual SMTPPING(1)
2
4 smtpping — SMTP benchmarking and measurement tool
5
7 smtpping [-dqrJ46C] [-p port] [-w wait] [-c count] [-P parallel]
8 [-s size] [-f file] [-H hello] [-S sender] recipient [@server]
9
11 smtpping is a small tool that performs SMTP server delay, delay variation
12 and throughput measurements.
13
14 It must be invoked with the recipient email address. Normally, the server
15 should also be specified (prefixed with @); otherwise smtpping will try
16 to find the recipient domain's MX record, falling back on A/AAAA records.
17
18 The following options are available:
19
20 -4 Use IPv4.
21
22 -6 Use IPv6.
23
24 -p port
25 Specifies the TCP port to use (default: 25).
26
27 -w wait
28 Time in milliseconds to wait between pings (default: 1000).
29
30 -c count
31 Number of pings to send (default: unlimited).
32
33 -P processes
34 Number of parallel worker processes (default: 1). To measure
35 throughput, it's recommended to use -r and -w0 with this option.
36
37 -s size
38 Ping message size in kilobytes (default: 10). Cannot be used in
39 conjunction with the -f option.
40
41 -f file
42 Send the specified email file (message/rfc822) instead of a gen‐
43 erated message. Cannot be used in conjunction with the -s option.
44
45 -H helo
46 HELO name (default: localhost.localdomain).
47
48 -S sender
49 Sender address (default: <>).
50
51 -C Use CHUNKING (BDAT)
52
53 -r Display rate instead of transaction delays. To measure through‐
54 put, it's recommended to use -w0 and possibly -P with this op‐
55 tion.
56
57 -q Display less verbose output.
58
59 -d Display more verbose output.
60
62 The smtpping program was written by Anders Berggren <anders@desh.se> and
63 Erik Lax <erik@datahack.se> for Halon Security AB.
64
65BSD December 3, 2015 BSD