Hylafax Mailing List Archives

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

[hylafax-users] failed fax gets passed anyway?



If a fax fails the quality test should it be passed to bin/faxrcvd anyway? 
We have a modified bin/faxrcvd that passes the path and pages of a fax to a 
program fax2db. Quite often the custom error message:

[---]
There was an error in processing an incoming fax into the system (fax2db).
The fax has either not been entered into the system or entered incorrectly.
This occurred on fax server n2 at Wed Mar 27 14:21:58 MST 2002.

The error message supplied was:
Usage: fax2db fax-filename fax-pages

Command line was:
fax2db recvq/fax00782.tif

Do not reply to this message.
[---]

The program is being called via bin/faxrcvd:

...
FAXINFO=/usr/sbin/faxinfo
SUBMIT=/apps/snap/bin/fax2db
LOGFILE=/apps/snap/faxes/logs/fax.log

TOTAL_PAGES=`$FAXINFO $FILE | grep Pages | awk '{print $2}'`

/bin/date '+%D %T'                                 >> $LOGFILE
$SUBMIT $FILE $TOTAL_PAGES                         >> $LOGFILE
exit $?

Any information would be appreciated!

Regards, Dustin


---
Dustin Puryear <dpuryear@usa.net>
Information Systems Contractor
http://members.telocity.com/~dpuryear
PGP Key available at http://www.us.pgp.net
In the beginning the Universe was created.
This has been widely regarded as a bad move. - Douglas Adams


____________________ 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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services