XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Custom email

    Scheduled Pinned Locked Moved Management
    4 Posts 3 Posters 254 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      frank-s
      last edited by

      Is there a simple way to send a custom email from the xo command line eg xo-cli?

      pdoniasP gskgerG 2 Replies Last reply Reply Quote 0
      • pdoniasP Offline
        pdonias Vates 🪐 XO Team @frank-s
        last edited by

        @frank-s No, it's not possible. Could you describe your use case for this compared to sending a normal email?

        1 Reply Last reply Reply Quote 0
        • gskgerG Offline
          gskger Top contributor @frank-s
          last edited by

          @frank-s Probably not exactly your use case, but I use the Dragonfly Mail Agent (DMA) on Debian for sending mails in automation scripts or when working on the CLI. The mail plugin of XO from source handles the rest. As @pdonias said, it would be good to understand your requirements.

          1 Reply Last reply Reply Quote 0
          • F Offline
            frank-s
            last edited by

            Thanks for your replies. Since the advent of mirror backups I realised there was an opportunity to backup to several different USB disks where each disk is a different remote allowing rotation of the disks. The primary backup goes to additional internal storage which is then mirrored to the USB disks. Only one snapshot per vm is needed regardless of how many USB disks are in use. To do this I need to script the mounting process for these disks and send notification emails when a disk is mounted, unmounted (safe to unplug) or when no disk could be found.
            This is my use case.
            Thanks

            1 Reply Last reply Reply Quote 0
            • First post
              Last post