ON-PREM: Mail server configuration
I followed the installation instructions for Proof-of-Concept Installation and cant configure smtp server. Sent emails are not displayed in mailhog web interface.
My settings
mail {
outgoing {
enabled = enable
fromAddress = "space@example.com"
host = "mailhog"
port = 1025
protocol = "SMTP"
login = "space"
password = "space"
messageQueuePrefix = "mailQueue"
aggregationDelaySecs = 900
rateLimitPerSecond = 3
}
}
Please sign in to leave a comment.
Ushatpomoyev, please change the config to the following:
There's a mistake in the documentation, we'll fix it soon. Sorry for that.
I also have a problem with Space not sending emails.
MailHog is running correctly and I can access the UI.
I can curl to mailhog with: `curl http://mailhog:8025`. So the connection is there.
It's also not my firewall, as I've allowed for port 1025 and 8025. The logs did not show any denials.
The email address is also correct.
This is the config added to the top of space.on-premises.conf:
This has been added to docker-compose.yml under services:
Here are the docker logs, as you can see MailHog is running:
Can anybody help me. I have no intelli-idea what to do next.
You may use third party SMTP Server to send mails. I have used https://www.sendinblue.com free service, you may use whatever works best for you. It worked for me. Make sure to update port in docker-compose.yml file like below.
then Edit space.on-premises.conf file like this.
Thanks, it works now
Pavel Boger I have edited my real smtp server like this. But still not receiving the mails, can you please check this.
My mail server is mail.aimway.de
and user is space@aimway.de
SMTP Port:25
mail {
outgoing {
enabled = true
// SMTP settings
fromAddress = "space@aimway.de"
host = "aimway.de"
port = 25
protocol = "SMTP"
login = "space"
password = "*********"
messageQueuePrefix = "mailQueue"
// handling properties
aggregationDelaySecs = 900
rateLimitPerSecond = 3
}
}
Nofilter Bol, may I ask if you see any errors in the main Space container when the email is supposed to be sent? By the way, what is exact email you expect?
I expect an invitation email, I invited some users (my team members). How can i see the errors ?
Thanks for your response.
Nofilter Bol, the Docker Compose installation should produce logs directly in the terminal it's been started from. Please send an invitation once again and check if the main Space container throws any exceptions to the logs.