SCRIPT-EMAIL(8)

πŸ’Œ SCRIPT-EMAIL(8) β€” the lil' script that emails your besties

okay so real talk: this is a System Administration Commands manpage, SCRIPT-EMAIL(8), and it's the whole tea on script-email. 🫢


✨ NAME ✨

script-email β€” an Amanda script that sends email notifications. literally that's her job. πŸ’…


🌸 DESCRIPTION 🌸

So script-email is an Amanda script implementing the Script API. Bestie, please hear me on this one: it should not be run by users directly. no cap. she's not a main character you invoke in your shell β€” she gets called by Amanda, okay?

What she does do: sends a notification email to the addresses specified in the MAILTO property. that's it. that's the whole vibe. ✨


πŸŽ€ PROPERTIES πŸŽ€

This bit lists the properties that control script-email's functionality. if you wanna know more about the Script API and script configuration in general, go check amanda-scripts(7) β€” she's got the lore. πŸ“–

πŸ’– MAILTO

List of email addresses that will receive an email on command execution. highkey important: it's a multi-valued property, which means you can stack as many addresses as you want, like this:

property "MAILTO" "amanda@domain.com" "sysadmin@domain.com" "amandauser@domain.com"

see how she just keeps going? more addresses, more friends getting the notification. slay. πŸ”₯


πŸ¦‹ EXAMPLE πŸ¦‹

So in this example, script-email is scheduled to be run before the DLE, on the server. The unqualified email address amanda will be passed to the email system unchanged β€” like, nobody's editing that, it goes through as-is, periodt.

Then the script gets attached to a dumptype, which you can then specify for any DLEs that require notification. πŸ’«

 define script-tool pre-email {
   comment "email me before this DLE is backed up"
   plugin  "script-email"
   execute-on pre-dle-backup
   execute-where server
   property "mailto" "amanda"
 }

 define dumptype user-tar-email {
   user-tar
   script "pre-email"
 }

look at that. iconic. she's attached, she's scheduled, she's emailing. 🧚


🌈 SEE ALSO 🌈

The Amanda Wiki: : http://wiki.zmanda.com/ 🌐

ok the double colon in that wiki line is literally in the original, i'm not fixing it, she's perfect as she is πŸ’€

πŸ‘‘ AUTHORS πŸ‘‘


⭐ the sign-off ⭐

k that's the whole page bestie, you ate that πŸ’…. this masterpiece is from Amanda 3.5.4, dated 07/23/2025, and it lives at SCRIPT-EMAIL(8). now go forth and email responsibly πŸŽ€πŸ’ŒπŸ¦‹

πŸ“¦ where this page comes from
  • fedora 43: amanda 3.5.4-17.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms