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] More infos from the FaxDispatch script



Hello,

i guess FaxDispatch is not a problem.

when fax is received by fagetty, "bin/faxrcvd" command is executed by default.
faxrcvd includes FaxDispatch to set some variables (SENDTO,FILETYPE,TEMPLATE....)

faxgetty executes faxrcvd command with a nuber of parameters - see man page
One of those is error_msg - this indicates problem in reception of fax.
Ussualy in session log file in /var/spool/hylafax/log/ directory you can find line like this
RECV FAX: bin/faxrcvd "recvq/fax000003237.tif" "ttyds01" "000003720" "foo" "0596632066;776993201" "0596632066;776993201"

where "foo" is the error message - so you can execute this command manually and do some debugging on faxrcvd script
to find why it does not send email on failed faxes.

Maybe it's just a missing template file
you shoul have these files in your /var/spool/hylafax/etc/templates/$TEMPLATE/  directory

-rw-r--r-- 1 root root 379 Aug  5 15:05 faxrcvd-error.txt
-rw-r--r-- 1 root root 231 Aug  5 15:06 faxrcvd-failure.txt
-rw-r--r-- 1 root root 391 Aug  5 15:07 faxrcvd-notify-error.txt
-rw-r--r-- 1 root root 342 Apr  2 19:21 faxrcvd-notify-success.txt
-rw-r--r-- 1 root root 344 Jul 23 10:59 faxrcvd-success.txt
-rw-r--r-- 1 root root 314 Nov 27  2007 notify-blocked.txt
-rw-r--r-- 1 root root 485 Nov 27  2007 notify-done-page.txt
-rw-r--r-- 1 root root 382 Nov 27  2007 notify-done.txt
-rw-r--r-- 1 root root 338 Aug  5 15:07 notify-failed-page.txt
-rw-r--r-- 1 root root 491 Aug  5 15:08 notify-failed.txt
-rw-r--r-- 1 root root 639 Nov 27  2007 notify-format_failed.txt
-rw-r--r-- 1 root root 477 Nov 27  2007 notify-killed.txt
-rw-r--r-- 1 root root 505 Nov 27  2007 notify-no_formatter.txt
-rw-r--r-- 1 root root 228 Nov 27  2007 notify-poll_failed.txt
-rw-r--r-- 1 root root 238 Nov 27  2007 notify-poll_no_document.txt
-rw-r--r-- 1 root root 230 Nov 27  2007 notify-poll_rejected.txt
-rw-r--r-- 1 root root 486 Nov 27  2007 notify-rejected.txt
-rw-r--r-- 1 root root 242 Nov 27  2007 notify-removed.txt
-rw-r--r-- 1 root root 293 Aug  5 15:08 notify-requeued.txt
-rw-r--r-- 1 root root 480 Nov 27  2007 notify-timedout.txt

hope this helps

Tomas Novosad


------------ Původní zpráva ------------
Od: Jan Prunk <janprunk@xxxxxxxxx>
Předmět: [hylafax-users] More infos from the FaxDispatch script
Datum: 05.8.2008 15:36:57
----------------------------------------
Hello !

I am wondering if it is possible that Hylafax script would send an
email also if the FAX doesn't succeed in being transmited, right now
it only send the email of a succesfull transmission. I am using
FaxDispatch script with the following options:

SENDTO=fax@xxxxxxxxxxx;
FILETYPE=pdf;

Could I apply any extra parameters there ?

Regards,
Jan
--
Jan Prunk <janprunk AT SPAMFREE gmail DOT com>
Website: http://www.prunk.si PGP key: 00E80E86
Fingerprint: 77C5156E29A4EB6C1C4A5EBA414A29F500E80E86


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




Project hosted by iFAX Solutions