2004-05-31 04:23:53 +04:00
|
|
|
.\" $NetBSD: smtp-source.1,v 1.1.1.3 2004/05/31 00:24:16 heas Exp $
|
|
|
|
.\"
|
2004-04-27 08:12:43 +04:00
|
|
|
.TH SMTP-SOURCE 1
|
2002-12-24 22:39:42 +03:00
|
|
|
.ad
|
|
|
|
.fi
|
|
|
|
.SH NAME
|
|
|
|
smtp-source
|
|
|
|
\-
|
2004-04-27 08:12:43 +04:00
|
|
|
multi-threaded SMTP/LMTP test generator
|
|
|
|
.SH "SYNOPSIS"
|
2002-12-24 22:39:42 +03:00
|
|
|
.na
|
|
|
|
.nf
|
|
|
|
.fi
|
|
|
|
\fBsmtp-source\fR [\fIoptions\fR] [\fBinet:\fR]\fIhost\fR[:\fIport\fR]
|
|
|
|
|
|
|
|
\fBsmtp-source\fR [\fIoptions\fR] \fBunix:\fIpathname\fR
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.ad
|
|
|
|
.fi
|
2004-04-27 08:12:43 +04:00
|
|
|
\fBsmtp-source\fR connects to the named \fIhost\fR and TCP \fIport\fR
|
2002-12-24 22:39:42 +03:00
|
|
|
(default: port 25)
|
|
|
|
and sends one or more messages to it, either sequentially
|
|
|
|
or in parallel. The program speaks either SMTP (default) or
|
|
|
|
LMTP. Connections can be made to UNIX-domain and IPV4 servers.
|
|
|
|
IPV4 is the default.
|
|
|
|
|
|
|
|
Arguments:
|
|
|
|
.IP \fB-c\fR
|
|
|
|
Display a running counter that is incremented each time
|
|
|
|
an SMTP DATA command completes.
|
|
|
|
.IP "\fB-C \fIcount\fR"
|
|
|
|
When a host sends RESET instead of SYN|ACK, try \fIcount\fR 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.
|
|
|
|
.IP \fB-d\fR
|
|
|
|
Don't disconnect after sending a message; send the next
|
|
|
|
message over the same connection.
|
|
|
|
.IP "\fB-f \fIfrom\fR"
|
|
|
|
Use the specified sender address (default: <foo@myhostname>).
|
|
|
|
.IP \fB-o\fR
|
|
|
|
Old mode: don't send HELO, and don't send message headers.
|
|
|
|
.IP "\fB-l \fIlength\fR"
|
|
|
|
Send \fIlength\fR bytes as message payload. The length does not
|
|
|
|
include message headers.
|
|
|
|
.IP \fB-L\fR
|
|
|
|
Speak LMTP rather than SMTP.
|
|
|
|
.IP "\fB-m \fImessage_count\fR"
|
|
|
|
Send the specified number of messages (default: 1).
|
|
|
|
.IP "\fB-r \fIrecipient_count\fR"
|
|
|
|
Send the specified number of recipients per transaction (default: 1).
|
|
|
|
Recipient names are generated by prepending a number to the
|
|
|
|
recipient address.
|
|
|
|
.IP "\fB-s \fIsession_count\fR"
|
|
|
|
Run the specified number of SMTP sessions in parallel (default: 1).
|
|
|
|
.IP "\fB-S \fIsubject\fR"
|
|
|
|
Send mail with the named subject line (default: none).
|
|
|
|
.IP "\fB-t \fIto\fR"
|
|
|
|
Use the specified recipient address (default: <foo@myhostname>).
|
|
|
|
.IP "\fB-R \fIinterval\fR"
|
|
|
|
Wait for a random period of time 0 <= n <= interval between messages.
|
|
|
|
Suspending one thread does not affect other delivery threads.
|
|
|
|
.IP "\fB-w \fIinterval\fR"
|
|
|
|
Wait a fixed time between messages.
|
|
|
|
Suspending one thread does not affect other delivery threads.
|
|
|
|
.IP [\fBinet:\fR]\fIhost\fR[:\fIport\fR]
|
|
|
|
Connect via TCP to host \fIhost\fR, port \fIport\fR. The default
|
|
|
|
port is \fBsmtp\fR.
|
|
|
|
.IP \fBunix:\fIpathname\fR
|
|
|
|
Connect to the UNIX-domain socket at \fIpathname\fR.
|
|
|
|
.SH BUGS
|
|
|
|
.ad
|
|
|
|
.fi
|
|
|
|
No SMTP command pipelining support.
|
2004-04-27 08:12:43 +04:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
.na
|
|
|
|
.nf
|
|
|
|
smtp-sink(1), SMTP/LMTP message dump
|
|
|
|
.SH "LICENSE"
|
2002-12-24 22:39:42 +03:00
|
|
|
.na
|
|
|
|
.nf
|
|
|
|
.ad
|
|
|
|
.fi
|
|
|
|
The Secure Mailer license must be distributed with this software.
|
2004-04-27 08:12:43 +04:00
|
|
|
.SH "AUTHOR(S)"
|
2002-12-24 22:39:42 +03:00
|
|
|
.na
|
|
|
|
.nf
|
|
|
|
Wietse Venema
|
|
|
|
IBM T.J. Watson Research
|
|
|
|
P.O. Box 704
|
|
|
|
Yorktown Heights, NY 10598, USA
|