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] destination address rule

Am 2005.08.21 20:44 schrieb(en) Jaap Winius:
I'm just a bit thick, but I don't see enough there to solve
my problem. It's clear to me that I'd have to modify etc/FaxDispatch, but beyond that I'm not sure what to do.

Hello Jaap,

sorry, your question looked a bit general. If you had provided these details I could have helped in my previous mail.


The above looks a lot like what I'm looking for, except of course that $SENDER yields the sender's fax number instead of the incoming MSN.

What you need is described in /usr/share/doc/capi4hylafax/README.php.

Capi4hylafax provides the MSN or DDI number as argument $7 to the faxrcvd script. The Debian version of this script assigns this to variable DESTINATION (since version 4.2.0-14)

This is not the complete phone number but you could add the constant part in your script, something like


Also, this way the value for $SENDER gets chopped up making the
resulting email undeliverable. This is from my Exim log:

  20:21:31 <= fax@xxxxxxx U=uucp P=local S=10337
  20:21:31 ** 1234567@xxxxxxx: Unrouteable address
  20:21:31 ** 30@xxxxxxx: Unrouteable address
  20:21:31 ** +31@xxxxxxx: Unrouteable address
  20:21:31 <= <> R=1E6uRn-0007sQ-Bk U=Debian-exim P=local S=11215
  20:21:31 ** fax@xxxxxxx: Unrouteable address
  20:21:31 Frozen (delivery error message)

SENDER contains spaces which is interpreted as 3 separate receivers. You should remove the spaces if necessary.


____________________ 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