]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/en/install/messagesres.tex
Add base of Spanish manual
[bacula/docs] / docs / manuals / en / install / messagesres.tex
index d44a95c43be8c4bbe85d0b0efd0bf5581f517ff2..0c80a8eed6fcd1b73a350bd32a1db3dbeae99f78 100644 (file)
@@ -81,9 +81,9 @@ in a message resource.
 {\bf mail -s "Bacula Message" \lt{}recipients\gt{}}  
 
 In many cases, depending on your machine, this command may not work.  Using
-the {\bf MailCommand}, you can specify exactly how to send  the mail. During
-the processing of the {\bf command}, normally  specified as a quoted string,
-the following substitutions will be  used:  
+the {\bf MailCommand}, you can specify exactly how to send the mail.
+During the processing of the {\bf command} part, normally specified as a
+quoted string, the following substitutions will be used:
 
 \begin{itemize}
 \item \%\% = \%  
@@ -96,7 +96,13 @@ the following substitutions will be  used:
 \item \%n = Job name  
 \item \%r = Recipients  
 \item \%t = Job type (e.g. Backup, ...)  
-   \end{itemize}
+\end{itemize}
+
+Please note: any {\bf MailCommand} directive must be specified 
+in the {\bf Messages} resource {\bf before} the desired
+{\bf Mail}, {\bf MailOnSuccess}, or {\bf MailOnError}
+directive. In fact, each of those directives may be preceded by
+a different {\bf MailCommand}.
 
 The following is the command I (Kern) use. Note, the whole  command should
 appear on a single line in the configuration file  rather than split as is
@@ -107,7 +113,7 @@ done here for presentation:
 \%r\textbackslash{}" -s \textbackslash{}"Bacula: \%t \%e of \%c
 \%l\textbackslash{}" \%r"}
 
-Note, the {\bf bsmtp} program is provided as part of {\bf Bacula}.  For
+The {\bf bsmtp} program is provided as part of {\bf Bacula}.  For
 additional details, please see the 
 \ilink{ bsmtp -- Customizing Your Email Messages}{bsmtp} section of
 the  Bacula Utility Programs chapter of this manual. Please test any  {\bf
@@ -121,6 +127,8 @@ selective as to what forms are permitted particularly in the from part.
    it is used for Operator  messages. The substitutions performed for the {\bf
    MailCommand} are  also done for this command. Normally, you will set this
    command to the  same value as specified for the {\bf MailCommand}. 
+   The {\bf OperatorCommand} directive must appear in the {\bf Messages}
+   resource before the {\bf Operator} directive.
 
 \item [\lt{}destination\gt{} = \lt{}message-type1\gt{},
    \lt{}message-type2\gt{}, ...]