[prev in list] [next in list] [prev in thread] [next in thread]
List: hylafax
Subject: [hylafax-users] Commands in FaxDispatch
From: Frank Griffith <glassdude45 () yahoo ! com>
Date: 2003-12-23 11:30:52
[Download RAW message or body]
I read the man page on faxrcvd and in it they state you can enter some commands like \
this into your /var/spool/hylafax/etc/FaxDispatch file: \
============================================================ case "$SENDER" in
*1*510*526*1212*) SENDTO=sam;; # Sam's test rig in Berkeley
*1*415*390*1212*) SENDTO=raster@asd;; # 7L Xerox room, used for scannin
*5107811212) SENDTO=peebles@mti;; # stuff from home
esac
case "$DEVICE" in
ttyS1) SENDTO=john;; # all faxes received on ttyS1
ttyLT0) SENDTO=mary@home;; # all faxes received on ttyLT0
esac
case "$CIDNUMBER" in
435*) SENDTO=lee; FILETYPE=pdf;; # all faxes from area code 435
5059627777) SENDTO=amy; FILETYPE=tif;; # Amy wants faxes in TIFF
esac
case "$SUBADDR" in
============================================================
Is that all there is to it? I will try this once I get to my office but this seems \
too simple. My existing FaxDispatch file has the following lines in it:
SENDTO=FaxMaster;
FILETYPE=pdf;
/usr/local/bin/tiff2ps -a $FILE | lpr
Will adding this new code to the file override or have a negative effect on this \
lines too?
---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
[Attachment #3 (text/html)]
<DIV>I read the man page on faxrcvd and in it they state you can enter some commands \
like this into your /var/spool/hylafax/etc/FaxDispatch file:</DIV> \
<DIV>============================================================</DIV> <DIV>case \
"$SENDER" in<BR> *1*510*526*1212*) \
SENDTO=sam;; # Sam's test rig \
in Berkeley<BR> *1*415*390*1212*) <A \
href="mailto:SENDTO=raster@asd">SENDTO=raster@asd</A>;; # 7L Xerox room, \
used for scannin<BR> \
*5107811212) <A \
href="mailto:SENDTO=peebles@mti">SENDTO=peebles@mti</A>;; # stuff from \
home<BR> \
esac<BR> case "$DEVICE" \
in<BR> \
ttyS1) \
SENDTO=john;; # all faxes received on \
ttyS1<BR> \
ttyLT0) <A \
href="mailto:SENDTO=mary@home">SENDTO=mary@home</A>;; # all faxes \
received on ttyLT0<BR> \
esac<BR> case "$CIDNUMBER" \
in<BR> \
435*) SENDTO=lee; FILETYPE=pdf;; # all \
faxes from area code 435<BR> 5059627777) \
SENDTO=amy; FILETYPE=tif;; # Amy wants faxes in \
TIFF<BR> \
esac<BR> case "$SUBADDR" \
in<BR>============================================================</DIV> <DIV>Is that \
all there is to it? I will try this once I get to my office but this seems too \
simple. My existing FaxDispatch file has the following lines in it:</DIV> \
<DIV> </DIV> <DIV>SENDTO=FaxMaster;</DIV>
<DIV>FILETYPE=pdf;</DIV>
<DIV> </DIV>
<DIV>/usr/local/bin/tiff2ps -a $FILE | lpr</DIV>
<DIV> </DIV>
<DIV>Will adding this new code to the file override or have a negative effect on this \
lines too?</DIV> <DIV> </DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/slv/mailtag/*http://companion.yahoo.com/">Free Pop-Up \
Blocker - Get it now</a>
____________________ 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.*
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic