Message220200
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. |
|
Date |
User |
Action |
Args |
2014-06-10 21:58:24 | zvyn | set | recipients:
+ zvyn, barry, eric.smith, giampaolo.rodola, r.david.murray, jesstess, mike.s, petri.lehtinen, lpolzer |
2014-06-10 21:58:24 | zvyn | set | messageid: <1402437504.69.0.204864692018.issue8503@psf.upfronthosting.co.za> |
2014-06-10 21:58:24 | zvyn | link | issue8503 messages |
2014-06-10 21:58:24 | zvyn | create | |
|