HylaFAX The world's most advanced open source fax server

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

[hylafax-users] How to get the fax by email



Hi All


4.2 Attached TIFF/PostScript/PDF Mail Delivery 
By using this procedure, the default mail will be sent with the fax image attached to that notification mail. 

Create the file etc/FaxDispatch (usually /var/spool/hylafax/etc/FaxDispatch) so that it contains the following lines: 

	FILETYPE=tif;
	SENDTO=FaxMaster;

Substitute pdf or ps for tif as you desire. 
Note that because TIFF and PDF are binary file types, metamail, uuencode, or some other encoding program must be installed. In HylaFAX versions prior to 4.2.0 (HylaFAX 4.2.0 and later natively supports both uuencode and mimencode) if you do not use metamail's mimencode, also include a line like 

	MIMENCODE=bin/uuencode_it;

in your FaxDispatch file where bin/uuencode_it is an executable shell script of the form 
	#!/bin/sh
	uuencode -m $1 $1 | grep -E -v "^begin|^====$" 2>/dev/null

HylaFAX versions prior to 4.1.1 do not support the FILETYPE option in FaxDispatch, and so the attachments will always be Postscript. Users of HylaFAX versions prior to 4.1.1 (shame on you) may be interested in using the old faxrcvd-mail scripts by Noel Burton-Krahn. They can be found here. Note that these WILL NOT WORK as-is on HylaFAX versions 4.1.1 and newer. 


Based on that, how can I get the pdf email working after HylaFAX 4.1.1?


Thanks



-- 
hadyn_wang <hadyn_whx@xxxxxxxxxxx>


____________________ 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