Koozali.org: home of the SME Server

Fax working on SME 7.0 pre1

Offline hilke

  • *
  • 11
  • +0/-0
Fax working on SME 7.0 pre1
« 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.
...

tandum

Fax working on SME 7.0 pre1
« Reply #1 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.

Offline hilke

  • *
  • 11
  • +0/-0
Fax working on SME 7.0 pre1
« Reply #2 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
...

Offline stefan24

  • *****
  • 483
  • +0/-0
    • www.sme-server.de
Fax working on SME 7.0 pre1
« Reply #3 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

tandum

Fax working on SME 7.0 pre1
« Reply #4 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

Offline gregswallow

  • *
  • 651
  • +1/-0
Fax working on SME 7.0 pre1
« Reply #5 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 :-)

Offline chaloner

  • ****
  • 73
  • +0/-0
    • http://www.chaloner.ca
HylaFAX on SME 7
« Reply #6 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

Offline psoren

  • *
  • 371
  • +0/-0
Re: HylaFAX on SME 7
« Reply #7 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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: HylaFAX on SME 7
« Reply #8 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.