We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I am trying to run a secure_smtp server and connect with thunderbird. Everytime I try to sent a email, I get this error:
"error: send helo first"
I have no clue where this is comming from or how to fix this.
Here is my Code:
` class CredentialValidator(object): def validate(self, username, password): if username == 'foo' and password == 'bar': return True return False
class SSLSMTPServer(SMTPServer): def process_message(self, peer, mailfrom, rcpttos, message_data): print(message_data)
server = SSLSMTPServer( ('0.0.0.0', 61455), None, require_authentication=True, ssl=True, #ssl_version=ssl.PROTOCOL_TLSv1_2, certfile='/home/fullchain.pem', keyfile='/home/privkey.pem', credential_validator=CredentialValidator(), #maximum_execution_time = 1.0 )
server.run() `
Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I am trying to run a secure_smtp server and connect with thunderbird.
Everytime I try to sent a email, I get this error:
"error: send helo first"
I have no clue where this is comming from or how to fix this.
Here is my Code:
`
class CredentialValidator(object):
def validate(self, username, password):
if username == 'foo' and password == 'bar':
return True
return False
class SSLSMTPServer(SMTPServer):
def process_message(self, peer, mailfrom, rcpttos, message_data):
print(message_data)
server = SSLSMTPServer(
('0.0.0.0', 61455),
None,
require_authentication=True,
ssl=True,
#ssl_version=ssl.PROTOCOL_TLSv1_2,
certfile='/home/fullchain.pem',
keyfile='/home/privkey.pem',
credential_validator=CredentialValidator(),
#maximum_execution_time = 1.0
)
server.run()
`
Any ideas?
The text was updated successfully, but these errors were encountered: