flashmob / go-guerrilla

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

skip host check if allowed_hosts has a single entry and the entry is a . #76

Closed flashmob closed 7 years ago

flashmob commented 7 years ago

This is so validating processors can do the host check.

Allow disabling the default allowed_hosts check, by configuring it with a single item containing a ".". Another way would be to do an empty list, however, an administrator may accidentally leave the list empty, so It's better to have something explicit.