File: smtp-sink.1.html

package info (click to toggle)
postfix 2.3.8-2%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 15,744 kB
  • ctags: 11,426
  • sloc: ansic: 81,810; makefile: 10,743; sh: 7,874; perl: 2,468; awk: 41
file content (144 lines) | stat: -rw-r--r-- 5,702 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title> Postfix manual - smtp-sink(1) </title>
</head> <body> <pre>
SMTP-SINK(1)                                                      SMTP-SINK(1)

<b>NAME</b>
       smtp-sink - multi-threaded SMTP/LMTP test server

<b>SYNOPSIS</b>
       <b>smtp-sink</b> [<i>options</i>] [<b>inet:</b>][<i>host</i>]:<i>port backlog</i>

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

<b>DESCRIPTION</b>
       <b>smtp-sink</b> listens on the named host (or address) and port.
       It takes SMTP messages from the network  and  throws  them
       away.   The  purpose is to measure client performance, not
       protocol compliance.

       Connections can be accepted on IPv4 or IPv6 endpoints,  or
       on  UNIX-domain  sockets.   IPv4 and IPv6 are the default.
       This program is the complement of the <a href="smtp-source.1.html"><b>smtp-source</b>(1)</a>  pro-
       gram.

       Arguments:

       <b>-4</b>     Support  IPv4  only. This option has no effect when
              Postfix is built without IPv6 support.

       <b>-6</b>     Support IPv6 only. This  option  is  not  available
              when Postfix is built without IPv6 support.

       <b>-8</b>     Do not announce 8BITMIME support.

       <b>-a</b>     Do not announce SASL authentication support.

       <b>-c</b>     Display  running counters that are updated whenever
              an SMTP session ends, a QUIT command  is  executed,
              or when "." is received.

       <b>-C</b>     Disable XCLIENT support.

       <b>-e</b>     Do not announce ESMTP support.

       <b>-E</b>     Do not announce ENHANCEDSTATUSCODES support.

       <b>-f</b> <i>command,command,...</i>
              Reject  the  specified  commands  with a hard (5xx)
              error code.  This option implies <b>-p</b>.

              Examples of commands are CONNECT, HELO, EHLO, LHLO,
              MAIL,  RCPT,  VRFY,  DATA, ., RSET, NOOP, and QUIT.
              Separate command names by white  space  or  commas,
              and  use  quotes  to  protect  white space from the
              shell. Command names are case-insensitive.

       <b>-F</b>     Disable XFORWARD support.

       <b>-h</b> <i>hostname</i>
              Use <i>hostname</i> in the  SMTP  greeting,  in  the  HELO
              response,  and  in  the  EHLO response. The default
              hostname is "smtp-sink".

       <b>-L</b>     Enable LMTP instead of SMTP.

       <b>-n</b> <i>count</i>
              Terminate after <i>count</i> sessions. This is for testing
              purposes.

       <b>-p</b>     Do  not announce support for ESMTP command pipelin-
              ing.

       <b>-P</b>     Change the server greeting so that  it  appears  to
              come through a CISCO PIX system. Implies <b>-e</b>.

       <b>-q</b> <i>command,command,...</i>
              Disconnect  (without  replying) after receiving one
              of the specified commands.

              Examples of commands are CONNECT, HELO, EHLO, LHLO,
              MAIL,  RCPT,  VRFY,  DATA, ., RSET, NOOP, and QUIT.
              Separate command names by white  space  or  commas,
              and  use  quotes  to  protect  white space from the
              shell. Command names are case-insensitive.

       <b>-r</b> <i>command,command,...</i>
              Reject the specified commands  with  a  soft  (4xx)
              error code.  This option implies <b>-p</b>.

              Examples of commands are CONNECT, HELO, EHLO, LHLO,
              MAIL, RCPT, VRFY, DATA, ., RSET,  NOOP,  and  QUIT.
              Separate  command  names  by white space or commas,
              and use quotes to  protect  white  space  from  the
              shell. Command names are case-insensitive.

       <b>-s</b> <i>command,command,...</i>
              Log the named commands to syslogd.

              Examples of commands are CONNECT, HELO, EHLO, LHLO,
              MAIL, RCPT, VRFY, DATA, ., RSET,  NOOP,  and  QUIT.
              Separate  command  names  by white space or commas,
              and use quotes to  protect  white  space  from  the
              shell. Command names are case-insensitive.

       <b>-t</b> <i>timeout</i> (default: 100)
              Limit the time for receiving a command or sending a
              response.  The time limit is specified in  seconds.

       <b>-v</b>     Show the SMTP conversations.

       <b>-w</b> <i>delay</i>
              Wait <i>delay</i> seconds before responding to a DATA com-
              mand.

       [<b>inet:</b>][<i>host</i>]:<i>port</i>
              Listen on  network  interface  <i>host</i>  (default:  any
              interface) TCP port <i>port</i>. Both <i>host</i> and <i>port</i> may be
              specified in numeric or symbolic form.

       <b>unix:</b><i>pathname</i>
              Listen on the UNIX-domain socket at <i>pathname</i>.

       <i>backlog</i>
              The maximum length the  queue  of  pending  connec-
              tions, as defined by the <b>listen</b>(2) system call.

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

<b>LICENSE</b>
       The  Secure  Mailer  license must be distributed with this
       software.

<b>AUTHOR(S)</b>
       Wietse Venema
       IBM T.J. Watson Research
       P.O. Box 704
       Yorktown Heights, NY 10598, USA

                                                                  SMTP-SINK(1)
</pre> </body> </html>