#
# Select which email template to use (located in /var/spool/hylafax/etc/templates/)
#TEMPLATE=en

# Specify "From" email address
#FROMADDR=fax

# Select which file format the fax should be attached as
# Choices are: PS, PDF, TIFF, raw
#RETURNFILETYPE=pdf

#
# Example of stopping all emails sent for requeued faxes even if client requested requeue notification
#case "$WHY" in
#	requeued)
#		exit;;
#esac

#
# Print all faxes that are faxed successfully
#
#PRINTER=myprinter
#
# if [ "$WHY" == "done" ]; then
# 	for i in `LocalSequence 1 $nfiles`
# 	do
# 		eval filename="$"files_"$i"
#
# 		if [ -f "$filename" ]; then
# 			eval filetype="$"filetype_"$i"
#
# 			case "$filetype" in
# 			   PostScript)
# 					TraceLog "Print $filename in PostScript format"
# 					lpr -P$PRINTER $filename
# 			       ;;
# 			   PDF)
# 					TraceLog "Print $filename in PDF format"
# 					$PDF2PS $filename | lpr -P$PRINTER
# 			       ;;
# 			   TIFF)
# 					TraceLog "Print $filename in TIFF format"
# 					$FAX2PS $filename | lpr -P$PRINTER
# 			       ;;
# 			   *)
# 			   		TraceLog "Error $filename in unknown[$filetype] format"
# 			       ;;
# 			esac
# 		fi
# 	done
# fi

