1 |
## $Id: hylafax_FaxDispatch,v 1.1 2013/05/24 20:40:04 unnilennium Exp $ |
2 |
## |
3 |
## Default FaxDispatch file - routes all inbound faxes to FaxMaster as PDF |
4 |
## |
5 |
## Consult the faxrcvd(8C) man page for more information |
6 |
## |
7 |
|
8 |
SENDTO=FaxMaster; # by default email to FaxMaster |
9 |
FILETYPE=pdf; # in PDF format |
10 |
|
11 |
|
12 |
## |
13 |
## This excerpt from the man page gives you an idea of what's possible here |
14 |
## |
15 |
## You can route by sender's TSI |
16 |
#case "$SENDER" in |
17 |
# *1*510*526*1212*) SENDTO=sam;; # Sam's test rig in Berkeley |
18 |
# *1*415*390*1212*) SENDTO=raster@asd;; # 7L Xerox room, used for scanning |
19 |
# *5107811212) SENDTO=peebles@mti;; # stuff from home |
20 |
#esac |
21 |
|
22 |
## and/or by device |
23 |
#case "$DEVICE" in |
24 |
# ttyS1) SENDTO=john;; # all faxes received on ttyS1 |
25 |
# ttyLT0) SENDTO=mary@home;; # all faxes received on ttyLT0 |
26 |
#esac |
27 |
|
28 |
## and/or by caller id |
29 |
#case "$CIDNUMBER" in |
30 |
# 435*) SENDTO=lee; FILETYPE=pdf;; # all faxes from area code 435 |
31 |
# 5059627777) SENDTO=amy; FILETYPE=tif;; # Amy wants faxes in TIFF |
32 |
#esac |