HylaFAX The world's
most advanced open source fax server
[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?
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*) SENDTOemail@example.com;; # 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 firstname.lastname@example.org < /dev/null