[EXIM] Configuring Exim as a fax gateway with Hylafax

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Anthon Walters
Dátum:  
Címzett: exim-users
Tárgy: [EXIM] Configuring Exim as a fax gateway with Hylafax
Firstly let me apologize if this is not the correct list to post this. I
have spent the past couple of days in the mailing archives and am convinced
that I am not repeating someone. If anyone has Hylafax working with Exim as
a fax gateway could they perhaps help me with their transport and router
configuration. Basically I got as far as this (using an old smail3 example
supplied with the Hylafax software) entering it in my Exim configure file.
I am running Exim 1.90 on a Linux 2.0.33 (slakware 3.4) box (i386)

# TRANSPORT

fax:
    driver = pipe
    pipe_as_creator
    command = "/usr/bin/mailfax"



# ROUTER

fax:
driver = queryprogram
transport = fax
command = "/usr/bin/expr ${lc:host} : '.*\.fax$1'" (this is where I
suspect I'm going wrong)

mailfax refers to a little script file containing:

/usr/sbin/faxmail | /usr/bin/sendfax -n -d "`/usr/bin/expr \$ADDR\" :
'\(.*\)\.fax$1'`"$SENDER@$PRIMARY_NAME" (also a smail3 example)

I don't mind any flames just maybe add some help to that. As you can see I'm
clueless :~)

Regards Anthon Walters




--
*** Exim information can be found at http://www.exim.org/ ***