Before you start
Have these details ready:Use the exact relay hostname from your setup email.
relayxx.mysmtp.com is only an example.- hMailServer
- MDaemon
1
Open SMTP delivery settings
In hMailServer Administrator, go to Settings > Protocols > SMTP > Delivery of e-mail.
2
Set the remote host name and port
- Enter your relay hostname (e.g.
relayxx.mysmtp.com) in Remote host name. - Enter 587 in Remote TCP/IP port.
3
Enable SMTP authentication
- Check Server requires authentication.
- Enter your mySMTP username and password.
4
Set connection security
Select STARTTLS (Required) from the Connection security dropdown. If STARTTLS is not available as an option, set it to TLS or the nearest equivalent and ensure the port is 587.
5
Save and test
Click Save and send a test email from a client connected to hMailServer.
Test the connection
- Send a test email from a mailbox on your server to an external address, such as a Gmail account or your own.
- Confirm the message arrives. In the received message headers you should see it passed through your mySMTP relay.
- If the message does not arrive, check the server’s mail queue or logs for delivery errors.
Troubleshooting
Login fails
Login fails
Re-enter your mySMTP username and password in the smart host settings. Make sure there are no extra spaces.
Connection timed out
Connection timed out
Check that outbound traffic on port 587 is allowed by your firewall. Try port 2525 if port 587 is blocked, and update the port in your server settings.
TLS not available
TLS not available
If your server version does not support STARTTLS, confirm you are using a current release. hMailServer and MDaemon both support TLS on SMTP delivery in recent versions.
Relay access denied
Relay access denied
Make sure the sender address uses a domain authenticated for your mySMTP account. See DNS settings quick explainer.
.png?fit=max&auto=format&n=-Uw4rR8wfyv_xkzc&q=85&s=898bb0b43b6c9dce61441f46ac9ac860)