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] FaxMail + PDF Attachments + Email Header



OK... Update #2.. or 3... wherever we're at.. :)

I have upgraded to 4.4.4 - Everything seems to work as advertised! -N omits headers, -T omits the body if its blank, and i have no blank page.  Also, the fact that all the text templates have moved out of dictionary and faxrcvd -- awesome. So much easier to update. I did that all by hand in the scripts last time!

So a couple things now.. It may just be my imagination, but it seems that fax transmits are faster (no complaint!) however the text in the received PDF (i am actually doing email-> fax, the fax number is a fax->email on the same hylafax box) seems to be of lesser quality.  In my previous fax receipts, Quality said "Normal" and now it says "98" - not sure whats up there.

And lastly, I have added a mime script in /var/spool/hylafax/mimetype/text called 'html' (so, the script is actually /var/spool/hylafax/mimetype/text/html) it just calls "html2ps $1" which seems correct - but this script doesnt get called. Ive put some code in that script to touch a file in /tmp, which does not happen. I still get an attached plaintext page with raw html in it.

When this does work, seeing as how most mailers send a text/plain, as well as a text/html attachment, will people actually get a single plaintext page, and then an html optimized page? Or is it smart enough that when the only parts are text/plain, and text/html, that it will only display the HTML formatted page?

Thanks for all your help everyone, youve been great.
On 17-Jan-08, at 12:39 PM, Aidan Van Dyk wrote:

* Dayton Turner <dayton@xxxxxxxxx> [080117 15:12]:
> Aidan,
>
> Thanks for the input. I'll look for a newer package in the debian 
> repository. In etch (4.0) currently its only at 4.4.0.

I have 4.4.3 packages here for etch:
        http://people.ifax.com/~aidan/apt/etch/

Unfortunately I don't have access to my etch box anymore, so I haven't
had a chance to build 4.4.4 packages for etch.  But you can build
debian packages right from the hylafax-4.4.4 tarball.

> So I did try passing -T to faxmail, expecting that if i did not 
> include a message body, but did attach a PDF, for example, that i 
> would get just the PDF, and no mail headers, but i still got the 
> single page with the email headers all on their own.
>
> Ideas?  I'll try -N out as well and see how it reacts.

The -T will "trim" the text parts (the main body) of the email, so if it's
empty, it's suppressed.

the -N will suppress the "header" part.  So, both the -N and -T together
will cause both the "header" and the "body" parts to be suppressed.

Note that there was a bug in 4.4.0 which caused faxmail to submit an
"empty" document to the server when both the header and text parts had
been suppressed, which will cause you problems if you're still on 4.4.0.

a.


--
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/





Project hosted by iFAX Solutions