18 lines
398 B
Plaintext
18 lines
398 B
Plaintext
|
#!/bin/sh
|
|||
|
#
|
|||
|
# mailfax <20> 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"
|
|||
|
|