HylaFAX The world's most advanced open source fax server

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

Re: Problem recieving attached TIFFs



Philipp Steinkrueger schrieb:
> 
> Hello,
> 
> the Debian Updater installed a new version of bin/faxrcvd and deleted
> the old one.
> GRRR !!
> Now i have the following problem:
> 
> Faxes are recieved and mailed to me through etc/FaxDispatch.
> The new was sending them in POSTSCRIPT but i wanted TIFF Files.
> So i changed the bin/faxrcvd script. have a look, please:
> 
> echo "--$MIMEBOUNDARY"

============ Replace the following line =================

>         echo "Content-Type: image/tiff"

by : <echo "Content-Type: image/tiff; name=$FAX">

if $FAX points to the received TIFF-file that should work.

=========================================================

>         echo "Content-Description: FAX document"
>         echo "Content-Transfer-Encoding: base64"
>         echo ""
>         mimencode $FAX
>         echo ""
>         echo "--$MIMEBOUNDARY--"
>         ) | 2>&1 $SENDMAIL -f$FROM -oi $TO
> 
> Now the faxes are actually sent as TIFF Files, but they are not
> recognised as TIFFs.
> If i save them manually and rename them to .tif, i can open them.
> 
> What do i have to modify to make the scirpt send them with the right
> extension, so
> the mail programm recognises the File correctly ?
> 
> Thank you !
> 
> Ph. Steinkrueger

Hope it helps

Andreas




Project hosted by iFAX Solutions