This is a simple tool to measure the throughput of an MTA.

This commit is contained in:
mbalmer 2006-10-29 11:34:23 +00:00
parent d7ca7467ec
commit c9400d6433
4 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/10/29 11:34:23 mbalmer Exp $
COMMENT= "SMTP benchmark to measure throughput of an MTA"
DISTNAME= smtp-benchmark-1.0.4
CATEGORIES= bechmark mail
HOMEPAGE= http://www.etc.msys.ch/software/smtp-benchmark/
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
SHARED_ONLY= Yes
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pthread
MASTER_SITES= ftp://ftp.etc.msys.ch/pub/sources/smtp-benchmark/
EXTRACT_SUFX= .tgz
NO_REGRESS= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (smtp-benchmark-1.0.4.tgz) = 0fe83869cfedefe30de1720d0201e2c9
RMD160 (smtp-benchmark-1.0.4.tgz) = b146fbcce5a365e0cec9b29f7a1c787c7c49c874
SHA1 (smtp-benchmark-1.0.4.tgz) = b29acd33de819eae7a3a5bc1b51e5b964dd838e1
SIZE (smtp-benchmark-1.0.4.tgz) = 7188

View File

@ -0,0 +1,15 @@
smtp-benchmark consists of two programs, smtpsend and smtpsink.
Whereas smtpsend is used to send generated e-mail messages using SMTP
to a mail transfer agent, smtpsink is designed to dispose of received
messages as quick as possible.
smtpsend measures the time spent sending e-mails and the number
of e-mails actually sent and outputs statistics after the program
run.
smtpsend can fork one or more parallel senders each using one or more
sequential connections to a SMTP server to deliver one or more
messages per connection.
smtpsink comes in handy when the relaying performance of a MTA is
to be measured.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/29 11:34:23 mbalmer Exp $
@man man/cat8/smtpsend.0
@man man/cat8/smtpsink.0
sbin/smtpsend
sbin/smtpsink