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 pass arguments to faxmail?



On Wed, May 7, 2008 at 3:00 AM, Marco <blackspiraldancer@xxxxxxxx> wrote:
> Hello guys/gals,
>  I'm building a mail2fax gateway with Hylafax and Postfix; I managed to
>  get it working, but now I'm stuck on a little but crucial detail. In the
>  master.cf file, Postfix invokes the "faxmail -d" command, which
>  transfers the formatted message to sendfax. The problem is that this
>  command won't let me choose the destination modem, as I could do with
>  "sendfax -h ttyIAX3@localhost ...". I really need to choose the
>  destination, because different modem are connected to different DIDs
>  that are displayed to customers, so no "first line available" is desired
>  when sending a fax.
>  I tried writing a pipe in the Postfix's master.cf file involving faxmail
>  | sendfax without the "-d", but it didn't work, so I need a way to pass
>  the "host" setting to the chain. Maybe a script would work?
>  Thanks in advance,

have sendmail call a shell script that does whatever you need


____________________ 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