I am looking at developing an implementation of an SMTP server for a project that I want to work on. (Note: I haven’t ruled out using an existing implementation just exploring my options.)
I am curious to know if there is an automated test suite available somewhere that tests compliance with the SMTP standard.
I am not aware of one (there very well may be one).
Even though I just wrote an SMTP server, it was for a very specific use case talking to another specific server. If you actually intend to work on the wild internet, I would strongly suggest that you use an off the self solution.
On the one hand, we have the long standing SMTP standards. On the other, we have the actual implementations out in the wild. These are not necessarily the same thing. Ideally things have quieted down over the years, but the simple truth is that there is a lot of just flat out “lore” encoded in to the modern servers, lore acquired through just fighting the problems of interoperability with other “in the wild” servers.
Most likely, if you craft your own, it will “mostly” work, and if that’s fine for you, then move ahead. But if it’s for something more important, I would suggest just going with one of the major email implementations.