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

TLS with multiple allowed hosts (or wildcard hosts) #205

Open
richp10 opened this issue Feb 19, 2020 · 4 comments
Open

TLS with multiple allowed hosts (or wildcard hosts) #205

richp10 opened this issue Feb 19, 2020 · 4 comments

Comments

@richp10
Copy link

richp10 commented Feb 19, 2020

Setting up TLS you need to provide a hostname, defaulting to the server hostname.

Guerrilla also allows you to recieve mail for multiple allowed hosts or use wildcards.

My question is; will the TLS handshaking work for inbound mail to multiple hosts - since the hostname of the TLS certificate will not match any or all of the hosts?

@flashmob
Copy link
Owner

flashmob commented Feb 19, 2020 via email

@sylencecc
Copy link

I'm stuck here with the same problem. How do I configure multiple certificate/key pairs in goguerrilla.conf? Adding multiple "servers" for the same listen_interface (0.0.0.0:25 with STARTTLS enabled) doesn't work, goguerrilla always seems to answer as the first configured server, no matter what hostname was used for the actual connection. I'm not sure how other SMTP servers handle this, but wouldn't that require some sort of Server Name Indication and virtual hosts such as nginx, apache handle that?

@flashmob
Copy link
Owner

flashmob commented Apr 16, 2020 via email

@chibelsonda
Copy link

Hello Good day @flashmob

Does go-guerrilla support plain authentication. I'm new to developing smtp sever, so my apologies.

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

4 participants