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] FaxDispatch



> case "$DEVICE" in
> ttyS0
>         FILETYPE=pdf;;		# all faxes in PDF format
>         SENDTO=randy;;		# all faxes received on ttyS1
> ttyS2
>         FILETYPE=pdf;;		# all faxes in PDF format
>         SENDTO=sales;;		# all faxes received on ttyS2
> esac
> 
> and they stopped going to any email address.

Your syntax for the case statement is a bit off.  Make it look like:

case "$DEVICE" in
'ttyS0')
	FILETYPE=pdf
	SENDTO=randy
	;;
'ttyS2')
	FILETYPE=pdf
	SENDTO=sales
	;;
esac

(for more info on this stuff, check out man bash)

Ross Vandegrift
ross@willow.seitz.com

____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions