![]() |
Just create a file called FaxDispatch (make sure it looks exactly like that caps and all) in the /var/spool/hylafax/etc folder. I have attached the contents of mine below. Make sure the file is readable and executable by the user that hylafax runs as (usually "uucp") ## $Id: FaxDispatch,v 1.2 2003/05/04 23:49:41 darren Exp $ ## ## Default FaxDispatch file - routes all inbound faxes to FaxMaster as PDF ## ## Consult the faxrcvd(8C) man page for more information ## SENDTO=FaxMaster; # by default email to FaxMaster FILETYPE=pdf; # in PDF format ## ## This excerpt from the man page gives you an idea of what's possible here ## ## You can route by sender's TSI #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 scanning # *5107811212) SENDTO=peebles@mti;; # stuff from home #esac ## and/or by device #case "$DEVICE" in # ttyS1) SENDTO=john;; # all faxes received on ttyS1 # ttyLT0) SENDTO=mary@home;; # all faxes received on ttyLT0 #esac ## and/or by caller id #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 -----Original Message----- From: Javier González [mailto:jgonzalez@xxxxxxxxxx] Sent: Thursday, July 24, 2008 12:16 AM To: Siri Vias Khalsa Subject: Re: [hylafax-users] more tha one modem Hi Siri, thanks to answered to me. How can I create that file? Have I to execute any script or how? How can I make sure that I use the right case? Thanks Siri Vias Khalsa escribio': > The FaxDispatch file is optional, you can create it; make sure you use > the right case. > > The correct syntax you are looking for is right in the FaxDispatch file: > ## and/or by device > case "$DEVICE" in > ttyS1) SENDTO=john;; > ttyS2) SENDTO=mary@home;; > esac > > > -Siri Vias > -----Original Message----- > From: hylafax-users-bounce@xxxxxxxxxxx > [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Javier Gonzalez > Sent: Wednesday, July 23, 2008 12:18 PM > To: hylafax-users@xxxxxxxxxxx > Subject: [hylafax-users] more tha one modem > > Hi, I'm using hylafax with two modems, I can send by one or by the other > one, it's perfect. > > I can received faxes by one or by the other one, it's perfect. > > The problem is that I want to recieved one fax (ttyS0) in the email1 and > the other one (ttyS1) in the email2. > > I've readed the faqs and docuemntation, and I see that I to configured > that in the FaxDispatch file, but I haven't this file, I have the > faxrcvd > file, but when I configured, in this file, that: > if device is > (ttyS0) SENDTO=email1 > (ttyS1) SENDTO=email2 > > it doesn't send me anything. > > How I have to configured this? > > It's normal taht I have't the FaxDispath file? > > hank you very much.. > > > > ____________________ 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@xxxxxxxxxxx < > /dev/null > *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx* > > > > > ____________________ 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@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*