I'm new to all this stuff.
There's some documents on my server. A user send email on e.g email@example.com and one of document's must be changed(the way it's to be changed is specified in the email). So, first I need is to rise up a email server. Can someone advice me a simple manual on how to configure a email server? For now I don't need something extra-cool, just email-server(as simple as possible) which will be able to recieve email, and there must be an oppotunity e.g. launch .sh script to change documents when a email recieved.