HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] basic setup and usage



ive installed hylafax and am running qmail.  i followed the instructions and
all the services appear to be upa and runnig.  i put the mailfax.qmail file
in place and have a .qmail-fax-default file, just what the instructions said
to do.

now, how the heck do i send an email to get the fax server to send the fax?
i looked at the config file but can't tell what it doing.  i want to send an
email to fax@mydomain.com (qmail server) and have it fire out a fax (the
contents of the email) to a phone number (possibly in the subject or
elsewhere).  just not sure how this whole thing works ... and yes, ive been
staring at the on-line docs for hours but haven't been able to figure it out
thus far.


#!/bin/sh
#
#   mailfax - email to fax gateway for qmail.
#
#   This file should be installed as /local/etc/mailfax, and the
#   following changes made to the qmail configuration:
#
#   Add the following to /var/qmail/control/virtualdomains
#       .fax:fax
#
#   Add the following to /var/qmail/alias/.qmail-fax-default
#       | /local/etc/mailfax
#

TMPVAR=${SENDER//\`/}
TMPVAR=${TMPVAR//\$\(/}
SENDER=${TMPVAR//\)/}

/usr/local/bin/faxmail | /usr/local/bin/sendfax \
        -f "$SENDER" \
        -d "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`"


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions