Hi there, I'm looking for a convenient way to send individual mail reports to users as soon as his/her particular job(s) have finished. Ideally (for a non-programmer like me...) this could/should be done by substituting the recipient's email address variable (%r) defined within a MESSAGE resource, with a job-defined variable (let's call it job_mail).
Job { name=john_locke fileset=xxx pool=mmm ***job_mail="[EMAIL PROTECTED]"*** messages="job_complete" etc } and on the messages resource: messages { name=job_complete ***%%r=job_mail*** mailcommand = "bacula/bin/bsmtp -h mail.example.com \ -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" } I have read Chapter 55 - Variables Expansion - but the part regarding substitution is quite short and lacking examples... and the support status on variable substitution is not clear (dropped ? removed ?). Can this seemingly mundane task be performed without using python ? Thanks in advance, Michael Lewinger ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users