Skip to content
New issue

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

Thunderbird: send helo first? #33

Open
FrederikLauber opened this issue Jul 7, 2016 · 0 comments
Open

Thunderbird: send helo first? #33

FrederikLauber opened this issue Jul 7, 2016 · 0 comments

Comments

@FrederikLauber
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant