[issue8503] smtpd SMTPServer does not allow domain filtering
report at bugs.python.org
Fri Apr 23 21:05:14 CEST 2010
mike s <suchanek at kovagroup.ca> added the comment:
I don't think that is a suitable solution for this problem, because the expected SMTP behavior is to reject an unsuitable RCPT TO directly after it is proposed by the client.
However, I think it would be a great idea to have such a method being called after the end of the DATA segment (immediately before the message is queued - or not).
On 2010-04-23, at 12:00 PM, Giampaolo Rodola' wrote:
> Giampaolo Rodola' <g.rodola at gmail.com> added the comment:
> Idea: wouldn't it be better to provide a more powerful "accept_mail" method instead of "accept_domain?
> nosy: +giampaolo.rodola
> Python tracker <report at bugs.python.org>
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list