HaschekSolutions / opentrashmail

Open Source standalone trashmail solution that ships its own mail server
Apache License 2.0
614 stars 50 forks source link

Fix where not using wildcard domains and discarding unknown domains #44

Closed greyhatsec-au closed 2 years ago

greyhatsec-au commented 2 years ago

Fixes issue #42

greyhatsec-au commented 2 years ago

I had the same issue and have implemented and tested it on my instance.

It seems there was no check to set found = True where * was not in the domain. This then caused the email to be discarded if the setting DISCARD_UNKNOWN was also set to true

geek-at commented 2 years ago

omg how did I not see this. Thanks!