This is a work in progress... I'll be editing it as we go. I've included links to appropriate resources to help flesh out the information.
Warning
I've put a fair bit of detail into this tutorial, but it does require that you know how to use webconfig, the terminal and WinSCP or a similar method to transfer files to your box.
Picking a Modem
This is a critical part of your setup. I have wasted a lot of time with bad modems, so choose carefully. If possible, I recommend an external serial modem. We've used MultiModem ZBA Serial units and they've worked the best for us. We also have a few low-powered boxes running older ISA modems with success.
www.hylafax.org/content/Handbook:Basic_S...ion:Choosing_a_Modem
Get Hylafax
Download the Hylafax RPMs from the following. I usually download them on a Windows PC and then transfer them using WinSCP or a flash drive
www.hylafax.org/content/Red_Hat_Packages
Prepare your ClearOS box
Make sure you have the SMTP server installed on your ClearOS box. This will allow you to easily have incoming faxes e-mailed to your FaxMaster and your inbox.
Install the Hylafax RPMs
Once you have the RPMs on your ClearOS box, go to the directory they're stored in and then execute them with the following commands.
| Code: |
rpm -Uvh hylafax-client-6.0.4-1rhel5.i386.rpm
rpm -Uvh hylafax-server-6.0.4-1rhel5.i386.rpm
|
You will likely be prompted to install sharutils and ghostscript as Hylafax requires them. To install them just issue the following command:
| Code: |
yum install sharutils
yum install ghostscript
|
After you run the installation, it will automatically run /usr/sbin/faxsetup and then /usr/sbin/faxaddmodem to configure HylaFax. Just answer the questions as best you know how - aside from the phone number-related questions you can likely select the defaults.
Your modem will likely be ttyS0 or ttyS1, but if those don't work keep going up until HylaFax finds it... you'll know that it works when HylaFax asks you to identify it as a Class 1 or Class 2 modem. 99% of the time you'll want to select Class 1 (even if it is a Class 2 modem)
Further Configuration
Add the following to to /etc/inittab where ttySx is the name of your /dev device [ie. fax modem] used in faxsetup and faxaddmodem
| Code: |
# Start up the Hylafax modem
mo:2345:respawn:/usr/sbin/faxgetty ttySx
|
Restart init using the following command:
Mail Configuration
Using webconfig configure and start up the SMTP Server on your ClearOS box. If it's a dedicated fax server I suggest you add your domain in the Mail Forward List or add your mail server to the Outbound Relay Hosts. If you do configure it this way make sure that the hostname on the box is not set to your domain name, but instead to something like system.clearos.lan
Set up an Alias in the Aliases webconfig page to redirect FaxMaster to
youraddress@yourdomain.com. This is where all warnings as well as incoming faxes will be sent. If you would like incoming mail to be sent elsewhere you need to modify the SENTO= line in /etc/hylafax/etc/FaxDispatch
Client Software Configuration
Configure Hylafax to talk to client software so that you can send out faxes through it. It is necessary to specify which client machines and users can have access to a HylaFAX™ server machine. This is specified by the contents of the /etc/hylafax/etc/hosts.hfaxd file ion the server machine. A simple way to allow access is to add the IPs of users that will be faxing through the server.
www.hylafax.org/content/Handbook:Basic_S...ration:Client_Access
Set up your fax client software
Now you can install and configure your fax software so that you can print to the Fax machine and view faxes. The ones we've used most are YajHFC, WHFC and Frog FaxMail. For a basic configuration you should configure the following parameters:
1. Server Name (or IP)
2. Username (shows up in logs)
3. E-mail Address (for fax status notifications)
www.hylafax.org/content/Desktop_Client_Software
Further References
www.hylafax.org/content/Handbook:Binary_...nstall#Red_Hat_Linux
www.hylafax.org/content/Documentation
www.hylafax.org/content/Handbook:Basic_S...Periodic_Maintenance