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 Notifications emails, no PDF
I did not get an attachment in the two emails received.
You are correct, the output to console is quite long. So long I cannot capture it, being ssh'd in with putty. Can't scroll back far enough.
I snipped this out, hoping it has some value, guessing, mostly. The page length seems spec'd in mm, but should be inches (?).
"+ printf '%17s: %u (mm)\n' 'Page Width' 200
+ printItem '%.0f (mm)' 'Page Length' 264
++ echo %17s: %.0f '(mm)'
+ FMT=%17s: %.0f (mm)
+ TAG=Page Length
+ VALUE=264
+ printf '%17s: %.0f (mm)\n' 'Page Length' 264
+ printItem %s 'Signal Rate' '14400 bit/s'
++ echo %17s: %s
+ FMT=%17s: %s
+ TAG=Signal Rate
+ VALUE=14400 bit/s
+ printf '%17s: %s\n' 'Signal Rate' '14400 bit/s'
+ printItem %s 'Data Format' '2-D MMR'
++ echo %17s: %s
+ FMT=%17s: %s
+ TAG=Data Format
+ VALUE=2-D MMR
+ printf '%17s: %s\n' 'Data Format' '2-D MMR'
+ printItem %s 'Remote Equipment' 'unknown '
++ echo %17s: %s
+ FMT=%17s: %s
+ TAG=Remote Equipment
+ VALUE=unknown
+ printf '%17s: %s\n' 'Remote Equipment' 'unknown '
+ printItem %s 'Remote Station' ''
++ echo %17s: %s
+ FMT=%17s: %s
+ TAG=Remote Station
+ VALUE=
+ printf '%17s: %s\n' 'Remote Station' ''
+ '[' yes = yes ']'
+ '[' 1 '!=' 1 ']'
+ '[' 1 '!=' 1 ']'
+ '[' any '!=' any ']'
+ printItem %s 'Submitted From' 192.168.1.201
++ echo %17s: %s
+ FMT=%17s: %s
+ TAG=Submitted From
+ VALUE=192.168.1.201
+ printf '%17s: %s\n' 'Submitted From' 192.168.1.201
+ printItem %s JobID 287
++ echo %17s: %s
+ FMT=%17s: %s
+ TAG=JobID
+ VALUE=287
+ printf '%17s: %s\n' JobID 287
+ printItem %s GroupID 287
++ echo %17s: %s
+ FMT=%17s: %s
+ TAG=GroupID
+ VALUE=287
+ printf '%17s: %s\n' GroupID 287
+ printItem %s CommID c000000888
++ echo %17s: %s
+ FMT=%17s: %s
+ TAG=CommID
+ VALUE=c000000888
+ printf '%17s: %s\n' CommID c000000888
+ printf '\nProcessing time was %s.\n' 5:41
+ '[' -n '' -a no = yes ']'
+ '[' -n pdf ']'
+ returnFaxImage pdf
+ RETURNFORMAT=pdf
+ '[' 1 -gt 0 ']'
++ local_seq 1 1
++ '[' 1 -gt 1 ']'
++ COUNT=1
++ '[' 1 -le 1 ']'
++ echo 1
+++ expr 1 + 1
++ COUNT=2
++ '[' 2 -le 1 ']'
+ name=files_1
++ echo '$files_1'
+ eval 'filename=$files_1'
++ filename=docq/doc294.ps
+ '[' -s docq/doc294.ps ']'
+ type=filetype_1
++ echo '$filetype_1'
+ eval 'FROMFMT=$filetype_1'
++ FROMFMT=PostScript
+ '[' PostScript = PostScript ']'
++ fileType docq/doc294.ps
++ FILENAME=docq/doc294.ps
++ '[' -f docq/doc294.ps ']'
+++ file docq/doc294.ps
++ FILETYPE=docq/doc294.ps: PostScript document text conforming at level 3.0
++ match 'docq/doc294.ps: PostScript document text conforming at level 3.0' post script
++ FULLSTR=docq/doc294.ps: PostScript document text conforming at level 3.0
++ SUBSTR=postscript
++ echo 'docq/doc294.ps: PostScript document text conforming at level 3.0'
++ /bin/grep -i postscript
++ '[' 0 -eq 0 ']'
++ return 0
++ echo PostScript
+ '[' PostScript '!=' PostScript ']'
+ '[' pdf = tif ']'
+ '[' pdf = pdf ']'
+ ENCODEDFILENAME=18009240273-1.pdf
+ putMimeAppPDFHeader 18009240273-1.pdf
+ echo ''
+ echo --NextPart23448
+ echo 'Content-Type: application/pdf; name="18009240273-1.pdf"'
+ echo 'Content-Description: FAX document'
+ echo 'Content-Transfer-Encoding: base64'
+ echo 'Content-Disposition: attachment; filename="18009240273-1.pdf"'
+ echo ''
+ putPdfEncodedImage docq/doc294.ps PostScript
+ SOURCEFILE=docq/doc294.ps
+ CONVERTFROM=PostScript
+ OUTFILE=tmp/conv2pdf23448.out
+ '[' PostScript = PDF ']'
+ '[' PostScript = TIFF ']'
+ '[' PostScript = PostScript ']'
+ CONVERTCMD=ps2pdf docq/doc294.ps tmp/conv2pdf23448.out
+ ps2pdf docq/doc294.ps tmp/conv2pdf23448.out
%%[Page: 1]%%
%%[Page: 2]%%
%%[Page: 3]%%
%%[Page: 4]%%
%%[Page: 5]%%
%%[Page: 6]%%
%%[Page: 7]%%
%%[Page: 8]%%
%%[Page: 9]%%
%%[Page: 10]%%
%%[Page: 11]%%
%%[Page: 12]%%
%%[Page: 13]%%
%%[Page: 14]%%
%%[Page: 15]%%
%%[Page: 16]%%
%%[Page: 17]%%
"
joea
Lee Howard<faxguy@xxxxxxxxxxxxxxxx> Boldly Declared: 6/13/2006 4:37:14 PM:
> And you didn't get an attachment? I assume not.
>
> So now run that same command, but like this... and then send the output
> (it will be a bit long)...
>
> sh -x bin/notify "doneq/q287" "done" "5:41"
>
> Lee.
>
>
> joea wrote:
>
>>This is what I see at the console (ssh'd in), I see nothing additional in
>>This /var/log/messages
>>"%%[Page: 1]%%
>>%%[Page: 2]%%
>>%%[Page: 3]%%
>>%%[Page: 4]%%
>>%%[Page: 5]%%
>>%%[Page: 6]%%
>>%%[Page: 7]%%
>>%%[Page: 8]%%
>>%%[Page: 9]%%
>>%%[Page: 10]%%
>>%%[Page: 11]%%
>>%%[Page: 12]%%
>>%%[Page: 13]%%
>>%%[Page: 14]%%
>>%%[Page: 15]%%
>>%%[Page: 16]%%
>>%%[Page: 17]%%"
>>
>>joea
>>
>>Lee Howard<faxguy@xxxxxxxxxxxxxxxx> Boldly Declared: 6/13/2006 4:06 PM:
>>
>>
>>>Run this by hand from the /var/spool/hylafax/ directory:
>>>
>>> bin/notify "doneq/q287" "done" "5:41"
>>>
>>>Lee.
>>>
>>>
>>>joea wrote:
>>>
>>>
>>>
>>>>Troubleshoot? Me? Oh, dear.
>>>>
>>>>By "turning up the logging" I presume you mean making "messages" contain
>>>>By more info than normal? Rats. I'll have to look that one up.
>>>>
>>>>Mean time, what I see is like this:
>>>>
>>>>"Jun 13 15:07:57 FS-FAX FaxSend[20242]: SEND FAX: JOB 287 SENT in 5:15
>>>>Jun 13 15:07:59 FS-FAX FaxQueuer[4166]: NOTIFY: bin/notify "doneq/q287"
>>>>Jun "done" "5:41"
>>>>Jun 13 15:08:00 FS-FAX FaxQueuer[4166]: NOTIFY exit status: 0 (20277)"
>>>>
>>>>Don't tell much, do it?
>>>>
>>>>joea
>>>>
>>>>
>>>>Lee Howard<faxguy@xxxxxxxxxxxxxxxx> Boldly Declared: 6/13/2006 2:24 PM:
>>>>
>>>>
>>>>
>>>>
>>>>>Well, it should be working, then. Now you get to try to troubleshoot.
>>>>>:-) Start by turning up the logging, noticing the notify command
>>>>>there,
>>>>>and then running notify by hand from the /var/spool/hylafax/
>>>>>directory... to hopefully get some errors being mentioned.
>>>>>
>>>>>Lee
>>>>>
>>>>>
>>>>>joea wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Thanks.
>>>>>>
>>>>>>The entries in the files are correct, as you described. Only my
>>>>>>The rendition
>>>>>>The of them in my original post are incorrect.
>>>>>>
>>>>>>I plead early morning fog.
>>>>>>
>>>>>>While more coherent at this hour, I remain perplexed.
>>>>>>
>>>>>>joea
>>>>>>
>>>>>>
>>>>>>Lee Howard<faxguy@xxxxxxxxxxxxxxxx> Boldly Declared: 6/13/2006 1:34 PM:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>joea wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>FaxNotify has RETURNEDFILETYPE=PDF;
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>It's: RETURNFILETYPE=pdf
>>>>>>>
>>>>>>>Case is important and there is no "ED"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>Does FaxDispatch need the same thing? It has FILETYPE=PDF;
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>FILETYPE=pdf
>>>>>>>
>>>>>>>Again, case is important.
>>>>>>>
>>>>>>>FaxDispatch is for incoming faxes and FaxNotify is for outbound.
>>>>>>>
>>>>>>>Lee.
>>>>>>>
>>>>>>>
>>>>>>>____________________ 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*
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>>____________________ 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*
____________________ 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*