1SMTP-SOURCE(1)              General Commands Manual             SMTP-SOURCE(1)
2
3
4

NAME

6       smtp-source - multi-threaded SMTP/LMTP test generator
7

SYNOPSIS

9       smtp-source [options] [inet:]host[:port]
10
11       smtp-source [options] unix:pathname
12

DESCRIPTION

14       smtp-source  connects to the named host and TCP port (default: port 25)
15       and sends one or more messages to it, either sequentially or in  paral‐
16       lel. The program speaks either SMTP (default) or LMTP.  Connections can
17       be made to UNIX-domain and IPv4 or IPv6 servers.  IPv4 and IPv6 are the
18       default.
19
20       Note:  this is an unsupported test program. No attempt is made to main‐
21       tain compatibility between successive versions.
22
23       Arguments:
24
25       -4     Connect to the server with IPv4. This option has no effect  when
26              Postfix is built without IPv6 support.
27
28       -6     Connect  to  the  server with IPv6. This option is not available
29              when Postfix is built without IPv6 support.
30
31       -c     Display a running counter that is incremented each time an  SMTP
32              DATA command completes.
33
34       -C count
35              When  a  host  sends  RESET  instead of SYN|ACK, try count times
36              before giving up. The default count is 1. Specify a larger count
37              in  order  to work around a problem with TCP/IP stacks that send
38              RESET when the listen queue is full.
39
40       -d     Don't disconnect after sending a message; send the next  message
41              over the same connection.
42
43       -f from
44              Use the specified sender address (default: <foo@myhostname>).
45
46       -l length
47              Send  length  bytes  as  message  payload.  The  length does not
48              include message headers.
49
50       -L     Speak LMTP rather than SMTP.
51
52       -m message_count
53              Send the specified number of messages (default: 1).
54
55       -M myhostname
56              Use the specified hostname or [address] in the HELO command  and
57              in  the  default  sender and recipient addresses, instead of the
58              machine hostname.
59
60       -N     Prepend  a  non-repeating  sequence  number  to  each  recipient
61              address. This avoids the artificial 100% hit rate in the resolve
62              and rewrite client caches and exercises the trivial-rewrite dae‐
63              mon,  better  approximating  Postfix performance under real-life
64              work-loads.
65
66       -o     Old mode: don't send HELO, and don't send message headers.
67
68       -r recipient_count
69              Send  the  specified  number  of  recipients   per   transaction
70              (default:  1).   Recipient  names  are generated by prepending a
71              number to the recipient address.
72
73       -s session_count
74              Run the specified number of SMTP sessions in parallel  (default:
75              1).
76
77       -S subject
78              Send mail with the named subject line (default: none).
79
80       -t to  Use the specified recipient address (default: <foo@myhostname>).
81
82       -R interval
83              Wait for a random period of time 0 <= n <= interval between mes‐
84              sages.  Suspending one thread does  not  affect  other  delivery
85              threads.
86
87       -v     Make the program more verbose, for debugging purposes.
88
89       -w interval
90              Wait  a fixed time between messages.  Suspending one thread does
91              not affect other delivery threads.
92
93       [inet:]host[:port]
94              Connect via TCP to host host, port port.  The  default  port  is
95              smtp.
96
97       unix:pathname
98              Connect to the UNIX-domain socket at pathname.
99

BUGS

101       No SMTP command pipelining support.
102

SEE ALSO

104       smtp-sink(1), SMTP/LMTP message dump
105

LICENSE

107       The Secure Mailer license must be distributed with this software.
108

AUTHOR(S)

110       Wietse Venema
111       IBM T.J. Watson Research
112       P.O. Box 704
113       Yorktown Heights, NY 10598, USA
114
115
116
117                                                                SMTP-SOURCE(1)
Impressum