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 th
Changes by mike s :
--
title: smtpd module does not allow domain filtering -> smtpd SMTPServer does
not allow domain filtering
___
Python tracker
<http://bugs.python.org/iss
Changes by mike s :
--
title: smtpd module does not allow -> smtpd module does not allow domain
filtering
___
Python tracker
<http://bugs.python.org/iss
New submission from mike s :
The SMTPServer supplied by the smtpd library allows clients to send mail to any
domain. This makes the server attractive to spammers, thinking they have found
an open relay.
The patch below adds an "accept_domain" method to SMTPServer (documented below)