E-mail (SMTP)
Self-hosting
Venolio sends its own e-mail (invitations, notifications people asked for, pages sent by e-mail) through one SMTP relay. Nothing is configured on the server for it: an administrator enters the relay in the web app, in Settings → System e-mail. What each field means is in System e-mail. This page covers what to prepare.
Until a relay is set, the server sends no e-mail at all and says so where it matters.
What you need
- An SMTP account at a mail provider, or your own mail server.
- A sender address on a domain the relay may send for, for example
team@example.com. - Outbound access from the server to the relay’s port: usually 587 (STARTTLS) or 465 (TLS).
The encryption choices are STARTTLS (port 587), TLS (port 465) or none. No encryption is accepted
only for a relay on the server itself (localhost) without a login.
Example: Brevo
- In Brevo, add and verify your sending domain (its SPF and DKIM records), or at least the sender address.
- Under SMTP & API → SMTP, note the SMTP login and create an SMTP key.
- In Venolio, open Settings → System e-mail and enter:
SMTP server
smtp-relay.brevo.com, Encryption STARTTLS, Port587, your Sender address, the SMTP login as Login and the SMTP key as Password or SMTP key. - Click Save, then Send test.
Any other relay works the same way.
Reaching the inbox
What Venolio does for deliverability:
- every message has a plain-text part before the HTML part, a date and a message ID on the sender’s domain;
- no tracking pixels, images, redirecting links or unsubscribe links: links go straight to your server;
- invitations carry a Reply-To with the inviting person’s address.
What you set up at your DNS and mail provider:
- SPF and DKIM records for the sending domain, as your provider gives them;
- a DMARC record for the domain;
- a sender address on that domain.
Messages from a domain without these land in spam whatever their content. Some mail apps show the Open in the Venolio app link as plain text; the Join link in invitations always works.
Keep the encryption key
The relay’s password is stored in the database, encrypted with APP_ENCRYPTION_KEY. A server
restored with a different key cannot read it: e-mail turns off and Settings says to enter the
password again (see Backups and restore).
Moving from older SMTP variables
Older releases could read the relay from VENOLIO_SMTP_HOST, VENOLIO_SMTP_PORT,
VENOLIO_SMTP_TLS, VENOLIO_SMTP_FROM, VENOLIO_SMTP_FROM_NAME, VENOLIO_SMTP_USERNAME (or
VENOLIO_SMTP_USERNAME_FILE) and VENOLIO_SMTP_PASSWORD_FILE.
On the first start of a newer release, while nothing is saved in Settings yet, the server reads those variables once, checks them like a relay entered in the app, saves the relay and writes to its log that it took the relay over. If the values do not form a valid relay, nothing is saved and the log says why; enter the relay in the app.
From then on the variables are ignored. Remove them from .env and any compose.override.yml,
together with the login and password files you mounted.
About this part of Venolio: Your server, your data, your rules
Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.