HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Email to Fax gateway continued



Further to earlier messages I have now been able to configure my server to
send faxes from the command line, and with reference to a Postfix help page
I can also send emails to the fax server box which are then forwarded to a
fax machine.

The only problem I am still having is that attachments do not seem to be
processed correctly - they are being sent in their encoded format, rather
than decoded and processed as part of the fax. For example a PDF file that I
sent as an attachment just appears in hex format on the recipients fax
machine, and takes around thirty pages. The idea was to send the PDF file
rather than having people get up and fax the printed sheet manually, so it's
important that I can get this working. Right now I don't care about anything
other than PDFs.

I have modified the following files:

/etc/postfix/master.cf - modified to define a fax service:

fax       unix  -       n       n       -       1       pipe
flags= user=fax argv=/usr/bin/faxmail -d -n ${user}

/etc/postfix/transport

to rewrite the domain 'mydomain.lan.only' to be fax:localhost

/etc/postfix/main.cf

to use the transport file above.

I have created a /var/spool/hylafax/mimetype directory, and within there
created application and image directories. Application contains 'pdf' and
'ps' scripts, and image contains 'tif' script. The scripts themselves are as
downloaded from the hylafax.org site. I am uncertain how to name them, I
have assumed 'pdf' will be sufficient in the absence of any other
information.

Finally I have configured 'hyla.conf' to know where the scripts are located.

The system has been restarted (not least because this is the only way I can
figure out how to abandon a 29-page fax when it's started sending - erase
the files from 'sendq' and 'docq' and reboot as I don't seem to have a
password to allow faxrm -a to work) so I'm reasonably confident that the new
settings have been read.

Any thoughts, anyone?

Thanks,
Mike.


____________________ 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