Help ›

Proxmox backup and alert emails through Microsoft 365 or Gmail

Proxmox VE and Proxmox Backup Server email you about backups, replication, disk health, and available updates. Their SMTP notification targets sign in with a username and password, and have no OAuth option, so they can’t send through Microsoft 365 or Gmail directly.

With Auth-Email, you add one SMTP notification target (or, on older versions, point Postfix at Auth-Email), and notifications from every node are sent through your mailbox.

Before you start: link the mailbox in your Auth-Email dashboard, and choose a password for it. That is the password you’ll enter in Proxmox – not your mailbox password.


Step 1: Add an SMTP notification target

These steps are for Proxmox VE 8.1 and later, and Proxmox Backup Server 3.2 and later. For older versions, see older versions below.

  1. In Proxmox VE, go to Datacenter > Notifications (in Proxmox Backup Server, Configuration > Notifications)
  2. Under Notification Targets, click Add, and choose SMTP
  3. Enter the following. Show the settings for an account provided by Outlook:
    • Endpoint Name: A name to identify the target (e.g., auth-email)
    • Server: outlook.auth-email.com
    • Encryption: TLS
    • Port: 465
    • Authenticate: Ticked
    • Username: The linked mailbox’s full email address (e.g., you@outlook.com)
    • Password: The password you chose in Auth-Email
    • From Address: The linked mailbox’s email address, or an address that the mailbox is allowed to send as
    • Recipient(s): The users (such as root@pam) whose email addresses should receive notifications, and/or any Additional Recipient(s)
  4. Click Add, then select the new target and click Test to send a test notification

Send notifications to the new target

Notifications are sent to targets by notification matchers. Under Notification Matchers, edit the default-matcher (or your own matchers), and on the Targets to Notify tab, tick the new SMTP target. You can untick the old mail-to-root target, so that notifications aren’t sent twice.


Older versions

Proxmox VE before 8.1 (and Proxmox Backup Server before 3.2) send email through the server’s local Postfix mail system. Configure Postfix to relay through Auth-Email, as described in our Linux mail relay guide. This also works with newer versions, if you prefer to keep using the sendmail target.


Troubleshooting

  • “Authentication failed”: check that the username is the full email address, and that the password is the one you chose in Auth-Email (not your mailbox password)
  • Timeouts or TLS errors: check that Encryption is TLS (not STARTTLS) with port 465, and that the server can make outgoing connections on that port
  • “Sender address rejected” or “SendAsDenied”: the From Address must be the linked mailbox, or an address that the mailbox is allowed to send as
  • The test works, but real notifications don’t arrive: check that a notification matcher sends them to the new target, and that the users you chose have an email address set (Datacenter > Permissions > Users)

For other errors, such as Microsoft 365 reporting that SMTP AUTH is disabled, see fixing common errors. Your account’s connection page in the Auth-Email dashboard also shows whether Proxmox has connected, and explains any error it received. Still stuck? Email us – we’ll help you get it working.


Try Auth-Email with Proxmox

Link your mailbox, add an SMTP notification target, and send a test notification.

Start your free trial →

No credit card needed. Check that it works, including sending yourself test messages, before you pay.