Lines Matching refs:AUTH
830 AUTH = 99 # Add protocol state to enable auth testing.
838 # AUTH related stuff. It would be nice if support for this were in smtpd.
840 if self.smtp_state == self.AUTH:
857 if not self.extended_smtp or 'AUTH' not in self._extrafeatures:
858 self.push('500 Error: command "AUTH" not recognized')
866 self.push('501 Syntax: AUTH <mechanism> [initial-response]')
875 self.smtp_state = self.AUTH
916 # This AUTH mechanism will 'trap' client in a neverending 334
936 # end AUTH related stuff.
1123 self.serv.add_feature("AUTH PLAIN")
1131 self.serv.add_feature("AUTH LOGIN")
1139 self.serv.add_feature("AUTH LOGIN")
1148 self.serv.add_feature("AUTH LOGIN")
1157 self.serv.add_feature("AUTH BUGGY")
1170 expect = r"^Server AUTH mechanism infinite loop.*"
1178 self.serv.add_feature("AUTH CRAM-MD5")
1188 self.serv.add_feature("AUTH BOGUS PLAIN LOGIN CRAM-MD5")
1204 self.serv.add_feature("AUTH {}".format(mechanism))
1249 #TODO: add tests for correct AUTH method fallback now that the
1496 # RFC 4954's AUTH command allows for an optional initial-response.
1497 # Not all AUTH methods support this; some require a challenge. AUTH
1502 # AUTH PLAIN <initial-response> with the response base 64
1545 self.serv.add_feature('AUTH PLAIN')
1552 self.serv.add_feature('AUTH PLAIN')