mhale / smtpd

An SMTP server package written in Go, in the style of the built-in HTTP server.
The Unlicense
397 stars 92 forks source link

manage smtp response #3

Closed guilhem closed 7 years ago

guilhem commented 8 years ago

For the moment, if I'm not wrong, I have no way to answer a different SMTP response according to my code.

For example I want to implement a rate-limiting and so want to answer SMTP Error 451 if exceeded.

mhale commented 8 years ago

You are correct - there's no way to do that for the moment.