[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread mike s
Changes by mike s : -- title: smtpd module does not allow domain filtering -> smtpd SMTPServer does not allow domain filtering ___ Python tracker ___

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread Eric Smith
Eric Smith added the comment: This is the right place, thanks for the patch! Since this is a feature request it can only be added to 3.2 (and 2.8, if such a thing ever exists). -- nosy: +eric.smith priority: -> normal stage: -> unit test needed type: -> feature request versions: -

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread Giampaolo Rodola'
Giampaolo Rodola' 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 ___

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread mike s
mike s 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

[issue8503] smtpd SMTPServer does not allow domain filtering

2011-10-20 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mail

[issue8503] smtpd SMTPServer does not allow domain filtering

2011-10-20 Thread Petri Lehtinen
Petri Lehtinen 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 sh