HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] How to set email2fax with exim (or procmail?)?



On Tue, Jun 06, 2006 at 02:01:26PM -0500, Michael Stowe wrote:
> I'm pretty surprised that there's somebody who exists who uses ssh/mutt
> for email and is *not* a programmer.
> own who may have documented or released their solutions, but I haven't
> seen or tried them.  For example:
> http://www.hylafax.org/archive/2000-10/msg00203.php

Ok Michael, let's see my solution I've worked out with some googling
and a good friend today:

Base are the scripts on http://xtronics.com/exim/index.htm

For me (exim4) this works:


/etc/exim4/conf.d/transport/40_exim4-hylafax-gateway

######################################################################
# 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.

#These configure  for sending of fax for email
fax:
driver = pipe
user = faxmaster
command ="/usr/bin/faxmail -n -d ${local_part}@${extract{1}{.}{$domain}}"
home_directory = /tmp
use_shell = true

and a file


/etc/exim4/conf.d/router/050_exim4-hylafax-gateway

######################################################################
# ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
######################################################################
# ORDER DOES MATTER #
# A remote address is passed to each in turn until it is accepted. #
######################################################################

fax:
driver = manualroute
transport = fax
route_list ="*.fax"


Then in mutt writing a fax with address someone@xxxxxxxxxxx is sending
the fax to number 1234567.

Wow:-)


ciao, Dirk
-- 
|      Akkuschrauber Kaufberatung and AEG GSM stuff       |
|   Visit my homepage:   http://www.nutrimatic.ping.de/   |
| FIDO: Dirk Salva 2:244/6305.10 Internet: dsalvaATgmx.de |
|    The "Ruhrgebiet", best place to live in Germany!     |

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions