Thursday, October 2, 2008

Fax server on Linux

Installing Hylafax to achieve mass faxing. You need to know what is a fax and how it operates before proceeding here.

Currently the Ubuntu does not detect Lenovo R60's built in modem. So I did not get to actually test if the fax server works. The Thinkwiki site didnt show that R60's modem can work. However 2 years ago, Hylafax could what I tried to set out doing today on a PC with Modem attached.

Hylafax Homepage, Documentations. Listed here are the basics for Hylafax on Ubuntu.

Step 1: Installation
sudo apt-get install hylafax-client hylafax-server libfax-hylafax-client-perl transfig
[OPTIONAL]
sudo apt-get install mgetty-viewfax mgetty psrip libtiff-opengl

Step 2: Configure server
faxsetup

[NOTE] This will result in the file /etc/hylafax/config.ttyS0

Step 3: Auto server
vi /etc/default/hylafax/

Remove comment (#) for RUN_HYLAFAX=1

[TODO] Create links to
/etc/hylafax/getty-link
/etc/hylafax/vgetty-link
/etc/hylafax/egetty-link

Sending faxes
sendfax -f "myname@mydomain.com" -R -r "faxsubject" -c "coverpage comments" -x "Recipient's company" -d "Recipient@1234567" tofax.ps

Standard HylaFAX-compatible file formats are ASCII, TIFF, PostScript, and PDF (in versions newer than 4.1beta2)

Notes:
Modem support is in /var/spool/hylafax/etc/setup.modem
Configuration parameters written to /var/spool/hylafax/etc/setup.cache
Add modems with faxaddmodem command

No comments:

Blog Archive