Thanks Adauria, I managed to get it installed via this method but it wouldn't work.
Eventually, I found that I needed to add the following line at the end of Splunk\etc\apps\IMAPmailbox\default\restmap.conf:
I then deleted the generated imap.conf file and copied the one from default, edited it and put my server details in, edited inputs.conf to enable the section for Windows and added the complete Splunk path in and it worked fine. 🙂
... View more