/[smecontribs]/rpms/smeserver-hylafax/contribs10/smeserver-hylafax-0.9-Add-FaxDispatch-config.patch
ViewVC logotype

Contents of /rpms/smeserver-hylafax/contribs10/smeserver-hylafax-0.9-Add-FaxDispatch-config.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Nov 2 09:52:38 2021 UTC (3 years ago) by brianr
Branch: MAIN
CVS Tags: smeserver-hylafax-0_9-15_el7_sme, HEAD
* Tue Nov 02 2021 Brian Read <brianr@bjsystems.co.uk> 0.9-15.sme
- Add FaxDispatch confif file [SME: 11269]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed