[Mimedefang] Testing MD Standalone

Anne Bennett anne at encs.concordia.ca
Mon Feb 2 10:16:38 EST 2004


> If I have an entire message quarantined, and I want to use it to test some fi
> lter changes, how do I do this?
> 
> Reading the man pages, I thought that I should be able to do it by:
> 	mimedefang.pl -f FILTER -structure < ENTIRE_MESSAGE
> but that does not work...

You actually need to set up the whole message with support files in a
directory as per "man 7 mimedefang-protocol", then invoke:

  mimedefang.pl -f FILTER your-test-directory

It's a bit time-consuming to figure out and set up the first time, but
it's rather handy to have a few such test messages set up permanently,
to check edits to the filter file.


Anne.
-- 
Ms. Anne Bennett, Senior Sysadmin, ENCS, Concordia University, Montreal H3G 1M8
anne at encs.concordia.ca                                    +1 514 848-2424 x2285



More information about the MIMEDefang mailing list