I was wondering when you are sending an email, what is going on behind the scenes? For instance, I own a domain and is hosted on a linux box. When someone sends me email at "firstname.lastname@example.org", where does the mail go on the server? If I were to write a front end for this email account (or any POP3/SMTP for that matter), how would I go about doing that? Is there a place that the email is stored globally? If someone could either write a quick explanation here or point me in some general directions, I would appreciate it.
I got to wondering this as I was looking at my server. To check my mail on the web, the hosting company has setup Neomail. The messages are stored in a certain format, inside of a neomail folder. I was wondering how this is achieved and if it is possible to do something like this.
Thanks for any input, it is appreciated.