Re: [Exim] Fax Gateway with Exim

Top Page
Delete this message
Reply to this message
Author: Leonardo Boselli
Date:  
To: exim-users
Subject: Re: [Exim] Fax Gateway with Exim
Would not be easier just use address of the form
123456@??? ?????? It is also easier to remember
(and more if instead of fax1 you use the real name of the city!) and
would not involve any special treatment

On 7 Jul 2001, at 20:34, Odhiambo Washington wrote:

From:               Odhiambo Washington <wash@???> 
To:                 Exim Users <exim-users@???> Subject:        
    [Exim] Fax Gateway with Exim Date sent:          Sat, 7 Jul 2001 
20:34:43 +0300 


>
> Hello gentlemen,
>
> I am writing to say that I am happy with all the knowledge I derive
> from this list but that at the moment I am stuck in muddy grounds.
>
> I have already read the config sample C035, 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.
>
> I'd like to setup a fax gateway for our company but 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@???
>
> 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
>
> o If someone wants to send a fax to Chicago, the address to use would
> be
> user@???
>
> o To send a fax to Kansas, the address should be
> user@???
>
> o To Seattle, address should be user@???
>
> Since all users use smtp.wananchi.com as their SMTP server, I would
> like to configure this box to know that mail addressed to
> user@??? is a local mail, strip the number 123456 out of
> the address and invoke faxmail. If the domain is different than the
> local one, then route that to the relevant server, either fax2 or
> fax3.
>
> 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
>         message_size_limit = 75k
>         user = uucp
>         command = "/usr/local/sbin/faxmai ${domain}  ${local_part} \
> ${message_headers}"

>
> newfax:
>         driver = pipe
>         message_size_limit = 75k
>         #user = uucp
>         user = fax
>         command = "/var/local/tpc/tpcmailer.pl\
> \"${local_part}@${domain}\" \"${sender_address}\""

>
>
> simplefax:
>         driver = pipe
>         #user = uucp
>         user = fax
>         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"
> newfax:
>         driver = domainlist
>         transport = newfax
>         route_list = "*.newfax.wananchi.com"

>
>
> MTIA
>
>
> -Wash
>
> --
> Odhiambo Washington
> Wananchi Online Ltd.,
> wash@??? 1st Flr Loita Hse.
> Tel: 254 2 313985 Loita Street.,
> Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE.
>
> If you are pre-occupied with life and death then you aren't ready for
> heaven.
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/ ##



Leonardo Boselli
nucleo informatico e telematico
Dipartimento Ingegneria Civile
Universita` di Firenze
V. S. Marta 3 - I-50139 Firenze
tel +39()0554796431 fax +39()055495333
http://www.dicea.unifi.it/~leo