I have a slightly odd requirement, in that I need to setup a Windows Server to recieve emails to a certain sub-domain. I just want the raw messages to end up in a folder on this server, so don't need a pop3\imap server or anything like that. A custom developed windows service running on the server in question would then pickup the messages from said folder and process them automatically (essentially just extracting some information from them and inserting into a database)
My question though is what is the best way to setup the server such that emails will end up arriving at this particular server and go into a particular folder. My current thought is:
1) Setup an MX record for sub-domain in question e.g. myservice.example.com pointing to my server
2) Setup SMTP server on the server in question.
Will this do the trick, or am I way off here? Please be gentle, this is not something I have much experience with :)