[issue8503] smtpd SMTPServer does not allow domain filtering

2018-01-09 Thread Barry A. Warsaw

Barry A. Warsaw  added the comment:

I'm closing this as won't fix since smtpd.py is deprecated and will likely not 
get any future development.  Please see aiosmtpd as a much better third party 
replacement.

--
resolution:  -> wont fix
stage: test needed -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8503] smtpd SMTPServer does not allow domain filtering

2014-08-08 Thread Milan Oberkirch

Changes by Milan Oberkirch milan...@oberkirch.org:


Added file: http://bugs.python.org/file36325/issue8503v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8503
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8503] smtpd SMTPServer does not allow domain filtering

2014-06-10 Thread Milan Oberkirch

Milan Oberkirch added the comment:

I see no reason to restrict the filtering possibilities to the domain, so I 
added a method validate_recipient_address wich gets an address of the form 
local-part@domain and returns `True`.
SMTPChannel.smtp_RCPT checks any address with this method before appending it 
to the recipient list and returns 554 ... as proposed by Mike if the 
validation failed.

--
components: +email
keywords: +patch
nosy: +barry, jesstess, r.david.murray, zvyn
Added file: http://bugs.python.org/file35560/issue8503.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8503
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8503] smtpd SMTPServer does not allow domain filtering

2013-11-20 Thread Leslie P. Polzer

Changes by Leslie P. Polzer pol...@port-zero.com:


--
nosy: +lpolzer

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8503
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8503] smtpd SMTPServer does not allow domain filtering

2011-10-20 Thread Petri Lehtinen

Changes by Petri Lehtinen pe...@digip.org:


--
nosy: +petri.lehtinen
versions: +Python 3.3 -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8503
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8503] smtpd SMTPServer does not allow domain filtering

2011-10-20 Thread Petri Lehtinen

Petri Lehtinen pe...@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 rep...@bugs.python.org
http://bugs.python.org/issue8503
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread mike s

Changes by mike s sucha...@kovagroup.ca:


--
title: smtpd module does not allow domain filtering - smtpd SMTPServer does 
not allow domain filtering

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8503
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread Eric Smith

Eric Smith e...@trueblade.com 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:  -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8503
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread Giampaolo Rodola'

Giampaolo Rodola' g.rod...@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 rep...@bugs.python.org
http://bugs.python.org/issue8503
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread mike s

mike s sucha...@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).

Mike

On 2010-04-23, at 12:00 PM, Giampaolo Rodola' wrote:

 
 Giampaolo Rodola' g.rod...@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 rep...@bugs.python.org
 http://bugs.python.org/issue8503
 ___

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8503
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com