flashmob / go-guerrilla

Mini SMTP server written in golang
MIT License
2.79k stars 366 forks source link

doc: Document AppConfig / ServerConfig #57

Closed ginkoob closed 7 years ago

ginkoob commented 7 years ago

I'm looking to implement LetsEncrypt but I've got stuck on basic understanding of the code due the lack of documentation. What is AppConfig.AllowedHosts and how is it related to ServerConfig.Hostname ?

flashmob commented 7 years ago

AppConfig.AllowedHosts controls which hosts the "RCPT TO" command will accept. ServerConfig.Hostname is what gets displayed in the 250 reply to HELO/EHLO