Hi,
I found similar files, two of them, which I could not recognize.
I suggest that you reinstall your server again. Take care that you install all necessary security mechanisms BEFORE transferring the DNS from old server to new server.
Usually they save such files initially before they attack after months. They keep a time lapse so that all log files gets rotated and a stupid admin looses all such valuable information.
I suspect that your server may have been used for spamming. The current Qmailtoaster, and the version before, has some thing in configuration or compilation that is not working correctly with spamdyke. So, a hacker may abuse this and send a mail bomb from your server.
DO NOT COPY OR RESTORE HTML FROM OLD HOME DIRECTORY.
Install everything from fresh on the new server. Just take along with templates and databases. Check for users created in the database and if there are dummy, fake or inactive users.
You may not know what in there within thousand of files and if a hacker installed some golden eggs somewhere inside the system.