smtp-source.1.html   [plain text]

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
<html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title> Postfix manual - smtp-source(1) </title>
</head> <body> <pre>
SMTP-SOURCE(1)                                                  SMTP-SOURCE(1)

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

       <b>smtp-source</b> [<i>options</i>] [<b>inet:</b>]<i>host</i>[:<i>port</i>]

       <b>smtp-source</b> [<i>options</i>] <b>unix:</b><i>pathname</i>

       <b>smtp-source</b>  connects  to  the  named  <i>host</i>  and  TCP <i>port</i>
       (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 or IPv6 servers.  IPv4 and IPv6 are
       the default.

       Note: this is an unsupported test program. No  attempt  is
       made  to  maintain  compatibility  between successive ver-


       <b>-4</b>     Connect to the server with IPv4. This option has no
              effect  when Postfix is built without IPv6 support.

       <b>-6</b>     Connect to the server with IPv6. This option is not
              available  when  Postfix is built without IPv6 sup-

       <b>-A</b>     Don't abort when the server sends  something  other
              than the expected positive reply code.

       <b>-c</b>     Display  a running counter that is incremented each
              time an SMTP DATA command completes.

       <b>-C</b> <i>count</i>
              When a host sends RESET  instead  of  SYN|ACK,  try
              <i>count</i>  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.

       <b>-d</b>     Don't disconnect after sending a message; send  the
              next message over the same connection.

       <b>-f</b> <i>from</i>
              Use   the   specified   sender   address  (default:
              &lt;foo@<a href="postconf.5.html#myhostname">myhostname</a>&gt;).

       <b>-F</b> <i>file</i>
              Send the pre-formatted message header and  body  in
              the  specified  <i>file</i>,  while  prepending '.' before
              lines that begin with '.', and while appending CRLF
              after each line.

       <b>-l</b> <i>length</i>
              Send  <i>length</i>  bytes  as message payload. The length
              does not include message headers.

       <b>-L</b>     Speak LMTP rather than SMTP.

       <b>-m</b> <i>message</i><b>_</b><i>count</i>
              Send the specified number of messages (default: 1).

       <b>-M</b> <i><a href="postconf.5.html#myhostname">myhostname</a></i>
              Use the specified hostname or [address] in the HELO
              command and in the  default  sender  and  recipient
              addresses, instead of the machine hostname.

       <b>-N</b>     Prepend  a  non-repeating  sequence  number to each
              recipient address. This avoids the artificial  100%
              hit  rate  in the resolve and rewrite client caches
              and exercises the  trivial-rewrite  daemon,  better
              approximating  Postfix  performance under real-life

       <b>-o</b>     Old mode: don't send HELO, and don't  send  message

       <b>-r</b> <i>recipient</i><b>_</b><i>count</i>
              Send  the specified number of recipients per trans-
              action (default: 1).  Recipient names are generated
              by prepending a number to the recipient address.

       <b>-R</b> <i>interval</i>
              Wait for a random period of time 0 &lt;= n &lt;= interval
              between messages.  Suspending one thread  does  not
              affect other delivery threads.

       <b>-s</b> <i>session</i><b>_</b><i>count</i>
              Run the specified number of SMTP sessions in paral-
              lel (default: 1).

       <b>-S</b> <i>subject</i>
              Send mail with the  named  subject  line  (default:

       <b>-t</b> <i>to</i>  Use   the  specified  recipient  address  (default:
              &lt;foo@<a href="postconf.5.html#myhostname">myhostname</a>&gt;).

       <b>-v</b>     Make the program more verbose, for  debugging  pur-

       <b>-w</b> <i>interval</i>
              Wait a fixed time between messages.  Suspending one
              thread does not affect other delivery threads.

              Connect via  TCP  to  host  <i>host</i>,  port  <i>port</i>.  The
              default port is <b>smtp</b>.

              Connect to the UNIX-domain socket at <i>pathname</i>.

       No SMTP command pipelining support.

<b>SEE ALSO</b>
       <a href="smtp-sink.1.html">smtp-sink(1)</a>, SMTP/LMTP message dump

       The  Secure  Mailer  license must be distributed with this

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

</pre> </body> </html>