Personal tools
HylaFAX The world's most advanced open source fax server

Attach fax document to email notification

Revision as of 18:21, 19 December 2005 by Paul (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

By using this procedure, the default email (sent after receiving a fax) will be sent with the fax image attached to it.

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


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


in your FaxDispatch file where bin/uuencode_it is an executable shell script of the form

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.

Powered by MediaWiki
Attribution-ShareAlike 2.5

Project hosted by iFAX Solutions