HylaFAX The world's most advanced open source fax server

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

[hylafax-users] mail 2 fax with more than one modem


i've set up more than one modem on a hylafax server.

This is the startup script:


/usr/local/sbin/hylafax start
/usr/local/sbin/faxmodem /dev/ttyS0
/usr/local/sbin/faxgetty /dev/ttyiaxmodem_1 &
/usr/local/sbin/faxgetty /dev/ttyiaxmodem_2 &
postfix start

I've set up a postfix server to send a fax when it receives an email.

The command is:
/usr/local/bin/faxmail -n -d ${user}

What i'd like to do, is to set the modem to use on each fax, for example:

if the sender of the mail is "xxx"
    send the fax with /dev/ttyiaxmodem_1
else if the sender is "yyy"
     send the fax with /dev/ttyiaxmodem_2
    use /dev/ttyS0

Can i do that?



____________________ 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