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

Configuration and reflection #10

Open
novedevo opened this issue Jun 19, 2021 · 2 comments
Open

Configuration and reflection #10

novedevo opened this issue Jun 19, 2021 · 2 comments

Comments

@novedevo
Copy link
Member

Sail needs to know what its hostname is in order to properly validate paths (environment variable? toml config?), and needs a list of hostnames that it knows how to forward to to support 251 and 551 commands. The second of those isn't necessary since we can just return errors for anything not on the same host, though.

@novedevo
Copy link
Member Author

novedevo commented Jun 19, 2021

we should also include our hostname in our initial connection readiness statement and other related places. Anywhere we currently say Sail.

@gennyble
Copy link
Member

I'd like to be able to accept mail for more than one domain. OpenSMTPD seems to handle the "which domain do I present" issue, when handling multiple domains, by leaving it entirely up to the host to configure.

To set the hostname that smtpd presents itself as over smtp, you put the name in /etc/smtpd/mailname, otherwise it seems to check your /etc/hosts for what maps to 127.0.1.1.

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

2 participants