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

A minimum of 100 Users have to be allowed. so > 100 can be dropped #35

Closed ToasterKTN closed 1 year ago

ToasterKTN commented 1 year ago

https://github.com/mhale/smtpd/blob/438c8edb069c75a7daee0a66340b2f0a8452ab47/smtpd.go#L417

The Line makes "little sence" to me. Should be

if len(to) > 100 {

As more then 100 can me denied.