# $2 = main pid of running program to be traced back.
#
gdb -quiet -batch -x @sbindir@/btraceback.gdb $1 $2 2>&1 \
- | @sbindir@/smtp -h @smtp_host@ -s "Bacula traceback" @dump_email@
+ | @sbindir@/bsmtp -h @smtp_host@ -s "Bacula traceback" @dump_email@
# Below is some old code that did the traceback from a core
# dump. However, for some odd reason, core dumps are not