![]() |
![]() |
![]() |
milter manager Reference Manual | ![]() |
---|
milter-performance-check is a SMTP client that measures MTA performance. milter-test-server measures milter's performance and miter-performance-check measures MTA + milter's performance.
smtp-source bundled with Postfix is a similar tool. smtp-source has more features.
milter-performance-check is useful because it measures elapsed time of only SMTP sessions. smtp-source doesn't provide the feature. You need to also use 'time' command and measure smtp-source command runtime not elapsed time of SMTP sessions.
Normally, there isn't big difference between elapsed time of SMTP sessions and tool runtime.
If you satisfy milter-performance-check's features, it's better that you use milter-performance-check. If you don't, smtp-source is more better tool for you.
Shows available options and exits. |
|
Uses SEVER as target SMTP server. The default is localhost. |
|
Uses PORT as SMTP port. The default is 25. |
|
Uses FQDN as HELO SMTP command. The default localhost.localdomain. |
|
Uses FROM as MAIL SMTP command. The default from@example.com. |
|
Uses FROM as MAIL SMTP command even if mail file includes "From:" header. The default is none. |
|
Uses RECIPIENT as RCPT SMTP command. If you want to use multiple recipients, use --recipient n-times. The default is [to@example.com]. |
|
Uses RECIPIENT as RCPT SMTP command even if mail file includes 'To:' header. If you want to use multiple recipients, use --recipient n-times. The default is none. |
|
Sends N mails. All mails are sent concurrently. The default is 100. |
|
Sends mails in PERIOD seconds/minutes/hours. Each mail is sent averagely. PERIOD is treated as seconds when its unit is omitted. Example (100 mails are sent):
The default is none. |
|
Sends mails at intervals of INTERVAL seconds/minutes/hours. INTERVAL is treated as seconds when its unit is omitted. Example:
The default is none. |
|
Shuffles target mails before sending. The default is false. (don't shuffle.) |
In the following example, milter-performance-check connects a SMTP server running on localhost at 25 port and sends 100 mails. Each mail's sender is from@example.com and recipients are webmaster@localhost and info@localhost.
% milter-performance-check --recipient=webmaster@localhost --recipient=info@localhost
In the following example, milter-performance-check connects a SMTP server running on 192.168.1.102 at 25 port and sends files under /tmp/test-mails/ directory. The files should be RFC 2822 format. The mails are sent to user@localhost at intervals of 3 seconds (60 * 10 / 100). Each mail is sent only 1 time because of --n-mails=1 option.
% milter-performance-check --n-mails=1 --smtp-server=192.168.1.102 --force-recipient=user@localhost --period=5m /tmp/test-mails/