# All faxes come from $FROMADDR FROMADDR="Edit> this to a vaild email address" # We use the HTML templates TEMPLATE=hylafax-html # And we send faxes as TIFF files FILETYPE=tiff #And fax notifications go to TOADDR="FaxMaster Aidan >enter.real.address.here<" case "$CALLID1" in 215XXXXXXX) SENDTO="Someone " ;; *) SENDTO="Noone " ;; esac # IF you're using 4.3.1, you'll need to something like # the following. If you're using 4.3.2 or greater, this is # now done automatically, and you don't need any of the following. html_sanitize() { for i in $* do printf '%s: \n' "$i" val=`eval echo "$""$i" | sed -e 's//\>/g'` eval "$i"_HTML='"'"$val"'"' eval export "$i"_HTML done } html_sanitize SENDTO html_sanitize SESSION_LOG