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 π
- Jean-Louis Martineau
<martineau@zmanda.com>Zmanda, Inc. (http://www.zmanda.com) - Dustin J. Mitchell
<dustin@zmanda.com>Zmanda, Inc. (http://www.zmanda.com)
β 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