Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: hilke on February 06, 2006, 03:47:23 PM

Title: Fax working on SME 7.0 pre1
Post by: hilke on February 06, 2006, 03:47:23 PM
Hello,

Has someone a working fax (modem or isdn) on SME 7.0 pre1.
If so whats the howto?

Thank Hilke.
Title: Fax working on SME 7.0 pre1
Post by: tandum on February 06, 2006, 05:18:44 PM
hike,

I got hylafax working using WinprintHylaFAX, a windows based client. It has a simple address book attached

HylaFSP also works as a client. It uses Windows Fax and reads the address book from outlook, so it has better integration and less quirks but it costs money.

Here's a quick how-to :-

Add a group called faxmaster and add a user to that group in server-manager.
 
Download these rpm's :-
libtiff-3.6.1-8.i386.rpm
sharutils-4.2.1-22.2.i386.rpm
fontconfig-2.2.3-7.i386.rpm
ttmkfdir-3.0.9-14.1.EL.i386.rpm
xorg-x11-font-utils-6.8.2-1.EL.13.20.i386.rpm
xorg-x11-libs-6.8.2-1.EL.13.20.i386.rpm
xorg-x11-Mesa-libGL-6.8.2-1.EL.13.20.i386.rpm
xorg-x11-xfs-6.8.2-1.EL.13.20.i386.rpm
VFlib2-2.25.6-25.i386.rpm
chkfontpath-1.10.0-2.i386.rpm
urw-fonts-2.2-6.1.noarch.rpm
ghostscript-7.07-33.i386.rpm
ghostscript-fonts-5.50-13.noarch.rpm
hylafax-4.2.5-1rhel4.i386.rpm

Run this script where the rpm's are.

==========CUT===============

#!/bin/sh

# Install Hylafax

/bin/rpm -ivh sharutils*rpm
/bin/rpm -ivh fontconfig*rpm
/bin/rpm -ivh ttmkfdir*rpm
/bin/rpm -ivh xorg*rpm
/bin/rpm -ivh VFlib2*rpm
/bin/rpm -ivh chkfontpath*rpm
/bin/rpm -ivh urw-fonts*rpm
/bin/rpm -ivh ghostscript*rpm
/bin/rpm -ivh hylafax*rpm

/usr/sbin/faxsetup

mkdir -p /etc/e-smith/templates-custom/etc/inittab
echo "fax:23457:respawn:/usr/sbin/faxgetty ttyS0" > /etc/e-smith/templates-custom/etc/inittab/S85hylafax
/sbin/e-smith/expand-template /etc/inittab

# Make sure HylaFAX is restarted at boot
ln -s /etc/rc.d/init.d/hylafax /etc/rc.d/rc7.d/S92hylafax

# Restart HylaFAX
/sbin/init q
/etc/rc.d/init.d/hylafax restart

echo
echo
echo "Now modify /var/spool/hylafax/etc/hosts.hfaxd to allow client access."
echo "Add the line   ^.*@.*.\.yourdomainname\. to allow access from your domain."  

==========CUT=============

I just noticed libtiff is in the rpm list but not in the install script????
It definately needs libtiff to work.
I've only ever done this on newly installed test machines.
There are also a couple cleanup jobs that need to be added to cron.
I haven't got that far yet :)


Good Luck.
Title: Fax working on SME 7.0 pre1
Post by: hilke on February 07, 2006, 12:05:02 PM
Quote from: "tandum"
hike,

I got hylafax working using WinprintHylaFAX, a windows based client. It has a simple address book attached

HylaFSP also works as a client. It uses Windows Fax and reads the address book from outlook, so it has better integration and less quirks but it costs money.

Here's a quick how-to :-

Add a group called faxmaster and add a user to that group in server-manager.
 
Download these rpm's :-
libtiff-3.6.1-8.i386.rpm
sharutils-4.2.1-22.2.i386.rpm
fontconfig-2.2.3-7.i386.rpm
ttmkfdir-3.0.9-14.1.EL.i386.rpm
xorg-x11-font-utils-6.8.2-1.EL.13.20.i386.rpm
xorg-x11-libs-6.8.2-1.EL.13.20.i386.rpm
xorg-x11-Mesa-libGL-6.8.2-1.EL.13.20.i386.rpm
xorg-x11-xfs-6.8.2-1.EL.13.20.i386.rpm
VFlib2-2.25.6-25.i386.rpm
chkfontpath-1.10.0-2.i386.rpm
urw-fonts-2.2-6.1.noarch.rpm
ghostscript-7.07-33.i386.rpm
ghostscript-fonts-5.50-13.noarch.rpm
hylafax-4.2.5-1rhel4.i386.rpm

Run this script where the rpm's are.

==========CUT===============

#!/bin/sh

# Install Hylafax

/bin/rpm -ivh sharutils*rpm
/bin/rpm -ivh fontconfig*rpm
/bin/rpm -ivh ttmkfdir*rpm
/bin/rpm -ivh xorg*rpm
/bin/rpm -ivh VFlib2*rpm
/bin/rpm -ivh chkfontpath*rpm
/bin/rpm -ivh urw-fonts*rpm
/bin/rpm -ivh ghostscript*rpm
/bin/rpm -ivh hylafax*rpm

/usr/sbin/faxsetup

mkdir -p /etc/e-smith/templates-custom/etc/inittab
echo "fax:23457:respawn:/usr/sbin/faxgetty ttyS0" > /etc/e-smith/templates-custom/etc/inittab/S85hylafax
/sbin/e-smith/expand-template /etc/inittab

# Make sure HylaFAX is restarted at boot
ln -s /etc/rc.d/init.d/hylafax /etc/rc.d/rc7.d/S92hylafax

# Restart HylaFAX
/sbin/init q
/etc/rc.d/init.d/hylafax restart

echo
echo
echo "Now modify /var/spool/hylafax/etc/hosts.hfaxd to allow client access."
echo "Add the line   ^.*@.*.\.yourdomainname\. to allow access from your domain."  

==========CUT=============

I just noticed libtiff is in the rpm list but not in the install script????
It definately needs libtiff to work.
I've only ever done this on newly installed test machines.
There are also a couple cleanup jobs that need to be added to cron.
I haven't got that far yet :)


Good Luck.


Hello Tendum,

Whats the link for download files.

Hilke
Title: Fax working on SME 7.0 pre1
Post by: stefan24 on February 07, 2006, 12:33:52 PM
I'm working on Capisuite for SME 7. I have already build a RPM for SME6 and Capisuite is already working on my own SME 7 server with an AVM B1.
But I have problems with the Fritzcard driver on SME 7 and I still have to build a RPM for SME 7.
I will do this immediately after getting 150 EUR (either as donations or as orders of my Service DVD for SME Server).
see my (still only german) Capisuite page at http://sme.braunstein.de/capisuite.html
Title: Fax working on SME 7.0 pre1
Post by: tandum on February 07, 2006, 02:31:53 PM
Quote from: "hilke"

Hello Tendum,

Whats the link for download files.

Hilke

www.hylafax.org for hylafax and the rest are on your local centos 4.2 mirror. http://www.centos.org/modules/tinycontent/index.php?id=13
Title: Fax working on SME 7.0 pre1
Post by: gregswallow on February 08, 2006, 05:55:44 AM
The hylafax rpm should determine what it needs to install as dependancies.  You could modify your howto to do something like this to download/install the Centos rpms and install the hylafax rpm all in one command.

wget ftp://ftp.hylafax.org/binary/linux/redhat/RPMS/i386/hylafax-4.2.5-1rhel4.i386.rpm
yum --enablerepo=base --enablerepo=updates localinstall hylafax-4.2.5-1rhel4.i386.rpm

Thanks for sharing :-)
Title: HylaFAX on SME 7
Post by: chaloner on March 08, 2006, 02:54:47 AM
I have the latest HylaFAX 4.2.5 rpm running on SME 7 just fine for inbound faxing. I have not tried outbound and see no reason why it will not work.

I have attempted to get my RelayFAX contrib working on it but the necessary .qmail files keep getting overwritten in the relayfax user directory.

Chaloner Hale
email@chaloner.ca
Title: Re: HylaFAX on SME 7
Post by: psoren on March 08, 2006, 12:13:05 PM
Quote from: "chaloner"
I have attempted to get my RelayFAX contrib working on it but the necessary .qmail files keep getting overwritten in the relayfax user directory.

Chaloner Hale
email@chaloner.ca


Chal,

I think you have to install the "user-manger" from here: http://dungog.net/sme/usermanager.php
Then you have to set the user relayfax to geekmode, then it should not overwrite your files.
I'm not shure though but give it a try and let us hear.

Good to see your back!

Per
Title: Re: HylaFAX on SME 7
Post by: CharlieBrady on March 08, 2006, 04:54:34 PM
Quote from: "chaloner"

I have attempted to get my RelayFAX contrib working on it but the necessary .qmail files keep getting overwritten in the relayfax user directory.


I'd suggest you open a bug in the Bug Tracker in the Contribs section. Someone may be able to help you come up with a solution.