I'm trying to write and email server in C. Does anyone know where I can find an example of how this can be done. Or more information on how email servers work in general.