This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zvyn
Recipients barry, eric.smith, giampaolo.rodola, jesstess, lpolzer, mike.s, petri.lehtinen, r.david.murray, zvyn
Date 2014-06-10.21:58:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402437504.69.0.204864692018.issue8503@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-06-10 21:58:24zvynsetrecipients: + zvyn, barry, eric.smith, giampaolo.rodola, r.david.murray, jesstess, mike.s, petri.lehtinen, lpolzer
2014-06-10 21:58:24zvynsetmessageid: <1402437504.69.0.204864692018.issue8503@psf.upfronthosting.co.za>
2014-06-10 21:58:24zvynlinkissue8503 messages
2014-06-10 21:58:24zvyncreate