Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
> Hylafax server on Centos 3.9, Setting up a Hylafax Server on CentOS
post Feb 26 2009, 05:04 AM
Post #1

Its GNU/

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069

[I've used US Robotics 56K External Faxmodem , model : 5631 ]

This is a guide on howto setup a Hylafax server ( hylafax-4.4.4-1rhel3 ) on CentOS 3.9 .

Step 1 :

Download and burn a CentOS 3.9 ISO from , and install using minimal install .

Step 2 :

We upgrade the system and install hylafax

yum upgrade
cd /home
yum install ghostscript mgetty-voice
rpm -Uvh hylafax-4.4.4-1rhel3.i386.rpm
ln -s /usr/share/fonts/default/ghostscript /usr/share/ghostscript/fonts

The first set of questions should be left at default .
Init script starts faxq [yes]
Init script starts hfaxd [yes]
Start old protocol [no]
Start paging protocol [no]

The question after this must be answered by you, country code, etc... regular stuff and is not hard .

Then after all questions are answered it will ask on which port the faxmodem is , my modem is on com1 that is ttyS0 on linux ( com 2 = ttyS1 and so on ) . You just enter ttyS0 for COM1 or
ttyS1 for Com2 .

After that it will ask the same questions (country code etc... ) for the modem just enter the details, then it will try and talk to the modem, it will allow you to either chose CLASS 1 or CLASS 2 for modem
you should leave it at default and use CLASS1 , after that it will complain about faxgetty not running and tells you that you should run faxmodem for all added modems select no here .

Now we need to make sure that faxgetty is running (so that we can recieve faxes)

modify your /etc/inittab like this

# Run faxgetty
s0:234:respawn:/usr/sbin/faxgetty ttyS0

Now we will possibly want all recieve faxes to be sent to our secretary , we need to edit /var/spool/hylafax/etc/FaxDiscpatch


this will send all incoming faxes via e-mail to our secretary with attached pdf .

Now we make sure hylafax will start each time the system is rebooted and run the following command :

chkconfig hylafax on

Now let us restart the server , and we are done setting up hylafax on the server , next comes the Windows client.

I reccomend using this client here , I will not repeat the steps necesary to make it running, as you will see on that
webpage the instrutcions are very-very detailed with pictures present .

What I will tell you however is per client do set the Default notify. That way each user who sends a fax will recieve a mail about SUCCESS or FAILURE to his/her e-mail address .

In order to make this e-mail sending work, I've used postfix and just modified the following few lines in it .


relayhost= # or any smtp server you are allowed to use , I have my own mail server .
myhostname =
mydomain =

This is all I've changed in postfix .

Using this setup clients can send faxes from their local pc just by printing, and they recieve a e-mail back about SUCCESS or FAILURE.
Recieved faxes are processed and forwarded via e-mail to secretary.

Robert B

Robert Becskei
May the source be with us!
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
Go to the top of the page
+Quote Post

Posts in this topic
- Robert83   Hylafax server on Centos 3.9   Feb 26 2009, 05:04 AM

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st July 2018 - 02:34 PM