Testausserveri / koirameili

SMTP server to receive emails in Discord DM's
0 stars 1 forks source link

Mails fail in delivering to testauskoira #3

Closed romeq closed 1 year ago

romeq commented 2 years ago

Mails fail to deliver if server where mail was sent from requires TLS on testauskoira.

this may explain why this happens.

image

ahnl commented 2 years ago

Reverted commit https://github.com/Testausserveri/koirameili/commit/68606b8f3faa28d4aca23c42b3dacad5aecd82b4.

Now it uses TLS again, but as far as I remember it uses an untrusted certificate. It still should work for almost everyone, but some email senders will refuse to deliver it. Maybe a Let's Encrypt certificate should do the trick. I'll look into it.

Chicken commented 2 years ago

A Let's Encrypt cert should totally work. Getting a valid cert instead of disabling TLS is much sensible solution. There should have always been a certificate. Why would you push anything to production with snakeoil security? How would you ever even arrive at the conclusion that disabling TLS would be a great idea?

developerfromjokela commented 2 years ago

A Let's Encrypt cert should totally work. Getting a valid cert instead of disabling TLS is much sensible solution. There should have always been a certificate. Why would you push anything to production with snakeoil security? How would you ever even arrive at the conclusion that disabling TLS would be a great idea?

Good question.

Esinko commented 2 years ago

A Let's Encrypt cert should totally work. Getting a valid cert instead of disabling TLS is much sensible solution. There should have always been a certificate. Why would you push anything to production with snakeoil security? How would you ever even arrive at the conclusion that disabling TLS would be a great idea?

idk laziness? :p Feel free to figure out how to set it up ;)

ahnl commented 2 years ago

The service isn't intended for receiving sensitive emails and its sole purpose is a throwaway email service - thus the decision of disabling the TLS was considered. Its side effect of TLS being required by some SMTP servers was unknown.

It should be easy to add a certificate.

SMTP server documentation

romeq commented 1 year ago

Closing this as the issue was fixed