tobychui / zoraxy

A general purpose HTTP reverse proxy and forwarding tool. Now written in Go!
https://zoraxy.arozos.com
GNU Affero General Public License v3.0
2.14k stars 125 forks source link

SMTP server without credentials #162

Closed tadikwa closed 1 month ago

tadikwa commented 1 month ago

Hello team,

It doesn't seem possible to add a local SMTP relay server without an identifier. 2024-05-20_23h50_37

tobychui commented 1 month ago

For the sender email, it is just a part of the email content where you can fill in anything you want (e.g. noreply@yourdomain.com). This field only effect what will happen when your receiver (your gmail for example) will reply to when the "Reply" button is pressed. For no auth SMTP, this seems to be a duplicate of #80.

tobychui commented 1 month ago

Password requirement is removed in v3.0.6. Now you should be able to save SMTP credentials without a password.

DaGrooves commented 1 month ago

It's not working for me. I'm using port 8025 to a mailrise server. But is get the error "Unencrypted connection"

Control Panel _ Zoraxy
tobychui commented 1 month ago

@DaGrooves Golang SMTP library refuse to send email with non-TLS connection. Enable TLS on your mailrise server with tls.mode flag and try again?

DaGrooves commented 1 month ago

@tobychui Thanks for the quick reply :) Is it possible to use zoraxy to get create a proxy rule that creates a Letsencrypt cert for the mailrise server at port 587?

tobychui commented 1 month ago

@DaGrooves Uhh, isn't SMTP and HTTP are two different protocols? I don't think that is how SMTP over TLS works.

DaGrooves commented 1 month ago

My thoughts exactly. Will find another solution. Thanks for your effort.