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] mail 2 fax with more than one modem



On 10/1/07, nik600 <nik600@xxxxxxxxx> wrote:
> I've set up a postfix server to send a fax when it receives an email.
>
> The command is:
> (master.cf)
> .....
> /usr/local/bin/faxmail -n -d ${user}
> .....

have postfix call a shell script instead of the command directly, and
instead of using faxmail -d, pipe it to sendfax

something like:
#!/bin/bash
/usr/local/bin/faxmail -n | /usr/local/bin/sendfax -R -n -o $1 -f $2 -d $3


but with added logic to set the modem based on sender


____________________ 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