Updated 2026-11-20
How to Send Proxmox VE Notification Email Through an SMTP Relay
In Proxmox VE 8.1 or later, open Datacenter -> Notifications, click Add -> SMTP, enter Server smtp.bulko.io, Encryption STARTTLS, Port 587, tick Authenticate and paste your Bulko username and password, set a From Address on your own domain, then click Test. Finally add the new target to the default-matcher so backup, replication, fencing and update notifications actually use it.
Proxmox VE emails you when a backup succeeds or fails, a replication job breaks, an HA node gets fenced, package updates are available, and when daemons like smartd or ZFS write to root. By default all of it goes to the built-in mail-to-root target, which hands the message to the local Postfix. On a fresh node Postfix has no relay, tries port 25 directly and either gets blocked by the hosting provider or delivers from [email protected] straight into spam.
Since Proxmox VE 8.1 there is a better option: an SMTP notification target that talks to a relay directly, without Postfix. Its settings live in /etc/pve/notifications.cfg, so one configuration covers every node in the cluster. This guide sets it up with Bulko SMTP and also shows the classic Postfix relayhost route for mail that still goes through sendmail.
Proxmox VE SMTP settings
| Field | Value |
|---|---|
| Endpoint Name | bulko (any name, no spaces) |
| Server | smtp.bulko.io |
| Encryption | STARTTLS (port 587 or 2525) or TLS (port 465) |
| Port | 587 (leave empty = Default (587) with STARTTLS) |
| Authenticate | checked |
| Username | Your Bulko SMTP username (smtp_xxxxxxxxxxxxxxxx) |
| Password | Your Bulko SMTP password |
| From Address | [email protected] (a domain you control) |
| Recipient(s) | root@pam (uses the E-Mail of that user) |
| Additional Recipient(s) | [email protected] (optional) |
Step-by-step setup
- Buy an SMTP package on the Bulko SMTP Relay page, copy the username and password from Dashboard -> SMTP Access and, ideally, verify your sending domain under Sending domains so mail is DKIM-signed.
- Give root a real address: Datacenter → Permissions → Users, select
root@pam, click Edit and fill in E-Mail. This is the address the installer asked for; recipients selected as users take their address from here. - Go to Datacenter → Notifications. Under Notification Targets click Add and choose SMTP.
- Enter an Endpoint Name, Server
smtp.bulko.io, set Encryption toSTARTTLS(the default is TLS) and Port to587. - Tick Authenticate and fill in Username and Password. Set From Address to an address on your domain; if left empty Proxmox falls back to
email_fromfrom Datacenter Options and then toroot@$hostname. - Pick
root@pamin Recipient(s) and/or type addresses in Additional Recipient(s) (at least one is required), then click Add. - Select the new target and click Test.
- Under Notification Matchers select
default-matcher, click Modify, open Targets to Notify and tick your SMTP target (untickmail-to-rootif you do not want duplicates via Postfix).
/etc/pve/notifications.cfg (what the GUI writes)
# /etc/pve/notifications.cfg (cluster-wide, same on every node)
smtp: bulko
server smtp.bulko.io
port 587
mode starttls
username smtp_xxxxxxxxxxxxxxxx
from-address [email protected]
mailto-user root@pam
mailto [email protected]
comment Bulko SMTP relay
matcher: default-matcher
target bulko
# /etc/pve/priv/notifications.cfg (secrets, root only)
smtp: bulko
password YOUR_BULKO_SMTP_PASSWORD
Which events are mailed: matchers
A target only receives what a matcher sends to it. The built-in default-matcher has no rules, so it matches everything; adding your SMTP target to it is enough to get all events. For finer routing, create extra matchers under Notification Matchers with Match Severity, Match Field or Match Calendar rules. The events Proxmox VE sends:
| Event | type | Severity |
|---|---|---|
| Backup succeeded / failed | vzdump | info / error |
| Storage replication job failed | replication | error |
| Cluster node fenced (HA) | fencing | error |
| System updates available | package-updates | info |
| Mail for root (smartd, zfs, cron…) | system-mail | unknown |
Example: a matcher with Match Severity = error and Match Field type = vzdump mails only failed backups. Mail for root reaches the notification system because /root/.forward pipes it into /usr/bin/proxmox-mail-forward; if you replaced that file or added an alias in /etc/aliases, those mails bypass your SMTP target.
Send a test email
The Test button asks Do you want to send a test notification to '<name>'? and sends a test message to the target's recipients right away. On success you see Sent test notification to '<name>'. On failure the dialog shows the relay's reply in the form Could not test target: could not notify via endpoint(s): <name>: <error> (500), which is usually enough to tell a blocked port from a wrong password.
The test bypasses matchers, so a passing test does not prove backups will use the target. Run a backup job with notifications set to Use global notification settings and check that its result arrives, or send mail to root with echo test | sendmail root to exercise the system-mail path.
Backup jobs: global notifications vs legacy sendmail
Each backup job has its own notification setting: Datacenter → Backup → (job) → Edit → Notifications. Use global notification settings (notification-mode notification-system) sends results through targets and matchers, including your SMTP target. Use sendmail to send an email (legacy) mails the Recipients of the job directly through Postfix and ignores targets and matchers, which is how backups worked before Proxmox VE 8.1.
Watch out for jobs created on older versions: on the CLI the default notification-mode is auto, which uses sendmail whenever a mailto address is set. Such a job keeps going through an unconfigured Postfix even after your SMTP target tests fine. Also, the job-id field (useful in matchers) is set only for scheduled runs, not for Run now.
Alternative: Postfix relayhost with SASL on each node
Before Proxmox VE 8.1 every mail left the node through the local Postfix via sendmail, and that is still what the built-in mail-to-root target (type Sendmail), legacy backup jobs and plain mail/sendmail calls from cron or smartd use. Out of the box Postfix tries to deliver directly to the recipient's MX on port 25, which most hosting providers block and most mailbox providers distrust, so the mail sits in the queue or lands in spam. If you want to keep the Sendmail path (it has a queue and retries, the SMTP target does not), point Postfix at a smart host:
apt install libsasl2-modules
# /etc/postfix/main.cf
relayhost = [smtp.bulko.io]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = encrypt
sender_canonical_maps = regexp:/etc/postfix/sender_canonical
# /etc/postfix/sasl_passwd
[smtp.bulko.io]:587 smtp_xxxxxxxxxxxxxxxx:YOUR_BULKO_SMTP_PASSWORD
# /etc/postfix/sender_canonical ([email protected] is not a domain you own)
/.+/ [email protected]
chmod 600 /etc/postfix/sasl_passwd
postmap hash:/etc/postfix/sasl_passwd
systemctl reload postfix
Without libsasl2-modules Postfix logs unable to authenticate, no mechanism errors. Unlike /etc/pve/notifications.cfg, Postfix configuration is local: repeat it on every cluster node. Check the queue with mailq and delivery results with journalctl -u postfix@-.
Troubleshooting
| Problem | Fix |
|---|---|
| Test fails with network error: Resource temporarily unavailable (os error 11) or Network is unreachable (os error 101) | The node cannot reach the relay port; many providers filter outbound SMTP. Change Port to 2525 and keep Encryption STARTTLS, or check the node's firewall and DNS for smtp.bulko.io. |
| Test hangs or fails with a TLS/handshake error after you typed port 587 | Encryption is still at its default TLS, which expects implicit TLS on 465. Use STARTTLS with 587 or 2525, and TLS only with 465. |
| 535 Authentication failed | Authenticate must be ticked and Username/Password must be the Bulko SMTP credentials, not a Gmail or Microsoft password. Re-paste them from Dashboard -> SMTP Access. More: https://bulko.io/en/smtp-errors/535/. |
| Test mail arrives, backup or update mails do not | The target is not in any matcher: add it under default-matcher -> Targets to Notify. If only backups are missing, the job is in legacy sendmail mode or has mailto set with notification-mode auto; switch it to Use global notification settings. |
| Mail rejected (554) or sent as [email protected] | From Address is empty and Proxmox used root@$hostname. Set a From Address on a domain you control and verify that domain in Bulko for DKIM. |
| Notification lost while the relay was unreachable | SMTP targets have no queue or retry. If you need retries, use the Sendmail target with Postfix configured as a relay (see above). |
Proxmox Backup Server uses the same system
Proxmox Backup Server (since 3.2) uses the same notification stack: Configuration → Notifications, with Sendmail, SMTP, Gotify and Webhook targets and the same matchers. The SMTP target is filled in the same way (smtp.bulko.io, STARTTLS, 587, your Bulko credentials). PBS events are gc, prune, verification, sync, tape-backup, tape-load, acme and package-updates.
The PBS equivalent of the backup job setting lives on each datastore (and tape job): notification-mode must be notification-system, otherwise the datastore keeps sending through sendmail and ignores your target. Secrets are stored in notifications-priv.cfg, readable only by root.
FAQ
Which Proxmox VE versions have the SMTP notification target?
SMTP targets and matchers arrived with the notification system in Proxmox VE 8.1 and are present in 9.x. Older releases can only send through Postfix, so configure a relayhost there. Starting with 9.3 matcher rules are stored as a single expression; the older options still work.
Where does Proxmox store the SMTP password?
In /etc/pve/priv/notifications.cfg, readable only by root and replicated across the cluster with the rest of /etc/pve. The non-secret settings are in /etc/pve/notifications.cfg.
How do I get emails only for failed backups?
Create a matcher with Match Severity error and Match Field type = vzdump, point it at your SMTP target, and remove the target from default-matcher.
Do I have to configure every cluster node?
Not for the SMTP target: notifications.cfg lives in the cluster file system and applies to all nodes. A Postfix relayhost, by contrast, must be set up on each node.
Is there a sending limit?
Bulko allows 2,000 emails per day per SMTP access, far more than a cluster's notifications. Messages can be up to 32 MB.
How much does it cost?
Bulko SMTP Relay is a one-time package: 5K emails for $5, 20K for $15, 50K for $30 or 150K for $60, no subscription and no expiry.
Get SMTP credentials for Proxmox VE
One-time payment by card or crypto, no subscription. Unused emails never expire. 2,000 emails per day per SMTP account.
What you can send: Acceptable Use Policy.