Robot | A.I. | Lisp | Download | GecoProject

Qmail To HylaFax

 



Hardware for qmail2hylafax

Software

I have develop gateway programm for convert Email with attachment of PDF file on fax and start send of this with hylafax.(download qmail2hylafax Plug In from sourceforge farm)

For send your EmailFax you attach on Email one PDF with multiple page into( multiple PDF on attachment is on development) and write number with this sintax:

a: fax-0076-782-2xxxxx@fax
Subject: Fax to Alutec Ltd - order C8931

On Your qmail on domain fax, user .qmail-fax for receive and convert into TIFF CCITT image for fax the gateway script on perl upload below made this syntax into this file.

# cat .qmail-fax-default
| ./gateway-qmail2fax.pl

with this command show this info for check Owner/group and Right:

# ls -las .qmail-fax-default
4 -rw-r--r-- 1 vpopmail vchkpw 25 Jul 21 2005 .qmail-fax-default

For receive on you mail server insert into this file Email of account enable for receive Email with Fax convert on PDF. I have convert on bold size variation of file ( remenber fisrt modify copy this file for save old version)

Edit: /var/spool/fax/bin/faxrcvd

...
# These settings may not be present in setup.cache if user upgraded and
# didn't re-run faxsetup; we set them before calling setup.cache for
# backward compatibility.
ENCODING=base64
MIMENCODE=mimencode
TTYCMD=tty
UUENCODE=uuencode
. etc/setup.cache
INFO=$SBIN/faxinfo
FAX2PS=$TIFFBIN/fax2ps
TIFF2PS=tiff2ps
PS2PDF=ps2pdf
TOADDR=info[@SPAM_remove_this]esssrl.it
FROMADDR=faxmaster
TIFFINFO=tiffinfo
NOTIFY_FAXMASTER=always
...
#
# Permit various types of attachment types: ps, tif, pdf
# Note that non-ASCII filetypes require an encoder.
# pdf requires tiff2ps and ps2pdf
#
FILETYPE=pdf
SENDTO=info[@SPAM_remove_this]esssrl.it
...
# HOSTNAME=`omega.ess.prv`
PORT=4559

Documentation is available from sourceforge