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

Feature request: Allow setting different hostname to listen address (and server hostname) #194

Closed
james-portman opened this issue Oct 13, 2020 · 3 comments · Fixed by #192

Comments

@james-portman
Copy link

At the moment I have a server running in a cloud system behind NAT essentially.
I need to be able to have 0.0.0.0 as the listen address but a different hostname used for sending over in the SMTP banner etc

At the moment if I set the "correct" FQDN it then tries to listen on the public IP which doesn't exist on this server and fails

@james-portman james-portman changed the title Feature request: Allow setting different hostname to listen address Feature request: Allow setting different hostname to listen address (and server hostname) Oct 13, 2020
@waynew
Copy link
Collaborator

waynew commented Oct 13, 2020

I'm pretty sure I'm doing this in my orouboros project, but I don't remember how. It would be good to document this, if it's possible

@james-portman
Copy link
Author

(For now I am running it in a docker container with the hostname for the container set, then leaving it to listen on 0.0.0.0)

@pepoluan
Copy link
Collaborator

I think the problem is that the default Controller class does not pass hostname info to the SMTP class in factory()

I've implemented a pass-through mechanism in 7289e6d.

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

Successfully merging a pull request may close this issue.

3 participants