
HylaFAX is the leading fax server for Unix-like computer systems. It uses a client-server design and supports the sending and receiving of faxes.
Prerequisites
- C++ Compiler
- C++ Runtime Libraries
- libtiff
- Ghostscript
- AWK
- MTA (ex: postfix, qmail, sendmail, exim)
Installation
Download the lates source package from following url.
cd /usr/src
wget http://prdownloads.sourceforge.net/hylafax/hylafax-5.2.8.tar.gz?download
Extract the source package
tar zxvf hylafax-5.2.8.tar.gz
Compiling and installation
cd hylafax-5.2.8
Configure the source package as like hylafax RPM
./configure \
–with-DIR_BIN=/usr/bin \
–with-DIR_SBIN=/usr/sbin \
–with-DIR_LIB=/usr/lib \
–with-DIR_LIBEXEC=/usr/sbin \
–with-DIR_LIBDATA=/etc/hylafax \
–with-DIR_LOCKS=/var/lock \
–with-LIBDIR=/usr/lib \
–with-TIFFBIN=/usr/bin \
–with-DIR_MAN=/usr/man \
–with-PATH_GSRIP=/usr/bin/gs \
–with-DBLIBINC=/usr/include \
–with-LIBTIFF=”-ltiff -ljpeg -lz” \
–with-DIR_SPOOL=/var/spool/hylafax \
–with-AFM=no \
–with-AWK=/usr/bin/gawk \
–with-PATH_VGETTY=/sbin/vgetty \
–with-PATH_GETTY=/sbin/mgetty \
–with-HTML=no \
–with-PAGESIZE=A4 \
–with-PATH_DPSRIP=/var/spool/hylafax/bin/ps2fax \
–with-PATH_IMPRIP=”" \
–with-SYSVINIT=/etc/init.d/hylafax \
–with-INTERACTIVE=nomake
make install
Please ensure that your /etc/ld.so.conf (or equivalent file) contains reference to /usr/local/lib or wherever libfaxserver.so and libfaxutil.so were installed.
you must run ldconfig after editing the /etc/ld.so.conf
running fax setup and adding modem
/usr/local/sbin/faxsetup
[above step will ask some questions, you must answer for these questions
for example. fax number, international dialing code, code, country code, device (ex:/dev/ttySo)
you can get the detected modem by using this command
dmesg | grep modem
]
you may need to edit /var/spool/hylafax/etc/setup.cache and change the following.
FAXQ_SERVER=’yes’
HFAXD_SERVER=’yes’
SYSVINIT=’/usr/sbin/hylafax’
edit /etc/rc.d/rc.local then add the following lines( this will help to start hylafax daeomns at boot)
/usr/sbin/hylafax start
edit the /etc/inittab
m0:2345:respawn:/usr//sbin/faxgetty ttyS0
adding fax cron and fax log clean
0 * * * * /usr/sbin/faxqclean
0 0 * * * /usr/sbin/faxcron | mail -s “HylaFAX Usage Report” faxmaster
finishing Setup
reboot
or
hylafax start
init q
checking fax server status
faxstat
testing installation
sendfax -nvd 008712376346 sample.txt
check the fax machine is it recived or not.

















