Validate the address from which the message originates.

ParametersheloThe argument to the HELO command and the client's IP address. (type: (bytes, bytes))
originThe address the message is from (type: Address)
Returnsorigin or a Deferred whose callback will be passed origin. (type: Deferred or Address)
RaisesSMTPBadSenderRaised of messages from this address are not to be accepted.
Function ebAuthentication Translate cred exceptions into SMTP exceptions so that the protocol code which invokes validateFrom can properly report the failure.
Function continueValidation Re-attempt from address validation.
def ebAuthentication(err): (source)

Translate cred exceptions into SMTP exceptions so that the protocol code which invokes validateFrom can properly report the failure.

def continueValidation(ignored): (source)

Re-attempt from address validation.

API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.