HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Missing notify for sent faxes



Hi,

i'm getting a problem similar to #862 where the notify mail are not sent.
My hylafax version is 4.3.4, os is debian etch.

Don't know it is this related but sending n faxes to the same destination
and with MaxConcurrentCalls set to 1 the notify are sent at the same time
when the last fax is done. In my tests with 7 faxes enqueued only the first
has the notify correctly sent.

in syslog i get lines like this:

FaxQueuer[18935]: NOTIFY exit status: 077000 (29238)

in /tmp i get a tmp-29238 dir with an empty body.txt inside.

I've put some echo in /var/spool/hylafax/bin/notify:

echo "t0: $TEMPLATE $WHY $RETURNFILETYPE" before template is set

TNOW=`date +%c`
echo "$JOBINFO $TNOW"
echo "t: $TEMPLATE $WHY $RETURNFILETYPE $template"

before the 'eval CreateMailMessage' and after that

echo $?

And in common-functions::CreateMailMessage:

echo "createmailmsg: $1 $2" just inside it

This is what i get:

t0: it done
75 ven 30 nov 2007 16:07:32 CET
t: it done  etc/templates/it/notify-done.txt
createmailmsg: etc/templates/it/notify-done.txt
0
t0: it done
t0: it done
81
t: it done  etc/templates/it/notify-done.txt
createmailmsg: etc/templates/it/notify-done.txt
78
t: it done  etc/templates/it/notify-done.txt
createmailmsg: etc/templates/it/notify-done.txt
t0: it done
t0: it done
80
t: it done  etc/templates/it/notify-done.txt
createmailmsg: etc/templates/it/notify-done.txt
t0: it done
77
t: it done  etc/templates/it/notify-done.txt
76
t: it done  etc/templates/it/notify-done.txt
createmailmsg: etc/templates/it/notify-done.txt
createmailmsg: etc/templates/it/notify-done.txt
126
t0: it done
79
t: it done  etc/templates/it/notify-done.txt
createmailmsg: etc/templates/it/notify-done.txt
126
126
126
126
126

What looks strange to me are the missing timestamp near the jobid and
the eval mailCreateMessage that does not return.

This is the ERRORSTO, sorry it's in italian, you should read
"arguments list too long":

bin/common-functions: line 435: /usr/bin/dirname: Lista degli
argomenti troppo lunga
bin/common-functions: line 436: /bin/sed: Lista degli argomenti troppo lunga
bin/common-functions: line 437: /bin/grep: Lista degli argomenti troppo lunga
bin/bin/common-functions: line 321: /bin/cat: Lista degli argomenti
troppo lubin/common-functions: line 321: /bin/cat: Lista degli
argomenti troppo lunga
bin/common-functions: line 409: /usr/bin/mawk: Lista degli argomenti
troppo lunga
bin/common-functions: line 442: echo: write error: Pipe rotta
bin/common-functions: line 450: /bin/sed: Lista degli argomenti troppo lunga
bin/common-functions: line 451: /bin/grep: Lista degli argomenti troppo lunga
bin/common-functions: line 350: /bin/cat: Lista degli argomenti troppo lunga
bin/common-functions: line 409: /usr/bin/mawk: Lista degli argomenti
troppo lunga
bin/common-functions: line 454: echo: write error: Pipe rotta
bin/common-functions: line 458: /bin/sed: Lista degli argomenti troppo lunga
bin/common-functions: line 458: /bin/grep: Lista degli argomenti troppo lunga
bin/common-functions: line 350: /bin/cat: Lista degli argomenti troppo lunga
bin/common-functions: line 409: /usr/bin/mawk: Lista degli argomenti
troppo lbin/common-functions: line 409: /usr/bin/mawk: Lista degli
argomenti troppo lunga
bin/common-functions: line 461: /bin/sed: Lista degli argomenti troppo lunga
bin/common-functions: line 350: /bin/cat: Lista degli argomenti troppo lunga
bin/common-functions: line 409: /usr/bin/mawk: Lista degli argomenti
troppo lunga
bin/common-functions: line 15: /bin/sed: Lista degli argomenti troppo lunga
bin/common-functions: line 228: /bin/cat: Lista degli argomenti troppo lunga

Any hint?

thanks

-- 
Riccardo Magliocchetti


____________________ 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