initial commit of file from CVS for smeserver-hylafax on Sat Sep 7 20:28:13 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 20:28:13 +10:00
parent 1fbad8bb1b
commit c445749682
24 changed files with 777 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
#!/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"