HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] routing faxes to certain folders



* Stephen Carville <stephen@xxxxxxxxxxxxxx> [061206 15:54]:
 
> Then I modified faxrcvd.
> 
> Right after:
> 
> if [ -f etc/FaxDispatch ]; then
>     . etc/FaxDispatch           # NB: FaxDispatch sets SENDTO
> fi
> 
> I added:
> 
> # move file to proper directory
> OLDFILE=$FILE
> FILE=recvq/$SAVDIR/$FILENAME.tiff
> mv $OLDFILE $FILE

Of course - that part could be put in FaxDispatch as well, and would
save you the grief having to merge your changes to faxrcvd by hand next
time you upgrade.

As a simple rule of thumb, *I* _never_ modify faxrcvd in an
installation, simply because I don't want to have to deal with merging
in changes.  If you can do it in faxrcvd, you can do it in FaxDispatch
(because it is just a shell file sourced by faxrcvd).  If I don't want
any of the following faxrcvd functionality (e-mailing it), a simple
"exit" in FaxDispatch is sufficient.

a.

-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions