My company has recently decided to update our mail server and I've been tasked with inventorying all of our applications that use the existing server to send email so that we know which systems we need to test for the changeover. The company has been around a while, and did not have a formal software development team until a few years ago.
This resulted in a few decades' worth of one-off scripts most of which are neither listed nor maintained. Recently I was volunteered to inventory all the scripts/applications that use the old mail server so we'll know which systems to test during the changeover. I've managed to get the task narrowed down to the applications on one particular Windows server and the code in our recent TFS repository, but definitively cataloging even just that one server seems like a tall order.
My current plan is to just cut Agent Ransack loose looking for something like
^.*(SMTP|mailserverHostname|mailserverOtherHostname|mailserverIP).*$
and manually dig through the results. I'm a developer, only ever pretended at sysadmin, and definitely have no idea what I'm doing. This is just the best I could come up with.
Is there any more effective/automated way I could go about the task of finding every vb/perl/python/c script that deals with that mail server?