Lines Matching refs:smtpd
29 smtpd = warnings_helper.import_deprecated('smtpd')
41 smtpd.SMTPChannel.handle_expt = handle_expt
231 # Test behavior of smtpd.DebuggingServer
248 self.old_DEBUGSTREAM = smtpd.DEBUGSTREAM
249 smtpd.DEBUGSTREAM = io.StringIO()
251 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1),
273 smtpd.DEBUGSTREAM.close()
274 smtpd.DEBUGSTREAM = self.old_DEBUGSTREAM
363 # (this behavior is specific to smtpd.SMTPChannel)
449 debugout = smtpd.DEBUGSTREAM.getvalue()
471 debugout = smtpd.DEBUGSTREAM.getvalue()
492 debugout = smtpd.DEBUGSTREAM.getvalue()
545 debugout = smtpd.DEBUGSTREAM.getvalue()
575 debugout = smtpd.DEBUGSTREAM.getvalue()
604 debugout = smtpd.DEBUGSTREAM.getvalue()
636 debugout = smtpd.DEBUGSTREAM.getvalue()
673 debugout = smtpd.DEBUGSTREAM.getvalue()
821 class SimSMTPChannel(smtpd.SMTPChannel):
838 # AUTH related stuff. It would be nice if support for this were in smtpd.
842 print('Data:', repr(line), file=smtpd.DEBUGSTREAM)
1005 class SimSMTPServer(smtpd.SMTPServer):
1012 smtpd.SMTPServer.__init__(self, *args, **kw)
1362 smtpd.SMTPServer.__init__(self, *args, **kw)
1467 # XXX smtpd converts received /r/n to /n, so we can't easily test that