SMTP2GO is a great way of getting emails sent from your TrueNAS if you don’t have an email relay or your emails get blocked by spam fliters.
This is an update to sending emails with SendGrid from TrueNAS. SendGrid no longer offers a free plan. This setup is a bit more logical than SendGrid, as you create a ‘user’ rather than an ‘api user’.
This assumes you have your own domain. They’re cheap (if you remember to renew it) and mean the email is more likely to get delivered.
Get SMTP2GO ready
- Create your account.
- Verify your account and domain by adding the DNS records. This will setup SPF and DKIM for you.
- Add a DNS record for DMARC.
- Create an SMTP user.
- The user is in the format of an email address. You’ll use this in the TrueNAS steps later.
- Copy the password.
Setup TrueNAS
Log into your TrueNAS web UI:
- Go to Accounts > Users:
- Edit the root user.
- Set the email address to the SMTP2Go user creation step.
- Go to System > Email and set:
- ‘From email address’ to the SMTP user creation step.
- ‘From name’ to something that isn’t an email address (eg, ‘TrueNAS’)
- ‘Outgoing mail server’ to ‘mail.smtp2go.com’
- ‘Mail server port’ to ‘2525’
- ‘Security’ to ‘TLS’
- ‘SMTP Authentication’ to enabled
- ‘Username’ is from the SMTP user you created before.
- Password is also from the SMTP user creation step.
- Save it.
- Click ‘Send test email’. You should hopefully receive an email.