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] Discarded application (pdf)



Sorry if this problem was posted several times. But I have not clear
ideas. I have hylafax 4.1.6, I have installed metamail and I use
postfix and squirrelmail to send fax through email. Receiving fax
converted in pdf is all ok.


I would like send a pdf attachment but in receiver fax machine the
error occurs: discarded application / octet-stream goes here. I have
read that is not possible send pdf (only ascii and ps) But I have
also read this (in manual typerules): ..


I'm not sure if this message means that you try to use faxmail?
faxmail isn't able to handle pdf. see "man faxmail" for details.



        Only three types of files are accepted by the HylaFAX server for
transmission as facsimile: POSTSCRIPT® files, PDF files, and TIFF
        Class F (bilevel Group 3-encoded) files. All other types of files
        must be converted to one of these two formats. ..

        What is the problem? Why can't I send a pdf attachment? Thanks Michele


I believe that the sending of PDF is on a to-do list somewhere, and that
the documentation is not completely correct there, IIRC. However it
should be possible, in theory, to hack something together that does the
conversion from PDF to PS and fax that.


    Josh 


Things are already "hacked". The actual sendfax accepts a pdf document for
transmission an sends it correctly.
If you want to send it to the hylafax-server via email you have to play a
little with your local MDA. For procmail there were solutions posted that
can be modified to fulfill your needs. Search the mail archives.

--
holger
-------------------------------------------------

I've tested that, using sendfax, is possible send directly a pdf document
(as you correctly say) and all is ok.
I've already configured postfix inserting some lines about hylafax mail
delivery:

/etc/postfix/master.cf:
        fax       unix  -       n       n       -       1       pipe
            flags= user=fax argv=/usr/bin/faxmail -d -n ${user}

    /etc/postfix/transport:
        fax.your.domain   fax:localhost

    /etc/postfix/main.cf:
        transport_maps = hash:/etc/postfix/transport
        fax_destination_recipient_limit = 1

Sending a simple email (number@mydomain) (with ascii text attachment) is all ok.
But Pdf attachment doesn't work. I don't understand if I have to modify the
lines above about faxmail or if there are other mime problems.
I've searched in mailing list archive but I've not found anything about this
problem.
Have I use necessary faxmail with postfix? Or is possible bypass faxmail
using only postfix? In faxmail, I suppose, I have to link a script to
convert pdf to ps but for sendfax is not necessary.

Could you help me?


____________________ 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@xxxxxxxxxxxx*




Project hosted by iFAX Solutions