HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Hylafax on FreeBSD
Hi,
WARNING: This is going to be a long one!!
I have installed Hylafax 4.1beta2 from the ports on FreeBSD 4.1-Stable.
I am a bit relieved that it is running now after I figured out a mishap
somewhere - that the hylafax.sh that goes to /usr/local/etc/rc.d is by
default not set to executable. So I changed that. Secondly (I am not a
shell programmer) I am wondering whether it is right for a script that is
going to be executed by the shell to start with "#! /bin/sh" - most of
those I've seen start with "#!/bin/sh" (note the space after !) -well,
that should be a BTW, but hylafax.sh has that space, which I believe isn't
an issue.
Now that I have Hylafax running (I test that using faxstat), I need to
configure it to interact with Exim. I also need to come up with an
Exchange file. The rest I can do...but Exim is important.
To this end I have TWO possible solutions from people....
Jason S. Kohles <robobob@xmission.com> said:
He says he came up with a working configuration and here are his notes:
/etc/mail/tpc.domains is a text file with lines in this format (this
simple line indicates that we accept faxes destined for 1(801)539-*)
9.3.5.1.0.8.1.tpc.int
/usr/local/tpcmailer.pl is the mail processing script got from tpc.int
Here are his instructions.
add partial-lsearch'/etc/mail/tpc.domains to local_domains configuration
#tpc transport
tpc:
driver = pipe;
command = "/usr/local/tpc/tpcmailer.pl ${local_part}@{domain}\
${sender_address}
pipe_as_creator
NB: I had to truncate the line for 'command'
#tpc director
tpc_director:
driver = smartuser,
transport = tpc,
domains = "partial-lsearch;/etc/mail/tpc.domains";
####### Here is what another fellow has to say.
Date: Tue, 8 Feb 2000 11:19:35 -0200
From: Joao Alves <cpd@cosco.com.br>
These configurations enable exim and hylafax (www.hylafax.org) work
together, i mean sending fax by email (user@123456.fax).
Obs: There is a problem faxmail does not support email in html format. If
someone solved this problem, pls tell me.
a cortesy
Joao Alves/ Cosco Brazil
-------------------------------------------
exim.conf
######################################################################
# TRANSPORTS CONFIGURATION #
######################################################################
# ORDER DOES NOT MATTER #
# Only one appropriate transport is called for each delivery. #
######################################################################
# A transport is used only when referenced from a director or a router that
# successfully handles an address.
# Estas configuracoes sao para habilitar a envio de fax por email
fax:
driver = pipe
user = cpd
command ="/usr/bin/faxmail -d ${local_part}@${extract{1}{.}{$domain}}"
home_directory = /usr/bin
######################################################################
# ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
######################################################################
# ORDER DOES MATTER #
# A remote address is passed to each in turn until it is accepted. #
######################################################################
# Estas configuracoes sao para habilitar o envia de fax por email
fax:
driver = domainlist
transport = fax
route_list ="*.fax"
# End of Exim configuration file
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
I am sure someone is familiar with what Exim expects and here are two
different scenarios. Analytical comments will be appreciated.
I have a single modem for testing. My goal is to have Hylafax be the
e-mail-to-fax gateway; it will receive e-mails which it will in turn
send them out as faxes. I also hope that once I'm part of TPC.INT then our
clients will be able to send faxes Internationally.
I also need to get tpcmailer.pl - Is this what is called Unix glue?
There is some info on www-usa.tpc.int/servers/unix_glue_install.php and I
find it quite scanty. Maybe it is the one to guide..
Any help from this point is highly appreciated.
Thanks
-Wash
#I have to have a cell through thick and thin ;-)
--
Odhiambo Washington Inter-Connect Ltd.,
wash@iconnect.co.ke 5th Flr Furaha Plaza
Tel: 254 11 222604 Nkrumah Rd.,
Fax: 254 11 222636 PO Box 83613 MOMBASA, KENYA.
A man is the sum of his actions, of what he has done, of what he can do,
nothing else. -Mahatma Ghandi
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null