#!/bin/sh # # mailfax – email to fax gateway for qmail. # see: http://www.vangee.nl/sme/hylafax TMPVAR=${SENDER//\`/} TMPVAR=${TMPVAR//\$\(/} SENDER=${TMPVAR//\)/} #/usr/bin/faxmail -f Helvetica-Bold | /usr/bin/sendfax \ #-f "$SENDER" \ #-n -d "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`" /usr/bin/faxmail -s a4 \ -n -u uucp "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`" \ "$SENDER"