Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] FaxDispatch
Hi,
> I run hylafax on a single-user machine (SuSe 8.0) and want to have hylafax
> send ALL incoming faxes to the user user. So I have a file called
> FaxDispatch with the following lines:
>
> ------
> #!/bin/sh
> case "$SENDER" in
> *) SENDTO=user
> esac
> ------
Each option in a case-statement must end with ";;". So it should be:
#!/bin/sh
case "$SENDER" in
*) SENDTO=user;;
esac
But in your case you can have it much easier:
a) Set the "TOADDR" in bin/faxrcvd to your "user"
b) If there's only one user, no decision is neccessary in FaxDispatch:
----------FaxDispatch-----
SENDTO=user
----------------EndFaxDispatch
Be careful to place your FaxDispatch-file in SPOOLDIR/bin-directory, if
you use the package that comes with SuSE-distribution. This is
SuSE-specific. HylaFAX-Standard is SPOOLDIR/etc-directory.
--
Holger
____________________ 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.*