HylaFAX The world's most advanced open source fax server |
* Riccardo Magliocchetti <riccardo.magliocchetti@xxxxxxxxx> [071130 17:01]: > 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. Are you using batching? > 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 That shouldn't work - CreateMailMessage is eval'ed and it's output should go to the $SENDMAIL process, not to you logs And to keep things straight, you should probably put a PID or somethign like that in, so you don't get the lines interspersed with other notifies running at the same time. > 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. Can you try running them with C locale, and usig /bin/sh -x: unset LC_ALL LANG LC_ALL=C /bin/sh -x bin/notify XXX done > /tmp/log-XXX.txt 2>&1 You'll probably need to do that as both root and as uucp. And send that output to us? -- 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