[issue8503] smtpd SMTPServer does not allow domain filtering

Petri Lehtinen report at bugs.python.org
Thu Oct 20 11:53:37 CEST 2011


Petri Lehtinen <petri at digip.org> added the comment:

This sounds like an important feature to me.

A few points:

- I'd rename the function name from accept_domain to e.g. validate_domain for clarity

- There could also be a function to validate the loca part of each recipient addresses. Or maybe the function should be changed to validate the whole recipient address, not only the domain part.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8503>
_______________________________________


More information about the Python-bugs-list mailing list