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] receipt as pdf gets only empty file



Josef Ender wrote on 14/12/04 04:55 AM:

Hello

I'm sending Faxes with sendfax over hylafax and get receipts by email (-R).

According to the documentation you should get the fax attached as PDF if you add the line "RETURNFILETYPE=pfd;" in /var/spool/hylafax/FaxNotify.
But I get only an empty pfd file attached.


Any help would be greatly appreciated.

Josi

First of all, you made the pdf/pfd typo two out of three times in this e-mail. Are you sure you didn't make the same mistake in your FaxNotify?

Second, as recommended when you joined the list
(http://www.hylafax.org/mailing-lists.php) you should give your
Hylafax version, OS/distribution, and (if it seems remotely modem
related) your modem model and firmware.

So, making some guesses, if you upgraded from an earlier version to
4.2.0, it sounds like the "base64 issue". To check if this is the case,
do view-source on the e-mail in your e-mail client program. Just before
the big block of letters and numbers (your encoded document), you should
see:

Content-Type: application/pdf; name="fax000000863.pdf"
Content-Description: FAX document
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="fax000000863.pdf"


If you are missing the "base64" there, then this is probably your problem.


Apparently /var/spool/hylafax/etc/notify has the following lines:

ENCODING=base64
. etc/setup.cache


But if you check inside your setup.cache, it probably has ENCODING="" setting back it to the empty string, which is in effect when the e-mail is generated.

The cause of this, I believe, is doing an upgrade but failing to run
faxsetup again after the upgrade.  Is this what you did?

Either run faxsetup, or add another ENCODING=base64 line in etc/notify,
below the setup.cache line and it should work fine after that.

Hope that helps.

Martin

P.S. To someone at hylafax.org with website access:  Can we add this to
the FAQ?


____________________ 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