|
Tested on: V 5.1.2
last modified: September 6, 2002
In this HOWTO you can find howto setup your SME server as a fax gateway.
There allready is a very good site for getting information on howto install hylafax.
Please visit Rick Sulman's site for installing HylaFAX.
Open your server-manager. (I guess this!)
Create a new user account using the one of the following data:
| Account name: | faxuser | |
| First name: | fax | |
| Last name: | fax | |
| E-mail delivery: | Deliver e-mail locally | |
| Forwarding address: |
Create a new virtual domain:
| Domain name: | fax | |
| Brief description: | fax | |
| Content: | Primary web site |
redirect all mail for .fax domain to faxuser
Next step is to redirect all mail for the domain .fax to the user faxuser. We can do
this by creating a custom template file in the apropriate folder.
mkdir -p /etc/e-smith/templates-custom/var/qmail/control/virtualdomains
pico /etc/e-smith/templates-custom/var/qmail/control/virtualdomains/95faxmail
.fax:faxuser
Redirect mail for faxuser to mailfax script.
I don't know exactly why, but qmail seems not to save this message according to the .qmail settings, but to process them as described in the ....users/faxuser/.qmail-default file. Therefore we create a new file that tells qmail to pipe all mail to the (to be created) mailfax script.
pico /home/e-smith/files/users/faxuser/.qmail-default
| /etc/hylafax/etc/mailfax
chown faxuser:faxuser /home/e-smith/files/users/faxuser/.qmail-default chmod 644 /home/e-smith/files/users/faxuser/.qmail-default
Restart the qmail server.
First we'll have to rebuild the configuration files. Then we can restart qmail.
/sbin/e-smith/signal-event console-save
service qmail restart
We can download the mailfax script from this location, and copy it to the /etc/hylafax/etc folder.
eg: Say it is downloaded to the /tmp folder.cp /tmp/mailfax /etc/hylafax/etc/mailfax
chown root:root /etc/hylafax/etc/mailfax chmod 755 /etc/hylafax/etc/mailfax
We can also route all incoming faxes to the faxuser's email box. To do this we must create a new HylaFAX configuration file. It is possible to receive the incoming faxes in one of three formats. (.ps .pdf or .tif)
pico /var/spool/hylafax/etc/FaxDispatch
FILETYPE=pdf; SENDTO=faxuser;
Say what! Are we testing allready? This is great!
Send a mail from your favorite mailing software to the SME-Server. This means that the smtp server in your email software must be set to the SME-Server. Because the email adress we are going to be using will only be known by our server. Then we will send a e-mail with to following recepeint: Name@FaxNumber.fax
e.g: EwaldVanGemert@0031413247338.fax
|
Worked perfectly for me. Good work. |
|
Very good howto! I got it working first time, thats rare! (Maybe it's just me though) |
|
Hi, i have found the star-support hylafax contrib via http://www.star-support.com/downloads/mitel/contrib/hylafax/install_hylafax.bak, do you know what are the differences between the both setup? Thank you. regards, daley |
|
Hi there, i couldn't find all the rpms to install the hylafax...could you help me out by sending me the links for each rpm file? Thanks, Erasmo Correia |
| Deze website is ontworpen door Ewald van Gemert. Hosting door van GEE Techniek |