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 \%\% = \%
-\item \%c = Client's name
-\item \%d = Director's name
-\item \%e = Job Exit code (OK, Error, ...)
-\item \%h = Client address
-\item \%i = Job Id
-\item \%j = Unique Job name
-\item \%l = Job level
-\item \%n = Job name
-\item \%r = Recipients
-\item \%s = Since time
-\item \%t = Job type (e.g. Backup, ...)
-\item \%v = Volume name (Only on director side)
-\end{itemize}
+\begin{verbatim}
+ %% = %
+ %b = Job Bytes
+ %c = Client's name
+ %d = Daemon's name (Such as host-dir or host-fd)
+ %D = Director's name (Also valid on file daemon)
+ %e = Job Exit Status
+ %f = Job FileSet (Only on director side)
+ %F = Job Files
+ %h = Client address
+ %i = JobId
+ %j = Unique Job id
+ %l = Job Level
+ %n = Job name
+ %p = Pool name (Only on director side)
+ %P = Current PID process
+ %s = Since time
+ %t = Job type (Backup, ...)
+ %v = Volume name (Only on director side)
+ %w = Storage name (Only on director side)
+ %x = Spooling enabled? ("yes" or "no")
+\end{verbatim}
Please note: any {\bf MailCommand} directive must be specified
in the {\bf Messages} resource {\bf before} the desired
Community version of Bacula that is not yet released.
\section{New Features in 5.2.14}
+
+\subsection{Director job Codes in Message Resource Commands}
+Before submitting the specified mail command to the operating system, Bacula
+performs character substitution like in Runscript commands. Bacula will now
+perform also specific Director character substitution.
+
+\smallskip{}
+The code for this feature was contributed by Bastian Friedrich.
+
\subsection{Additions to RunScript variables}
The following variables are now available in runscripts:
\begin{itemize}