HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] [soleil] Fax Gateway with Exim
Hello gentlemen,
I am writing to solicit help on setting up an e-mail to fax gateway using HylaFAX and
Exim. At the moment I am stuck in mucky muddy grounds.
I have already read the config sample C035 for Exim, but I'm still unable to figure
out how to do what I'd like to and with the vast experiences of members of
this list I hope that your contributions will see me through.
The configuration of the transports and the routers are making me bang my head against
the wall for a number of days now.
Here is what I am thinking and wondering if it's possible, even remotely
;-)
From C035, The settings will only allow the sending of a fax to
user@123456.fax
In my situation, I'd like to setup multiple servers located at different
sites and I only want each server to send faxes to local numbers. So what
I am looking for is something like this.
Our domain is wananchi.com and here is the hypothetical list of servers
and their locations (I'll use names known to all of us) for ease of
understanding, hoping that will aid the person who is willing to help me.
fax1 is located in Chicago
fax2 is located in Kansas
fax3 is located in Seattle
There is an issue if a client requests for a numerical username, so my preference would be
to treat the fax addresses differently, by having, say, a prefix on them.
o If someone wants to send a fax to Chicago, the address to use would be
fax-123456@fax1.wananchi.com
o To send a fax to Kansas, the address should be
fax-123456@fax2.wananchi.com
o To Seattle, address should be fax-123456@fax3.wananchi.com
Since all users use smtp.wananchi.com as their SMTP server, I would like
to configure this box to know that mail addressed to
fax-123456@fax1.wananchi.com is a local mail, strip out the number 123456 from the
address and invoke faxmail.
Ofcourse if the domain is different than the local one, then route that to the
relevant server, either fax2 or fax3.
The other pertinent issue is that I would want to restrict the numbers, so
that no number starts with an area code. Area codes in my country start with
a 0 (zero) and as such any number starting with a zero _must_ be rejected. I am
looking at a situation where someone might be craft and try faxing to an
International number. The phone number does not have ISDN service for one, but
I also don't want to make trunk calls.
On the very top of all this,
1. it would be a nice idea to have my own custom coverpage sent with the faxes,
2. I'll love to have accounting details processed.
I've been running a cell for TPC style faxing and it sends usage reports. I know it
it's possible to setup billing with the TPC configuration but I'd also love to have
the same in this setup.
I have scanned the whole Internet for such a solution but still can't find
something and have decided to bare my ignorance to it with the hope that
my head may get some rest.
I have tried various options and the thing has eaten into my mind:
Here are some transports and routers that I have encountered during my
search, only I am requesting for some input that can help adapt them to my
situation.
TRANSPORTS:
fax:
driver = pipe
user = uucp
command = "/usr/local/sbin/faxmail ${domain} ${local_part} ${message_headers}"
simplefax:
driver = pipe
#user = uucp
command = "/usr/local/bin/faxmail -d ${local_part}@${extract{1}{.}{$domain}}"
ROUTERS:
fax:
driver = domainlist
transport = fax
route_list = "fax.wananchi.com"
fax2:
driver = domainlist
transport = simplefax
route_list = "*.fax"
PLEASE: Do not modify the subject line. The word 'soleil' is important for my anti-SPAM filter.
MTIA
-Wash
--
Odhiambo Washington
Wananchi Online Ltd.,
wash@wananchi.com 1st Flr Loita Hse.
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE.
An adequate bootstrap is a contradiction in terms.
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null