[Mimedefang] MimeDefang Framework

Jeff Rife mimedefang at nabs.net
Sat May 26 11:37:16 EDT 2007


On 25 May 2007 at 14:46, Daniel Aquino wrote:

> Not to mention the fact that if I want to test a sub like
> mx_check_against_smtp_server I don't really have any means to load up
> mimedefang.pl environment and test away...

For unit testing like this, you can just write a perl program that has 
the unit you are testing.  I did this for all my database and network 
checks before I put them into place.  Test with "use strict" and "use 
diagnostics", too...this also showed me how little I really understand 
perl.

You can also create a secondary MX to do "live testing".  It's far less 
likely to get hit by any good e-mail (if your primary MX is up, of 
course), so you won't lose anything.

Also, check out VMware and see what you can do about installing your OS 
of choice inside that.  I have a secondary MX that is configured that 
way, and it allows me to do testing without having another machine, but 
I have a full copy of my primary MX environment, so it's a great test.


--
Jeff Rife |  
          | http://www.nabs.net/Cartoons/Dilbert/TechSupport.gif 





More information about the MIMEDefang mailing list