indymilter-test

unreleased, in development

The indymilter-test library provides facilities for testing milter programs. It can be used to simulate the MTA side of an MTA/milter conversation during integration testing.

The indymilter-test API allows sending any milter commands to the milter under test. It is a powerful testing tool, but one that must be used correctly: you must be familiar with how SMTP client and server talk to each other and how that maps to an MTA/milter conversation. Refer to the sendmail milter documentation.

This library was originally created for testing milters written using the [indymilter] library. However, it contains a general milter client implementation, and can be used for testing any milter at all. For example, it could be used as a replacement for the miltertest utility from the [OpenDKIM] project.

Licence

Copyright © 2022 David Bürgin

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.