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] Fax keeps being requeued



Am 2005.03.19 22:49 schrieb(en) Stefan Schilling:
Hello!

I´ve set up hylafax on my box and I can send a fax but although it´s
transfered completely, the job is requeued every time.

Maybe it's this problem:


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293808

In case version 1:01.02.03-9 does not work, you can use a wrapper script. (version 1:01.02.03-8 and -9 segfault on my system)
Here is the version I currently use:


#! /bin/sh
/usr/bin/c2faxsend "$@"
rc=$?
if [ $rc -gt 5 ]
then
  logger -p daemon.err -t c2faxsend.wrap \
     "changing unknown exit code $rc to 0 (retry)"
  rc=0
fi
eval qfile=\$$#
sed 's/^returned:0$/returned:'${rc}'/' $qfile > ${qfile}.new
mv ${qfile}.new $qfile
exit $rc


Bodo


____________________ 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*




Project hosted by iFAX Solutions