Discussion:
[Mimedefang] Easy way to run a test of filter from CLI
Amit Gupta
2017-09-14 17:16:16 UTC
Permalink
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?
I wanted to created a very basic test suite for parsing of some emails
without needed to actually send the email through the MTA.

Any tips on how to accomplish this is much appreciated.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list ***@lists.roaringpenguin.com
htt
Dianne Skoll
2017-09-14 17:54:36 UTC
Permalink
On Thu, 14 Sep 2017 10:16:16 -0700
Post by Amit Gupta
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.
Post by Amit Gupta
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.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailm

Loading...