[Mimedefang] Easy way to run a test of filter from CLI

Dianne Skoll dfs at roaringpenguin.com
Thu Sep 14 13:54:36 EDT 2017


On Thu, 14 Sep 2017 10:16:16 -0700
Amit Gupta <amit777 at gmail.com> wrote:

> If I have a .eml raw file of an email, is there a simple way to run it
> through a mimedefang.pl/mimedefang-filter process and get the output?

Nope.  There's no test framework to simulate all the milter callbacks.

> I wanted to created a very basic test suite for parsing of some emails
> without needed to actually send the email through the MTA.

Make some test accounts and relay through them and see what comes back out.

Regards,

Dianne.



More information about the MIMEDefang mailing list