<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Postfix%3A_smtp-sink</id>
	<title>Postfix: smtp-sink - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Postfix%3A_smtp-sink"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Postfix:_smtp-sink&amp;action=history"/>
	<updated>2026-04-20T09:12:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Postfix:_smtp-sink&amp;diff=43543&amp;oldid=prev</id>
		<title>Onnowpurbo at 10:26, 8 June 2015</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Postfix:_smtp-sink&amp;diff=43543&amp;oldid=prev"/>
		<updated>2015-06-08T10:26:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://lms.onnocenter.or.id/wiki/index.php?title=Postfix:_smtp-sink&amp;amp;diff=43543&amp;amp;oldid=43538&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Postfix:_smtp-sink&amp;diff=43538&amp;oldid=prev</id>
		<title>Onnowpurbo at 09:52, 8 June 2015</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Postfix:_smtp-sink&amp;diff=43538&amp;oldid=prev"/>
		<updated>2015-06-08T09:52:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:52, 8 June 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l278&quot;&gt;Line 278:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 278:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        Yorktown Heights, NY 10598, USA&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        Yorktown Heights, NY 10598, USA&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Menjalankan==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Now let&#039;s turn our attention to smtp-sink to find out how many messages per second your server can handle from your horrible mass mailing sofware. Postfix has to process each outgoing message even if the server on the other side throws it away (therefore, you can&#039;t use this to test the raw performance of your mass mailer unless you connect your mailer directly to smtp-sink).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The following example sets up an SMTP listener on port 25 of localhost:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ ./smtp-sink -c localhost:25 1000&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Now you can run your client tests.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If you want to get an idea for how much overhead the network imposes and also get a control experiment to see what the theoretical maximum throughput for a mail server, you can make smtp-source and smtp-sink talk to each other. Open two windows. In the first, start up the dummy server like this:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;# ./smtp-sink -c localhost:25 1000&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;100&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;With this in place, start throwing messages at this server with smtp-source in the other window:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$ time ./smtp-source -s 20 -l 5120 -m 100 -c \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  -f sender@example.com -t recipient@example.com localhost:25&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;100&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;real    0m0.239s&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;user    0m0.000s&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sys     0m0.040s&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This output shows that smtp-sink is much faster at accepting messages than Postfix. It took only 0.239 seconds to accept the messages, which is 18 times faster than the Postfix injection process. Now, wouldn&#039;t it be nice if you could throw away all incoming email like this?&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Postfix:_smtp-sink&amp;diff=43536&amp;oldid=prev</id>
		<title>Onnowpurbo: New page: SMTP-SINK(1)                                                      SMTP-SINK(1)  NAME        smtp-sink - parallelized SMTP/LMTP test server  SYNOPSIS        smtp-sink [options] [inet:][host...</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Postfix:_smtp-sink&amp;diff=43536&amp;oldid=prev"/>
		<updated>2015-06-08T09:47:48Z</updated>

		<summary type="html">&lt;p&gt;New page: SMTP-SINK(1)                                                      SMTP-SINK(1)  NAME        smtp-sink - parallelized SMTP/LMTP test server  SYNOPSIS        smtp-sink [options] [inet:][host...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;SMTP-SINK(1)                                                      SMTP-SINK(1)&lt;br /&gt;
&lt;br /&gt;
NAME&lt;br /&gt;
       smtp-sink - parallelized SMTP/LMTP test server&lt;br /&gt;
&lt;br /&gt;
SYNOPSIS&lt;br /&gt;
       smtp-sink [options] [inet:][host]:port backlog&lt;br /&gt;
&lt;br /&gt;
       smtp-sink [options] unix:pathname backlog&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION&lt;br /&gt;
       smtp-sink  listens  on  the named host (or address) and port.  It takes&lt;br /&gt;
       SMTP messages from the network and throws them away.  The purpose is to&lt;br /&gt;
       measure client performance, not protocol compliance.&lt;br /&gt;
&lt;br /&gt;
       smtp-sink may also be configured to capture each mail delivery transac-&lt;br /&gt;
       tion to file. Since  disk  latencies  are  large  compared  to  network&lt;br /&gt;
       delays,  this  mode  of operation can reduce the maximal performance by&lt;br /&gt;
       several orders of magnitude.&lt;br /&gt;
&lt;br /&gt;
       Connections  can  be  accepted  on  IPv4  or  IPv6  endpoints,  or   on&lt;br /&gt;
       UNIX-domain  sockets.   IPv4 and IPv6 are the default.  This program is&lt;br /&gt;
       the complement of the smtp-source(1) program.&lt;br /&gt;
&lt;br /&gt;
       Note: this is an unsupported test program. No attempt is made to  main-&lt;br /&gt;
       tain compatibility between successive versions.&lt;br /&gt;
&lt;br /&gt;
       Arguments:&lt;br /&gt;
&lt;br /&gt;
       -4     Support  IPv4  only.  This  option has no effect when Postfix is&lt;br /&gt;
              built without IPv6 support.&lt;br /&gt;
&lt;br /&gt;
       -6     Support IPv6 only. This option is not available when Postfix  is&lt;br /&gt;
              built without IPv6 support.&lt;br /&gt;
&lt;br /&gt;
       -8     Do not announce 8BITMIME support.&lt;br /&gt;
&lt;br /&gt;
       -a     Do not announce SASL authentication support.&lt;br /&gt;
&lt;br /&gt;
       -A delay&lt;br /&gt;
              Wait  delay  seconds after responding to DATA, then abort prema-&lt;br /&gt;
              turely with a 550 reply status.  Do not read further input  from&lt;br /&gt;
              the  client;  this  is  an attempt to block the client before it&lt;br /&gt;
              sends &amp;quot;.&amp;quot;.  Specify a zero delay value to abort immediately.&lt;br /&gt;
&lt;br /&gt;
       -b soft-bounce-reply&lt;br /&gt;
              Use soft-bounce-reply for soft reject  responses.   The  default&lt;br /&gt;
              reply is &amp;quot;450 4.3.0 Error: command failed&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
       -B hard-bounce-reply&lt;br /&gt;
              Use  hard-bounce-reply  for  hard reject responses.  The default&lt;br /&gt;
              reply is &amp;quot;500 5.3.0 Error: command failed&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
       -c     Display running counters that are updated whenever an SMTP  ses-&lt;br /&gt;
              sion  ends, a QUIT command is executed, or when &amp;quot;.&amp;quot; is received.&lt;br /&gt;
&lt;br /&gt;
       -C     Disable XCLIENT support.&lt;br /&gt;
&lt;br /&gt;
       -d dump-template&lt;br /&gt;
              Dump each mail transaction to a single-message file  whose  name&lt;br /&gt;
              is  created  by  expanding the dump-template via strftime(3) and&lt;br /&gt;
              appending   a   pseudo-random   hexadecimal   number   (example:&lt;br /&gt;
              &amp;quot;%Y%m%d%H/%M.&amp;quot;  expands  into &amp;quot;2006081203/05.809a62e3&amp;quot;).  If the&lt;br /&gt;
              template contains &amp;quot;/&amp;quot; characters, missing directories  are  cre-&lt;br /&gt;
              ated automatically.  The message dump format is described below.&lt;br /&gt;
&lt;br /&gt;
              Note: this option keeps one capture file  open  for  every  mail&lt;br /&gt;
              transaction in progress.&lt;br /&gt;
&lt;br /&gt;
       -D dump-template&lt;br /&gt;
              Append mail transactions to a multi-message dump file whose name&lt;br /&gt;
              is created by expanding the dump-template via  strftime(3).   If&lt;br /&gt;
              the  template  contains  &amp;quot;/&amp;quot; characters, missing directories are&lt;br /&gt;
              created automatically.  The message  dump  format  is  described&lt;br /&gt;
              below.&lt;br /&gt;
&lt;br /&gt;
              Note:  this  option  keeps  one capture file open for every mail&lt;br /&gt;
              transaction in progress.&lt;br /&gt;
&lt;br /&gt;
       -e     Do not announce ESMTP support.&lt;br /&gt;
&lt;br /&gt;
       -E     Do not announce ENHANCEDSTATUSCODES support.&lt;br /&gt;
&lt;br /&gt;
       -f command,command,...&lt;br /&gt;
              Reject the specified commands with  a  hard  (5xx)  error  code.&lt;br /&gt;
              This option implies -p.&lt;br /&gt;
&lt;br /&gt;
              Examples  of commands are CONNECT, HELO, EHLO, LHLO, MAIL, RCPT,&lt;br /&gt;
              VRFY, DATA, ., RSET, NOOP, and QUIT. Separate command  names  by&lt;br /&gt;
              white  space  or  commas,  and use quotes to protect white space&lt;br /&gt;
              from the shell. Command names are case-insensitive.&lt;br /&gt;
&lt;br /&gt;
       -F     Disable XFORWARD support.&lt;br /&gt;
&lt;br /&gt;
       -h hostname&lt;br /&gt;
              Use hostname in the SMTP greeting, in the HELO response, and  in&lt;br /&gt;
              the EHLO response. The default hostname is &amp;quot;smtp-sink&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
       -H delay&lt;br /&gt;
              Delay  the  first  read  operation after receiving DATA (time in&lt;br /&gt;
              seconds). Combine with a large test message and a small TCP win-&lt;br /&gt;
              dow  size  (see  the  -T  option)  to  test  the  Postfix client&lt;br /&gt;
              write_wait() implementation.&lt;br /&gt;
&lt;br /&gt;
       -L     Enable LMTP instead of SMTP.&lt;br /&gt;
&lt;br /&gt;
       -m count (default: 256)&lt;br /&gt;
              An upper bound on the maximal number of simultaneous connections&lt;br /&gt;
              that  smtp-sink will handle. This prevents the process from run-&lt;br /&gt;
              ning out of  file  descriptors.  Excess  connections  will  stay&lt;br /&gt;
              queued in the TCP/IP stack.&lt;br /&gt;
&lt;br /&gt;
       -M count&lt;br /&gt;
              Terminate after receiving count messages.&lt;br /&gt;
&lt;br /&gt;
       -n count&lt;br /&gt;
              Terminate after count sessions.&lt;br /&gt;
&lt;br /&gt;
       -N     Do not announce support for DSN.&lt;br /&gt;
&lt;br /&gt;
       -p     Do not announce support for ESMTP command pipelining.&lt;br /&gt;
&lt;br /&gt;
       -P     Change  the server greeting so that it appears to come through a&lt;br /&gt;
              CISCO PIX system. Implies -e.&lt;br /&gt;
&lt;br /&gt;
       -q command,command,...&lt;br /&gt;
              Disconnect (without replying) after receiving one of the  speci-&lt;br /&gt;
              fied commands.&lt;br /&gt;
&lt;br /&gt;
              Examples  of commands are CONNECT, HELO, EHLO, LHLO, MAIL, RCPT,&lt;br /&gt;
              VRFY, DATA, ., RSET, NOOP, and QUIT. Separate command  names  by&lt;br /&gt;
              white  space  or  commas,  and use quotes to protect white space&lt;br /&gt;
              from the shell. Command names are case-insensitive.&lt;br /&gt;
&lt;br /&gt;
       -Q command,command,...&lt;br /&gt;
              Send a 421 reply and disconnect after receiving one of the spec-&lt;br /&gt;
              ified commands.&lt;br /&gt;
&lt;br /&gt;
              Examples  of commands are CONNECT, HELO, EHLO, LHLO, MAIL, RCPT,&lt;br /&gt;
              VRFY, DATA, ., RSET, NOOP, and QUIT. Separate command  names  by&lt;br /&gt;
              white  space  or  commas,  and use quotes to protect white space&lt;br /&gt;
              from the shell. Command names are case-insensitive.&lt;br /&gt;
&lt;br /&gt;
       -r command,command,...&lt;br /&gt;
              Reject the specified commands with  a  soft  (4xx)  error  code.&lt;br /&gt;
              This option implies -p.&lt;br /&gt;
&lt;br /&gt;
              Examples  of commands are CONNECT, HELO, EHLO, LHLO, MAIL, RCPT,&lt;br /&gt;
              VRFY, DATA, ., RSET, NOOP, and QUIT. Separate command  names  by&lt;br /&gt;
              white  space  or  commas,  and use quotes to protect white space&lt;br /&gt;
              from the shell. Command names are case-insensitive.&lt;br /&gt;
&lt;br /&gt;
       -R root-directory&lt;br /&gt;
              Change the process root directory  to  the  specified  location.&lt;br /&gt;
              This  option  requires  super-user  privileges.  See also the -u&lt;br /&gt;
              option.&lt;br /&gt;
&lt;br /&gt;
       -s command,command,...&lt;br /&gt;
              Log the named commands to syslogd.&lt;br /&gt;
&lt;br /&gt;
              Examples of commands are CONNECT, HELO, EHLO, LHLO, MAIL,  RCPT,&lt;br /&gt;
              VRFY,  DATA,  ., RSET, NOOP, and QUIT. Separate command names by&lt;br /&gt;
              white space or commas, and use quotes  to  protect  white  space&lt;br /&gt;
              from the shell. Command names are case-insensitive.&lt;br /&gt;
&lt;br /&gt;
       -S start-string&lt;br /&gt;
              An  optional  string  that  is prepended to each message that is&lt;br /&gt;
              written to a dump file (see the  dump  file  format  description&lt;br /&gt;
              below).  The  following  C  escape  sequences  are supported: \a&lt;br /&gt;
              (bell), \b (backspace), \f (formfeed), \n  (newline),  \r  (car-&lt;br /&gt;
              riage  return), \t (horizontal tab), \v (vertical tab), \ddd (up&lt;br /&gt;
              to three octal digits) and \\ (the backslash character).&lt;br /&gt;
&lt;br /&gt;
       -t timeout (default: 100)&lt;br /&gt;
              Limit the time for receiving a command or  sending  a  response.&lt;br /&gt;
              The time limit is specified in seconds.&lt;br /&gt;
&lt;br /&gt;
       -T windowsize&lt;br /&gt;
              Override  the default TCP window size. To work around broken TCP&lt;br /&gt;
              window scaling implementations, specify a value &amp;gt; 0 and &amp;lt; 65536.&lt;br /&gt;
&lt;br /&gt;
       -u username&lt;br /&gt;
              Switch  to  the specified user privileges after opening the net-&lt;br /&gt;
              work socket and optionally changing the process root  directory.&lt;br /&gt;
              This  option  is  required when the process runs with super-user&lt;br /&gt;
              privileges. See also the -R option.&lt;br /&gt;
&lt;br /&gt;
       -v     Show the SMTP conversations.&lt;br /&gt;
&lt;br /&gt;
       -w delay&lt;br /&gt;
              Wait delay seconds before responding to a DATA command.&lt;br /&gt;
&lt;br /&gt;
       -W command:delay[:odds]&lt;br /&gt;
              Wait delay seconds before responding to  command.   If  odds  is&lt;br /&gt;
              also  specified  (a  number  between 1-99 inclusive), wait for a&lt;br /&gt;
              random multiple of delay. The random multiplier is equal to  the&lt;br /&gt;
              number of times the program needs to roll a dice with a range of&lt;br /&gt;
              0..99 inclusive, before the dice produces a result greater  than&lt;br /&gt;
              or equal to odds.&lt;br /&gt;
&lt;br /&gt;
       [inet:][host]:port&lt;br /&gt;
              Listen  on  network  interface host (default: any interface) TCP&lt;br /&gt;
              port port. Both host and port may be  specified  in  numeric  or&lt;br /&gt;
              symbolic form.&lt;br /&gt;
&lt;br /&gt;
       unix:pathname&lt;br /&gt;
              Listen on the UNIX-domain socket at pathname.&lt;br /&gt;
&lt;br /&gt;
       backlog&lt;br /&gt;
              The  maximum length the queue of pending connections, as defined&lt;br /&gt;
              by the listen(2) system call.&lt;br /&gt;
&lt;br /&gt;
DUMP FILE FORMAT&lt;br /&gt;
       Each dumped message contains a sequence of text lines, terminated  with&lt;br /&gt;
       the newline character. The sequence of information is as follows:&lt;br /&gt;
&lt;br /&gt;
       o      The optional string specified with the -S option.&lt;br /&gt;
&lt;br /&gt;
       o      The smtp-sink generated headers as documented below.&lt;br /&gt;
&lt;br /&gt;
       o      The message header and body as received from the SMTP client.&lt;br /&gt;
&lt;br /&gt;
       o      An empty line.&lt;br /&gt;
&lt;br /&gt;
       The format of the smtp-sink generated headers is as follows:&lt;br /&gt;
&lt;br /&gt;
       X-Client-Addr: text&lt;br /&gt;
              The  client  IP address without enclosing []. An IPv6 address is&lt;br /&gt;
              prefixed with &amp;quot;ipv6:&amp;quot;. This record is always present.&lt;br /&gt;
&lt;br /&gt;
       X-Client-Proto: text&lt;br /&gt;
              The client protocol: SMTP, ESMTP or LMTP. This record is  always&lt;br /&gt;
              present.&lt;br /&gt;
&lt;br /&gt;
       X-Helo-Args: text&lt;br /&gt;
              The  arguments of the last HELO or EHLO command before this mail&lt;br /&gt;
              delivery transaction. This record is present only if the  client&lt;br /&gt;
              sent  a  recognizable  HELO or EHLO command before the DATA com-&lt;br /&gt;
              mand.&lt;br /&gt;
&lt;br /&gt;
       X-Mail-Args: text&lt;br /&gt;
              The arguments of the MAIL command that started this mail  deliv-&lt;br /&gt;
              ery transaction. This record is present exactly once.&lt;br /&gt;
&lt;br /&gt;
       X-Rcpt-Args: text&lt;br /&gt;
              The  arguments  of  an  RCPT  command  within this mail delivery&lt;br /&gt;
              transaction. There is one record for each RCPT command, and they&lt;br /&gt;
              are in the order as sent by the client.&lt;br /&gt;
&lt;br /&gt;
       Received: text&lt;br /&gt;
              A  message  header  for compatibility with mail processing soft-&lt;br /&gt;
              ware. This three-line header marks the end of the  headers  pro-&lt;br /&gt;
              vided by smtp-sink, and is formatted as follows:&lt;br /&gt;
&lt;br /&gt;
              from helo ([addr])&lt;br /&gt;
                     The  HELO or EHLO command argument and client IP address.&lt;br /&gt;
                     If the client did not send HELO or EHLO,  the  client  IP&lt;br /&gt;
                     address is used instead.&lt;br /&gt;
&lt;br /&gt;
              by host (smtp-sink) with proto id random;&lt;br /&gt;
                     The  hostname  specified  with  the -h option, the client&lt;br /&gt;
                     protocol (see X-Client-Proto above), and the  pseudo-ran-&lt;br /&gt;
                     dom portion of the per-message capture file name.&lt;br /&gt;
&lt;br /&gt;
              time-stamp&lt;br /&gt;
                     A time stamp as defined in RFC 2822.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO&lt;br /&gt;
       smtp-source(1), SMTP/LMTP message generator&lt;br /&gt;
&lt;br /&gt;
LICENSE&lt;br /&gt;
       The Secure Mailer license must be distributed with this software.&lt;br /&gt;
&lt;br /&gt;
AUTHOR(S)&lt;br /&gt;
       Wietse Venema&lt;br /&gt;
       IBM T.J. Watson Research&lt;br /&gt;
       P.O. Box 704&lt;br /&gt;
       Yorktown Heights, NY 10598, USA&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* http://www.postfix.org/smtp-sink.1.html&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>