HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Route incoming faxes to certain email users



I want to route incoming faxes to certain email users, I saw the following instructions on the Internet, i created the file and customised it but it did not work?

Anyone any comments/ideas?

Matt

---------------------

Routing by number
To set up fax routing according to the fax sender's number, you can create a file called /var/spool/fax/etc/FaxDispatch and add in the following lines: 

#!/bin/sh case "$SENDER" in 
*1*415*555*1212*)  SENDTO=johndoe@home.domain;;  # send all faxes from SF office to John
*1*212*555*8649*)  SENDTO=office;;  # send all faxes from NY office to the general office staff
*1*520*555*1938*)  $TIFFBIN/fax2ps $FILE | lpr -P bob  # print out any faxes from Tucson # office on network printer 'bob'
*)                 SENDTO=FaxMaster;; esac



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions