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] select tty for sending fax depending on user
Hi Lee,
Lee Howard wrote:
>
> At 09:49 PM 8/19/01 +0200, Marcus Schopen wrote:
> >> At 03:10 PM 8/19/01 +0200, Marcus Schopen wrote:
> >> >Hi,
> >> >
> >> >we are using hylafax with two modems on ttyS0 for number A and ttyS1 for
> >> >number B. Incoming way works fine on both modems.
> >> >
> >> >Problem is outgoing: We are two users (X and Z) using WHFC on Win2000 to
> >> >sending fax.
> >> >Now how can I the following:
> >> >User X should send all faxes through ttyS0 so headers of
> >> >ttyS0-configuration are used. User Z should send through ttyS1 so
> >> >headers of ttyS1-configuration are used for his outgoing faxes. Is there
> >> >a possibility to select a modem depending on the owner of a fax?
> >>
> >> The standard way to choose outbound modem is at the time of job submission.
> >
> >Is there a way to set a paramter in WHFC to choose a tty ?
>
> I'm sure there is, but I don't use WHFC, so I can't tell you.
>
> >> However, the standard way to dynamically alter the configuration settings
> >> based on user is using ~/.hylarc files.
> >
> >Do you have an example ~/.hylarc where outbound modem is set to ttyS0
> >for user X?
> >I can't find an documentation about ~/.hylarc syntax.
>
> I don't use a ~/.hylarc file to show you, but you can read the
> documentation on the options in 'man sendfax' (among other man pages).
>
> I believe that you'll need to have something like this:
>
> Host: ttyS0@localhost
>
> In that user's home directory in a file called ".hylarc". I don't know how
> well that works, though, since I don't use it... nor do I use WHFC.
>
the following .hylarc entry works fine, but only if you are logged in as
the user on the faxserver:
Modem: ttyS1
WHFC seems to ignore .hylarc :-(
Thank you for helping
Marcus
--
_____________________________________
(0> Marcus Schopen
//\ P.O. Box 10 25 25
V_/_ 33525 Bielefeld, Germany
ICQ#120991527
_____________________________________
Live as variously as possible
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null