* Julian Mehnle <jul...@mehnle.net>: > I'm developing a new milter and I need to benchmark it when plugged into > Postfix. What are my best options for generating an SMTP stream of messages > directed at a single Postfix instance at rates on the order of hundreds per > second, and measuring SMTP acceptance rates and SMTP response latency? I can > run processes on multiple machines if necessary, but the more efficient the > better.
mstone is a PITA to setup, but it works. swaks is a script, which you can create a wrapper around. Which fits better? Depends on the job your milter needs to do. What is its focus? If try to filter sessions, mstone will probably serve you better, since you can easily tune frequency, number of connections etc. If you need to simulate specific content swaks might be better. We've easily done 90 msg/sec with a milter that picks up session data and specific headers on standard server hardware. p@rick > > I saw the smtp-source tool <http://www.postfix.org/smtp-source.1.html>, but > I'm not sure I can tune it to certain output rates and make it take > acceptance rate and latency measurements. > > Are there any other tools people use to benchmark their Postfix setups or, > more specifically, milters? > > Thanks, > > -Julian > -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein