HylaFAX The world's most advanced open source fax server

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

[hylafax-users] hylafax doesn't accept pdfs



Alohá!

Got a machine running that picks up mail from a pop3, parses it for recipient and/or user data and delivers it to a script that basically calls 'open (MAIL, "|/usr/bin/faxmail -v -n -d $faxno2 > /tmp/faxjob$$ 2>&1") || die print "Can't open /usr/bin/faxmail -n -d $faxno!\n";'

Despite everything put into place that is mentioned in http://hylafax.sourceforge.net/howto/misc/faxmail-mimeconverters.php hylafax still doesn't accept pdf files but writes this to /var/log/syslog:

May 15 13:26:54 localhost HylaFAX[16146]: servertracing = 0xfffff (line 56)
May 15 13:26:54 localhost HylaFAX[16146]: <--- 220 localhost.localdomain server (HylaFAX (tm) Version 4.2.1) ready.
May 15 13:26:54 localhost HylaFAX[16146]: HylaFAX INET connection from localhost.localdomain [127.0.0.1]
May 15 13:26:54 localhost HylaFAX[16146]: command: USER nobody
May 15 13:26:54 localhost HylaFAX[16146]: USER nobody
May 15 13:26:54 localhost HylaFAX[16146]: <--- 230 User nobody logged in.
May 15 13:26:54 localhost HylaFAX[16146]: FAX LOGIN FROM localhost.localdomain [127.0.0.1], nobody
May 15 13:26:54 localhost HylaFAX[16146]: command: TZONE LOCAL
May 15 13:26:54 localhost HylaFAX[16146]: TZONE LOCAL
May 15 13:26:54 localhost HylaFAX[16146]: <--- 200 Using time values in CET.
May 15 13:26:54 localhost HylaFAX[16146]: command: TYPE I
May 15 13:26:54 localhost HylaFAX[16146]: TYPE I
May 15 13:26:54 localhost HylaFAX[16146]: <--- 200 Type set to Image.
May 15 13:26:54 localhost HylaFAX[16146]: command: PORT 127,0,0,1,236,197
May 15 13:26:54 localhost HylaFAX[16146]: PORT 127.0.0.1;50668
May 15 13:26:54 localhost HylaFAX[16146]: <--- 200 PORT command successful.
May 15 13:26:54 localhost HylaFAX[16146]: command: MODE Z
May 15 13:26:54 localhost HylaFAX[16146]: MODE Z
May 15 13:26:54 localhost HylaFAX[16146]: <--- 200 Mode set to ZIP.
May 15 13:26:54 localhost HylaFAX[16146]: command: STOT
May 15 13:26:54 localhost HylaFAX[16146]: STOT
May 15 13:26:54 localhost HylaFAX[16146]: Filesystem has SysV-style file creation semantics.
May 15 13:26:54 localhost HylaFAX[16146]: <--- 150 FILE: /tmp/doc2434.ps (Opening new data connection).
May 15 13:26:54 localhost HylaFAX[16146]: <--- 226 Transfer complete (FILE: /tmp/doc2434.ps).
May 15 13:26:54 localhost HylaFAX[16146]: command: JNEW
May 15 13:26:54 localhost HylaFAX[16146]: <--- 200 New job created: jobid: 2430 groupid: 2430.
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM FROMUSER "faxadmin"
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 FROMUSER set to "faxadmin".
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM LASTTIME 000259
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 LASTTIME set to 000259.
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM MAXDIALS 12
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 MAXDIALS set to 12.
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM MAXTRIES 3
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 MAXTRIES set to 3.
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM SCHEDPRI 127
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 SCHEDPRI set to 127.
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM DIALSTRING "<faxnumber_removed>"
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 DIALSTRING set to "<faxnumber_removed>".
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM NOTIFYADDR "faxadmin@charon"
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 NOTIFYADDR set to "faxadmin@charon".
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM VRES 98
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 VRES set to 98.
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM PAGEWIDTH 209
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 PAGEWIDTH set to 209.
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM PAGELENGTH 296
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 PAGELENGTH set to 296.
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM NOTIFY "none"
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 NOTIFY set to "none".
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM PAGECHOP "default"
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 PAGECHOP set to "default".
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM CHOPTHRESHOLD 3
May 15 13:26:54 localhost HylaFAX[16146]: <--- 213 CHOPTHRESHOLD set to 3.
May 15 13:26:54 localhost HylaFAX[16146]: command: JPARM DOCUMENT /tmp/doc2434.ps
May 15 13:26:54 localhost HylaFAX[16146]: <--- 200 Added document /tmp/doc2434.ps as docq/doc2434.ps.2430.
May 15 13:26:54 localhost HylaFAX[16146]: command: JSUBM
May 15 13:26:54 localhost FaxQueuer[8554]: SUBMIT JOB 2430
May 15 13:26:54 localhost postfix/local[16135]: 6F28F5641B3: to=<fax@charon>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/perl /fax/hylafax.pl)
May 15 13:26:54 localhost postfix/qmgr[2076]: 6F28F5641B3: removed
May 15 13:26:54 localhost HylaFAX[16146]: <--- 200 Job 2430 submitted.
May 15 13:26:54 localhost FaxQueuer[16147]: JOB 2430: CONVERT DOCUMENT: exit status 0x100
May 15 13:26:54 localhost FaxQueuer[8554]: NOTIFY: bin/notify "doneq/q2430" "format_failed" ""
May 15 13:26:54 localhost FaxQueuer[8554]: NOTIFY exit status: 0 (16151)


No fax is sent and nothing added to any logs in /var/spool/hylafax/log/

For all I know only the last few lines are of interest; somehow the -v option of faxmail doesn't seem to be invoked or doesn't call the modifications that were made according to the MIME-howto mentioned above.

If I need to provide any more information please let me know.

TIA

Martin


____________________ 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