2 .\" Title: script-email
3 .\" Author: Jean-Louis Martineau <martineau@zmanda.com>
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
6 .\" Manual: System Administration Commands
7 .\" Source: Amanda 3.3.2
10 .TH "SCRIPT\-EMAIL" "8" "07/25/2012" "Amanda 3\&.3\&.2" "System Administration Commands"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 script-email \- Amanda script to send email notifications
34 script\-email is an Amanda script implementing the Script API\&. It should not be run by users directly\&. It sends a notification email to the addresses specified in the MAILTO property\&.
37 This section lists the properties that control script\-email\*(Aqs functionality\&. See
38 \fBamanda-scripts\fR(7)
39 for information on the Script API, script configuration\&.
44 List of email addresses that will receive an email on command execution\&. It is a multi\-valued property:
46 property "MAILTO" "amanda@domain\&.com" "sysadmin@domain\&.com" "amandauser@domain\&.com"
52 In this example, script\-email is scheduled to be run before the DLE, on the
53 server\&. The unqualified email address \fIamanda\fR will be
54 passed to the email system unchanged\&. The script is then attached to a
55 dumptype, which can then be specified for any DLEs which require notification\&.
57 define script\-tool pre\-email {
58 comment "email me before this DLE is backed up"
59 plugin "script\-email"
60 execute\-on pre\-dle\-backup
62 property "mailto" "amanda"
65 define dumptype user\-tar\-email {
74 \fBamanda-client.conf\fR(5),
75 \fBamanda-scripts\fR(7)
78 : http://wiki.zmanda.com/
81 \fBJean\-Louis Martineau\fR <\&martineau@zmanda\&.com\&>
83 Zmanda, Inc\&. (http://www\&.zmanda\&.com)
86 \fBDustin J\&. Mitchell\fR <\&dustin@zmanda\&.com\&>
88 Zmanda, Inc\&. (http://www\&.zmanda\&.com)