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



Hi

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

This is the startup script:

/programmi/iaxmodem-0.2.1/iaxmodem

/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:
(master.cf)
.....
/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
else
    use /dev/ttyS0

Can i do that?

Thanks


-- 
/*************/
nik600
https://sourceforge.net/projects/ccmanager
https://sourceforge.net/projects/nikstresser


____________________ 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