2 .\" Title: script-email
3 .\" Author: Jean-Louis Martineau <martineau@zmanda.com>
4 .\" Generator: DocBook XSL Stylesheets vsnapshot_8273 <http://docbook.sf.net/>
6 .\" Manual: System Administration Commands
7 .\" Source: Amanda 3.2.1
10 .TH "SCRIPT\-EMAIL" "8" "12/14/2010" "Amanda 3\&.2\&.1" "System Administration Commands"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 script-email \- Amanda script to send email notifications
25 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\&.
28 This section lists the properties that control script\-email\'s functionality\&. See
29 \fBamanda-scripts\fR(7)
30 for information on the Script API, script configuration\&.
35 List of email addresses that will receive an email on command execution\&. It is a multi\-valued property:
37 property "MAILTO" "amanda@domain\&.com" "sysadmin@domain\&.com" "amandauser@domain\&.com"
43 In this example, script\-email is scheduled to be run before the DLE, on the
44 server\&. The unqualified email address \fIamanda\fR will be
45 passed to the email system unchanged\&. The script is then attached to a
46 dumptype, which can then be specified for any DLEs which require notification\&.
48 define script\-tool pre\-email {
49 comment "email me before this DLE is backed up"
50 plugin "script\-email"
51 execute\-on pre\-dle\-backup
53 property "mailto" "amanda"
56 define dumptype user\-tar\-email {
65 \fBamanda-client.conf\fR(5),
66 \fBamanda-scripts\fR(7)
69 : http://wiki.zmanda.com/
72 \fBJean\-Louis Martineau\fR <\&martineau@zmanda\&.com\&>
74 Zmanda, Inc\&. (http://www\&.zmanda\&.com)
77 \fBDustin J\&. Mitchell\fR <\&dustin@zmanda\&.com\&>
79 Zmanda, Inc\&. (http://www\&.zmanda\&.com)