From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 1 Jul 1998 14:52:16 -0400 (Eastern Daylight Time)
From: "Nagendran Parasu" <nagu@amteva.com>
To: flexfax@sgi.com
Subject: flexfax: paging without entry in pagermap?
X-X-Sender: nagu@[oi3]
Sender: owner-flexfax@celestial.com



I am a newbie to hylafax. I was wondering if I can specify the pager
number and pin directly from the client.(without going thru the pagermap 
in hylafax)

The SNPP protocol says the following under 4.3.1 PAGEr <Pager ID>

The PID used must reside in, and be validated by the paging terminal.

Does that mean that the pager id mapping(pagermap) is done always at the 
server?

Another question - is there any client side library available that talks
SNPP? I am looking for a library to use in my application written in C.

thanks,

nagu

-----------------------------------------------------------------------
                     To do is to be  -Descartes
                     To be is to do  -Voltaire
                     Do be do be do  -Frank Sinatra

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Sat, 04 Jul 1998 01:21:54 +1000
To: flexfax@sgi.com
From: Robert Colquhoun <rjc@trump.net.au>
Subject: Re: flexfax: sub-fork problem on HP-UX 10.20
Sender: owner-flexfax@celestial.com

Hi Gerhard,

Grab the binary from:
	http://www.trump.net.au/~rjc/hylafax/

The one on sgi.com has problems with the current tiff library at the HP
users group, it has been linked differently to the previous tiff library. :-(

PS Sorry about the above i currently have a replacement binary which
hopefully should be uploaded to sgi in a week or two.  As soon as i resolve
some gs 5.10 problems.

- Robert

At 03:43 PM 7/3/98 +0200, you wrote:
>I have just installed a binary distribution of HylaFAX Version 4.0pl2 on
an HP
>9000/J200 under HP-UX 10.20. When I try to send a fax, the job fails with the
>notification <no reason recorded>.
>Here's an excerpt from syslog:
>
>Jun 29 09:38:54 sye92h7 FaxQueuer[10197]: FIFO RECV "Sclient/2735:40"
>Jun 29 09:38:54 sye92h7 FaxQueuer[10197]: SUBMIT JOB 40
>Jun 29 09:38:54 sye92h7 FaxQueuer[10197]: FIFO SEND client/2735 msg "S*"
>Jun 29 09:38:54 sye92h7 FaxQueuer[10197]: JOB 40 (active dest +4970313877 pri
>127 tts 0:00 killtime 2:59:00): PREPARE START
>Jun 29 09:38:54 sye92h7 FaxQueuer[2739]: JOB 40 (active dest +4970313877
pri 127
>tts 0:00 killtime 2:59:00): CONVERT DOCUMENT: bin/ps2fax -o
docq/doc40.ps;31 -r
>196 -w 1728 -l 280 -m 4294967295 -1 docq/doc40.ps.40
>Jun 29 09:38:57 sye92h7 FaxQueuer[10197]: JOB 40 (active dest +4970313877 pri
>127 tts 0:00 killtime 2:58:57): PREPARE DONE
>Jun 29 09:38:57 sye92h7 FaxQueuer[10197]: JOB 40: bad exit status 0x6 from
>sub-fork
>Jun 29 09:38:57 sye92h7 FaxQueuer[10197]: NOTIFY: bin/notify "doneq/q40"
>"failed" ""
>Jun 29 09:39:00 sye92h7 inetd[660]: auth/tcp: Exit status 1
>
>ps2fax seems to work ok and generates the file "doc40.ps;31" in the docq
>directory. Has anybody an idea what could be broken here?
>
>Tia,
>Gerhard
>
>-- 
>#   Dr. Gerhard Hoelzle       #      Tel.  : 07031/90-9671
   #
>#   Daimler-Benz AG           #      Fax   : 07031/90-3877
   #
>#   Abt. EP/QDF HPC G270      #      Email : Gerhard_Hoelzle@ep.mbag.sifi.
   #
>#   71059 Sindelfingen        #               daimlerbenz.com
   #
> 

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Juergen Otte" <juergen@mit-net.de>
To: <flexfax@sgi.com>
Subject: flexfax: Re: Setting up Hylafax as a printer
Date: Fri, 3 Jul 1998 15:37:06 +0200
X-MIME-Autoconverted: from 8bit to quoted-printable by sgi.sgi.com id GAA25031
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id PAA23805


    -----Ursprngliche Nachricht-----
    Von: Juergen Otte <juergen@mit-net.de>
    An: flexfax@sgi.com <flexfax@sgi.com>
    Datum: Freitag, 3. Juli 1998 15:28
    Betreff: Setting up Hylafax as a printer


    Hi,
    could anyone point me to more Information how to setup a lpr-style
printer-device
    for use with hylafax ?

    Using 4.0 under Linux

    Juergen

    sorry. i should have been more precise.
    i want to have a printer for outgoing fax-traffic, printing
    incoming is no problem anyway.

    Juergen

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 6 Jul 1998 10:36:16 +0200
From: Carsten Hoeger <choeger@suse.de>
To: flexfax@sgi.com
Subject: Re: flexfax: Setting up Hylafax as a printer
Sender: owner-flexfax@celestial.com

On Fri, Jul 03, Juergen Otte wrote:

> Hi,
> could anyone point me to more Information how to setup a lpr-style printer-device
> for use with hylafax ?


I wrote a little filter for that kind of job.

ftp://ftp.suse.com/pub/SuSE-Linux/5.2/suse/ap1/faxprint.rpm

This filter requires a rpm-based linux and bsd or plp printer-spooling
system.

You can use this filter e.g. in combination with SuSEFax.

ftp://ftp.suse.com/pub/SuSE-Linux/5.2/suse/n1/susefax.rpm

-- 
mfG,
	Carsten Hoeger
------
Carsten Hoeger  - S.u.S.E. GmbH -  Gebhardtstr. 2  -  90762 Fuerth  -  Germany
fax +49-911-3206727                                     web http://www.suse.de
------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 7 Jul 1998 14:40:43 +0200 (CEST)
From: "Lorenzo M. Catucci" <lorenzo@argon.roma2.infn.it>
To: HylaFax Mailing list <flexfax@sgi.com>
cc: Leonardo Solorzano <leo@cesa.co.cr>
Subject: Re: flexfax: Non english chars in faxcover
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by derrick.elgro.co.uk id OAA02900



On Tue, 7 Jul 1998, Ulrich Eckhardt wrote:

> Leonardo Solorzano wrote:
> > 
[...]
> > 
> > However, I have an inconvenience.  Because our language is Spanish, we
> > need to print the following Spanish chars:
> > 
> > 
> > 
> > The problem is because the faxcover program pass the chars in its
> > arguments unmodified to the postscript file it generates, but in order
> > to be correctly displayed, the postscript file need to represent these
> > special chars in octal format, like \363 for  (o acute) for example.
> > This is what I think is the problem.
> > 
> > Perhaps some Postscript procedure, or some changes in the faxcover
> > program, can correct the problem.
> 
> Hi,
> 
> WHFC currently does not convert national characters to the correct
> postscript code, so it's not possible to use the special characters.
> 
> 
Try to make your faxcover with latex-cover; it should work! (I didn't see
any problem like the one you describe since I first installed hylafax a
couple of years ago). I only have to mention a small problem you can get
into if you use Macs too: since Macintosh's charset is not an
extended iso-latin-1 like windows', you have to remap the chars in the
preamble of the generated postscript file (I'm unsure if latex-cover now
comes with my ugly patch to this end, or not)

Yours


lorenzo

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 06 Jul 1998 18:14:42 -0500
From: Leonardo Solorzano <leo@cesa.co.cr>
Organization: CESA
To: flexfax@sgi.com
Subject: flexfax: Non english chars in faxcover
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id HAA02033

Hello!

I have used hylafax for a long time, but now I'm promoting it's use as a
company wide tool, thanks to the WHFC front end.

However, I have an inconvenience.  Because our language is Spanish, we
need to print the following Spanish chars:



(I know not all mailers can display correctly this chars, I apology)

The problem is because the faxcover program pass the chars in its
arguments unmodified to the postscript file it generates, but in order
to be correctly displayed, the postscript file need to represent these
special chars in octal format, like \363 for  (o acute) for example. 
This is what I think is the problem.

Perhaps some Postscript procedure, or some changes in the faxcover
program, can correct the problem.

I'll appreciate any help in this matter.

Thanks,
leo
-- 
   ___________________________________________________________
  /                              ___                          \
  | Leonardo Solorzano        /\ \__\  _  _  _  _             |
  | Tech. Director           /  \     |  |_ |_ |_|            |
  | leo@cesa.co.cr           \  / ___ |_ |_  _|| |            |
  |                           \/ /__/                         |
  |                                                           |
  | http://www.cesa.co.cr/    CONTROL ELECTRONICO S.A.        |
  | Tel.:  (+506) 224 4444    100 M Sur Bco Popular San Pedro |
  | Fax.:  (+506) 253 5450    San Jose, Costa Rica            |
  \___________________________________________________________/

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 07 Jul 1998 08:29:59 +0200
From: Ulrich Eckhardt <Ulrich.Eckhardt@transcom.de>
Organization: Transcom
To: Leonardo Solorzano <leo@cesa.co.cr>
CC: HylaFax Mailing liste <flexfax@sgi.com>
Subject: Re: flexfax: Non english chars in faxcover
X-MIME-Autoconverted: from 8bit to quoted-printable by sgi.sgi.com id XAA09708
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id KAA02450

Leonardo Solorzano wrote:
> 
> Hello!
> 
> I have used hylafax for a long time, but now I'm promoting it's use as a
> company wide tool, thanks to the WHFC front end.
> 
> However, I have an inconvenience.  Because our language is Spanish, we
> need to print the following Spanish chars:
> 
> 
> 
> (I know not all mailers can display correctly this chars, I apology)
> 
> The problem is because the faxcover program pass the chars in its
> arguments unmodified to the postscript file it generates, but in order
> to be correctly displayed, the postscript file need to represent these
> special chars in octal format, like \363 for  (o acute) for example.
> This is what I think is the problem.
> 
> Perhaps some Postscript procedure, or some changes in the faxcover
> program, can correct the problem.

Hi,

WHFC currently does not convert national characters to the correct
postscript code, so it's not possible to use the special characters.

Uli
-- 
Ulrich Eckhardt       http://people.frankfurt.netsurf.de/uli
Signalgrotat des wu-ftpd 2,4 (unvollstndig?)
Cgi-Sicherheitsbohrung in EWS (regen Sie fr Webservers auf)
[Translation from an english text to german by AltaVista]

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 07 Jul 1998 21:15:37 -0500
From: Leonardo Solorzano <leo@cesa.co.cr>
Organization: CESA
To: flexfax@sgi.com
Subject: flexfax: Non english chars in faxcover (summary)
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id HAA03470

I found the solution, see below.

Leonardo Solorzano wrote:
> 
> Hello!
> 
> I have used hylafax for a long time, but now I'm promoting it's use as a
> company wide tool, thanks to the WHFC front end.
> 
> However, I have an inconvenience.  Because our language is Spanish, we
> need to print the following Spanish chars:
> 
> 
> 
> (I know not all mailers can display correctly this chars, I apology)
> 
> The problem is because the faxcover program pass the chars in its
> arguments unmodified to the postscript file it generates, but in order
> to be correctly displayed, the postscript file need to represent these
> special chars in octal format, like \363 for  (o acute) for example.
> This is what I think is the problem.
> 
> Perhaps some Postscript procedure, or some changes in the faxcover
> program, can correct the problem.
> 
> I'll appreciate any help in this matter.
> 
> Thanks,
> leo


I have found the solution, thanks to "Lorenzo M. Catucci"
<lorenzo@argon.roma2.infn.it>, who suggested me to use the program
latex-cover (I'm using make_faxcover instead), because with it there
aren't this kind of problems.

I noted that this program inserts some PostScript instructions in order
to define a different encoding for the font used to display the variable
fields.  This new encoding is appropriate to display the non-English
characters used in most Latin derived languages.

Because I don't use LaTex to generate my cover, I looked around and
found
a clear example of how to do this.  It can be found in:

ftp://wilma.cs.brown.edu/pub/postscript/

with the name ddev.ps (Define Different Encoding Vector)

I just insert this program near the beginning of faxcover.ps with some
minor changes and it worked.

Thanks to all who help me.

leo
-- 
   ___________________________________________________________
  /                              ___                          \
  | Leonardo Solorzano        /\ \__\  _  _  _  _             |
  | Tech. Director           /  \     |  |_ |_ |_|            |
  | leo@cesa.co.cr           \  / ___ |_ |_  _|| |            |
  |                           \/ /__/                         |
  |                                                           |
  | http://www.cesa.co.cr/    CONTROL ELECTRONICO S.A.        |
  | Tel.:  (+506) 224 4444    100 M Sur Bco Popular San Pedro |
  | Fax.:  (+506) 253 5450    San Jose, Costa Rica            |
  \___________________________________________________________/

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 07 Jul 1998 09:55:11 +0800
To: flexfax@sgi.com
From: Dong Baohua <dbaohua@nftz.gov.cn>
Subject: flexfax: Hylafax Running on Linux 2.0.34 using Hayes Accura 33.6 can
  not receive fax
Sender: owner-flexfax@celestial.com

I installed Hylafax 4.0pl2 on Linux/i386 using Hayes Accura 33.6. It sends
fax well, but can not receive.It always tellme that RECV: 0 total lines, 0
bad lines, 0 consecutive.
below is the log:
Jul 07 09:14:46.91: [   95]: RECV training at v.29 9600 bit/s
Jul 07 09:14:46.91: [   95]: <-- [10:AT+FRM=96\r]
Jul 07 09:14:47.23: [   95]: --> [7:CONNECT]
Jul 07 09:14:49.08: [   95]: RECV: TCF 1983 bytes, 1% non-zero, 1937 zero-run
Jul 07 09:14:49.09: [   95]: --> [10:NO CARRIER]
Jul 07 09:14:49.09: [   95]: DELAY 75 ms
Jul 07 09:14:49.18: [   95]: <-- [9:AT+FTH=3\r]
Jul 07 09:14:49.26: [   95]: --> [7:CONNECT]
Jul 07 09:14:49.26: [   95]: <-- data [3]
Jul 07 09:14:49.26: [   95]: <-- data [2]
Jul 07 09:14:50.49: [   95]: --> [2:OK]
Jul 07 09:14:50.49: [   95]: TRAINING succeeded
Jul 07 09:14:50.49: [   95]: <-- [10:AT+FRM=96\r]
Jul 07 09:14:50.95: [   95]: --> [7:CONNECT]
Jul 07 09:14:50.95: [   95]: RECV: begin page
Jul 07 09:14:51.28: [   95]: RECV: 0 total lines, 0 bad lines, 0
consecutive bas
Jul 07 09:14:51.28: [   95]: RECV: end page
Jul 07 09:14:51.28: [   95]: --> [10:NO CARRIER]
Jul 07 09:14:51.28: [   95]: <-- [9:AT+FRH=3\r]
Jul 07 09:15:11.70: [   95]: --> [7:CONNECT]
Jul 07 09:15:12.77: [   95]: --> [2:OK]

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 07 Jul 1998 21:44:43 -0700
From: Anthony Truscott <atruscott@ucsd.edu>
To: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
CC: flexfax@sgi.com
Subject: Re: flexfax: hfaxd won't start
Sender: owner-flexfax@celestial.com

Nico-

  Just a final note in case you are curious.  I was able to get HylaFAX 
to work perfectly by simply creating the dev/null entry as root with 
mknod.  Everything else worked fine.  So the compilation was not 
necessarily the issue.  
  I cannot determine why the server fails to create the dev/null file 
since it is able to make dev/tcp and dev/socksys.  My limitted 
programming ability cannot determine why the source code might fail to 
work.
  Look at line 98 of hfaxd/main.c++ to see where the special file is 
created if missing.

Anyhow, I am happy that all works well.  Thanks for all your help.

Tony

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 07 Jul 1998 09:38:11 -0500
From: Dave Waller <dwaller@brodnet.com>
To: flexfax@sgi.com
Subject: flexfax: Could not create client
Sender: owner-flexfax@celestial.com

I am having trouble getting off the ground with HylaFax.

I have the HylaFAX-4_0pl1-1_i386.rpm for Linux
I am using RedHat 5.0
and a USR Sportster 28.8 Class2.0 fax

The message I get from telneting or faxstat is:
Could not create client/#### Permision denied

I suspect several things.
chroot dir permisions not correct
PAM (Plugable Authenication Module) is in the way.
hfaxd is running as user uucp

Thanks in advance for any help.

Dave Waller
Presicion Drive and Control
Monroe Wisconsin

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 7 Jul 1998 16:13:10 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Dave Waller <dwaller@brodnet.com>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Could not create client
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 7 Jul 1998, Dave Waller wrote:

> 
> I am having trouble getting off the ground with HylaFax.
> 
> I have the HylaFAX-4_0pl1-1_i386.rpm for Linux
> I am using RedHat 5.0
> and a USR Sportster 28.8 Class2.0 fax

No biscuit. There are a number of patches in HylaFAX, and a number
of changes in Linux for RedHat 5.0 which make this inappropriate.

Someone on the list, whose URL escapes me, was testing out a new RPM
for recent RedHat releases. Meanwhile, I've got a stack of
installation notes and patches at
	http://cirl.meei.harvard.edu/hylafax/

The problems with USR Sportster's are a whole other ball of wax....

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNaKBUz/+ItycgIJRAQGcQwQAoF5nehhQI3N5Vkl6e62CIgEFGt1t+5rh
Wqq7qyWfGGe53OhEfZNwR2AtXhEcmjZPDpXdmy3M+ycXH02IWp1zwYUwODY/GjxA
brAF3FnJo4bG6o/38m9txCfSIh6dBMKDcadXYmtRFWZga3IrWXBJRrHv4/7xvXtv
Y4p0KYHuSTE=
=aB1e
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
cc: Dave Waller <dwaller@brodnet.com>, flexfax@sgi.com
Subject: Re: flexfax: Could not create client 
Date: Wed, 08 Jul 1998 00:57:57 +0100
From: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
Sender: owner-flexfax@celestial.com


>>>>> On Tue, 7 Jul 1998, "NKG" == Nico Kadel-Garcia wrote:

  NKG> -----BEGIN PGP SIGNED MESSAGE-----

  NKG> On Tue, 7 Jul 1998, Dave Waller wrote:

  +> I am having trouble getting off the ground with HylaFax.

  +> I have the HylaFAX-4_0pl1-1_i386.rpm for Linux I am using RedHat 5.0 and a
  +> USR Sportster 28.8 Class2.0 fax

  NKG> No biscuit. There are a number of patches in HylaFAX, and a number of
  NKG> changes in Linux for RedHat 5.0 which make this inappropriate.

  NKG> Someone on the list, whose URL escapes me, was testing out a new RPM
  NKG> for recent RedHat releases.

Happily married now Nico? ;-)

The URL for a test version is:

	ftp://ftp.tpc.int/pub/hylafax/hylafax-4.0pl2-1rh5.i386.rpm

This version works, but a few minor improvements need to be made thanks to two testers and their detailed comments. I will get to this as/when I have time, and eventually release this baby.

But for now, it works - feel free to try it and offer comments.

-D

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 08 Jul 1998 10:21:21 +0200
From: Ralf Graefe <ralf.graefe@ecrc.de>
Organization: ecrc
To: flexfax@sgi.com
Subject: flexfax: Problems sending Postscript with faxmail
Sender: owner-flexfax@celestial.com

Hi there,

ref.: Hylafax v 4.0pl2 On Linux kernel 2.0.33
I want to EMail a Perl generated Postscript file with sendmail using
faxmail. I already printed it and also send it with sendfax without
problems so the Postscript code should be ok.

I also can send several other Postscript files with faxmail without
problems. For sending I used the Perl MIME-tools and the Netscape
Communicator mail client as well. In the source of faxmail I saw that it
only looks for the MIME-type that was equally set correctly in ALL
tests.

So what is actually happening?:

First I see the following message in /var/log/messages:

Jul  8 10:10:59 wintermute FaxQueuer[2876]: NOTIFY: bin/notify
"doneq/q72" "no_formatter" "" 



In the path /var/spool/fax/doneq I then have a file containing the
following error messages:


commid:
status:Unrecoverable error: invalidrestore in restore\
Operand stack:\
    --nostringval--  --nostringval--\
\
Unexpected interpreter error -11.\
Error object: (f80)op(37:restore)0x805e410\
Operand stack at 0x815f9a4:\
0x81673a4: 0x11 save --F------ 0x0428 0x00000009\
0x81673ac: 0x11 save --F------ 0x0320 0x000001e2\
Execution stack at 0x815f9f8:\
0x8168d0c: 0x0f oper --F---e-- 0x0000 0x08071440 = %interp_exit\
0x8168d14: 0x12 str  --F-rxe-- 0x0000 0x00000000 = \
0x8168d1c: 0x03 file --L-rxe-- 0x0001 0x08170548\
0x8168d24: 0x0e null --F---e-- 0x0000 0x0807d9d0\
0x8168d2c: 0x03 file --S-rxe-- 0x0001 0x08163270\
0x8168d34: 0x0f oper --F---e-- 0x0000 0x0807d980 = %runexec_finish\
0x8168d3c: 0x03 file --S-rxe-- 0x0001 0x08163270\
0x8168d44: 0x05 mpry --G-rxe-- 0x000a 0x081ae9a0\
0x8168d4c: 0x05 mpry --G-rxe-- 0x0039 0x0819f1ae\
Dictionary stack at 0x815f920:\
0x816953c: 0x02 dict --Gwrx--- 0x0000 0x0816968c\
0x8169544: 0x02 dict --Gwrx--- 0x0000 0x081ae3f4\
0x816954c: 0x02 dict --Lwrx--- 0x0000 0x0816e590\                

Finally in the path /var/spool/fax/docq the corresponding file contains
my originally Postscript code wrapt in more Postscript. (By the way,
which tool generates those files anyway).

So what is wrong here?

Cheers Ralf!
-- 
------------------------------------------
ECRC Network Services GmbH
e-mail : ralf@ecrc.de
Tel.: 089/92699-259
------------------------------------------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 8 Jul 1998 08:56:04 +0100
To: Ralf Graefe <ralf.graefe@ecrc.de>, flexfax@sgi.com
From: Randy Kochis <randy@housing.sdsu.edu>
Subject: Re: flexfax: Problems sending Postscript with faxmail
Sender: owner-flexfax@celestial.com

Why not just pipe the postscript file to sendfax at the end of the perl script?

At 9:21 AM +0100 7/8/98, Ralf Graefe wrote:
>Hi there,
>
>ref.: Hylafax v 4.0pl2 On Linux kernel 2.0.33
>I want to EMail a Perl generated Postscript file with sendmail using
>faxmail. I already printed it and also send it with sendfax without
>problems so the Postscript code should be ok.
>
>I also can send several other Postscript files with faxmail without
>problems. For sending I used the Perl MIME-tools and the Netscape
>Communicator mail client as well. In the source of faxmail I saw that it
>only looks for the MIME-type that was equally set correctly in ALL
>tests.
>
>So what is actually happening?:
>
>First I see the following message in /var/log/messages:
>
>Jul  8 10:10:59 wintermute FaxQueuer[2876]: NOTIFY: bin/notify
>"doneq/q72" "no_formatter" ""
>
>
>
>In the path /var/spool/fax/doneq I then have a file containing the
>following error messages:
>
>
>commid:
>status:Unrecoverable error: invalidrestore in restore\
>Operand stack:\
>    --nostringval--  --nostringval--\
>\
>Unexpected interpreter error -11.\
>Error object: (f80)op(37:restore)0x805e410\
>Operand stack at 0x815f9a4:\
>0x81673a4: 0x11 save --F------ 0x0428 0x00000009\
>0x81673ac: 0x11 save --F------ 0x0320 0x000001e2\
>Execution stack at 0x815f9f8:\
>0x8168d0c: 0x0f oper --F---e-- 0x0000 0x08071440 = %interp_exit\
>0x8168d14: 0x12 str  --F-rxe-- 0x0000 0x00000000 = \
>0x8168d1c: 0x03 file --L-rxe-- 0x0001 0x08170548\
>0x8168d24: 0x0e null --F---e-- 0x0000 0x0807d9d0\
>0x8168d2c: 0x03 file --S-rxe-- 0x0001 0x08163270\
>0x8168d34: 0x0f oper --F---e-- 0x0000 0x0807d980 = %runexec_finish\
>0x8168d3c: 0x03 file --S-rxe-- 0x0001 0x08163270\
>0x8168d44: 0x05 mpry --G-rxe-- 0x000a 0x081ae9a0\
>0x8168d4c: 0x05 mpry --G-rxe-- 0x0039 0x0819f1ae\
>Dictionary stack at 0x815f920:\
>0x816953c: 0x02 dict --Gwrx--- 0x0000 0x0816968c\
>0x8169544: 0x02 dict --Gwrx--- 0x0000 0x081ae3f4\
>0x816954c: 0x02 dict --Lwrx--- 0x0000 0x0816e590\
>
>Finally in the path /var/spool/fax/docq the corresponding file contains
>my originally Postscript code wrapt in more Postscript. (By the way,
>which tool generates those files anyway).
>
>So what is wrong here?
>
>Cheers Ralf!
>--
>------------------------------------------
>ECRC Network Services GmbH
>e-mail : ralf@ecrc.de
>Tel.: 089/92699-259
>------------------------------------------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 08 Jul 1998 12:55:11 +0200
From: Michael Agbaglo <byteshifter@cadac.de>
Organization: CADAC GmbH
To: flexfax@sgi.com
Subject: flexfax: pagermap trouble
Sender: owner-flexfax@celestial.com

why doesn't get /\1 substituted with the pin I entered (e.g. sendpage -p
quix22222222) ?


pagermap:
^quix([0-9]+)   01661-/\1
(.*)d2          01722278020
.*              reject


faxstat -s
JID  Pri S  Owner Number       Pages Dials     TTS Status
23   126 S   root 01661-        0:0   1:12   11:24 Busy signal detected

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
X-Envelope-To: <flexfax@sgi.com>
Date: Wed, 8 Jul 1998 13:26:31 -0400 (EDT)
From: Josh Duncan <duncan@msmd.com>
To: flexfax@sgi.com
Subject: flexfax: fax receipt... postprocessing command?
Sender: owner-flexfax@celestial.com


Helo all,

I have a question about the hylafax software:

is it possible to specify some kind of exit-command, something that says,
for example, when were done recieving this fax, copy it into directory
xxyyzz?

(trying to set up web interface to faxing and this would work better than
my crontabbing some shell script(if this can be done then i could just run
the shell script on every incoming fax when its been recieved :)

thanks in advance for any help advice ideas or suggestions you can offer
me,
Josh

----
Josh Duncan
duncan@msmd.org

God's like Comet(TM), nothing cleans better.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 9 Jul 1998 12:22:53 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Josh Duncan <duncan@msmd.com>
cc: flexfax@sgi.com
Subject: Re: flexfax: fax receipt... postprocessing command?
Sender: owner-flexfax@celestial.com

On Wed, 8 Jul 1998, Josh Duncan wrote:

> is it possible to specify some kind of exit-command, something that says,
> for example, when were done recieving this fax, copy it into directory
> xxyyzz?

Modify the script file /var/spool/fax/bin/faxrcvd.
--
Jonathan Chen <jonc@pinnacle.co.nz>
--------------------------------------------------------------------
The Internet: an empirical test of the idea that a million monkeys
              banging on a million keyboards can produce Shakespeare

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 08 Jul 1998 16:12:03 -0700
To: flexfax@sgi.com
From: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Subject: flexfax: Email gateway using Sendmail
Sender: owner-flexfax@celestial.com

Hi.

I've got sendmail 8.8.7, hylafax-v4.0pl2, RedHat 5.1, kernel 2.0.34

I've edited sendmail.cf and I can send faxes to predefined users in /etc/aliases.

How do I get it working so that I can fax via email to user@faxnumber.fax ?
When I try this,  sendmail complains about no domainname "fax".


Here is a copy of sendmail.cf .  Any help is greatly appreciated!
To see the changes I put in for this, search for Martin


Martin
mdean@crdgh.hnet.bc.ca



#### sendmail.cf ####################3
#
# Copyright (c) 1983, 1995 Eric P. Allman
# Copyright (c) 1988, 1993
#	The Regents of the University of California.  All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#	This product includes software developed by the University of
#	California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

######################################################################
######################################################################
#####
#####		SENDMAIL CONFIGURATION FILE
#####
##### built by root@porky.redhat.com on Tue May 5 19:34:16 EDT 1998
##### in /usr/src/bs/BUILD/sendmail-8.8.7/cf/cf
##### using ../ as configuration include directory
#####
######################################################################
######################################################################

#####  @(#)cfhead.m4	8.9 (Berkeley) 1/18/97  #####
#####  @(#)cf.m4	8.24 (Berkeley) 8/16/95  #####






#####  @(#)redirect.m4	8.5 (Berkeley) 8/17/96  #####


#####  @(#)always_add_domain.m4	8.1 (Berkeley) 6/7/93  #####


#####  @(#)use_cw_file.m4	8.1 (Berkeley) 6/7/93  #####



#####  @(#)local_procmail.m4	8.6 (Berkeley) 10/20/96  #####




#####  @(#)check_mail.m4	3.3 (Claus Assmann) 1997-08-05  #####





#####  @(#)use_ip.m4	1.0 (Claus Assmann) 1996-11-23  #####


#####  @(#)use_names.m4	1.0 (Claus Assmann) 1996-11-23  #####


#####  @(#)use_relayto.m4	1.0 (Claus Assmann) 1996-11-23  #####


#####  @(#)check_rcpt4.m4	2.4 (Claus Assmann) 1997-08-28  #####



#####  @(#)check_relay.m4	3.0 (Claus Assmann) 1997-06-01  #####





#####  @(#)proto.m4	8.151 (Berkeley) 7/31/97  #####


# level 7 config file format
V7/Berkeley

##################
#   local info   #
##################

Cwlocalhost
# file containing names of hosts for which we receive email
Fw/etc/sendmail.cw

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM


CP.

# "Smart" relay host (may be null)
DS

# place to which unknown users should be forwarded
#Kuser user -m -a<>
#DLname_of_luser_relay

# operators that cannot be in local usernames (i.e., network indicators)
CO @ % !

# a class with just dot (for identifying canonical names)
C..

# a class with just a left bracket (for identifying domain literals)
C[[

# Mailer table (overriding domains)
#Kmailertable dbm /etc/mailertable

# Domain table (adding domains)
#Kdomaintable dbm /etc/domaintable

# Generics table (mapping outgoing addresses)
#Kgenerics dbm /etc/genericstable

# Virtual user table (maps incoming users)
#Kvirtuser dbm /etc/virtusertable

# who I send unqualified names to (null means deliver locally)
DR

# who gets all local email traffic ($R has precedence for unqualified names)
DH

# dequoting map
Kdequote dequote

# class E: names that should be exposed as from this host, even if we masquerade
# class L: names that should be delivered locally, even if we have a relay
# class M: domains that should be converted to $M
#CL root
CE root

# who I masquerade as (null for no masquerading) (see also $=M)
DM

# my name for error messages
DnMAILER-DAEMON


CPREDIRECT

# file containing full e-mail addresses of spammers (for check_mail):
# spammer@address.domain "Error-Code Error-Text"
# or junk domains (for check_mail, check_relay):
# junk.domain  "Error-Code Error-Text"
# or IP addresses (for check_relay):
# D.X.Y.Z "Error-Code Error-Text"
# C.X.Y "Error-Code Error-Text"
# B.X "Error-Code Error-Text"
# A "Error-Code Error-Text"
Kjunk hash -a@JUNK /etc/mail/deny




# file containing IP numbers of machines which can use our relay
F{LocalIP} /etc/mail/ip_allow

# file containing names of machines which can use our relay
F{LocalNames} /etc/mail/name_allow

# file containing names we relay to
F{RelayTo} /etc/mail/relay_allow



# Configuration version number
DZ8.8.7


###############
#   Options   #
###############

# strip message body to 7 bits on input?
O SevenBitInput=False

# 8-bit data handling
O EightBitMode=pass8


# wait for alias file rebuild (default units: minutes)
O AliasWait=10

# location of alias file
O AliasFile=/etc/aliases

# minimum number of free blocks on filesystem
O MinFreeBlocks=100

# maximum message size
#O MaxMessageSize=1000000

# substitution for space (blank) characters
O BlankSub=.

# avoid connecting to "expensive" mailers on initial submission?
O HoldExpensive=False

# checkpoint queue runs after every N successful deliveries
#O CheckpointInterval=10

# default delivery mode
O DeliveryMode=background

# automatically rebuild the alias database?
#O AutoRebuildAliases

# error message header/file
#O ErrorHeader=/etc/sendmail.oE

# error mode
#O ErrorMode=print

# save Unix-style "From_" lines at top of header?
#O SaveFromLine

# temporary file mode
O TempFileMode=0600

# match recipients against GECOS field?
#O MatchGECOS

# maximum hop count
#O MaxHopCount=17

# location of help file
O HelpFile=/usr/lib/sendmail.hf

# ignore dots as terminators in incoming messages?
#O IgnoreDots

# name resolver options
#O ResolverOptions=+AAONLY

# deliver MIME-encapsulated error messages?
O SendMimeErrors=True

# Forward file search path
O ForwardPath=$z/.forward.$w:$z/.forward

# open connection cache size
O ConnectionCacheSize=2

# open connection cache timeout
O ConnectionCacheTimeout=5m

# persistent host status directory
#O HostStatusDirectory=.hoststat

# single thread deliveries (requires HostStatusDirectory)?
#O SingleThreadDelivery

# use Errors-To: header?
O UseErrorsTo=False

# log level
O LogLevel=9

# send to me too, even in an alias expansion?
#O MeToo

# verify RHS in newaliases?
O CheckAliases=False

# default messages to old style headers if no special punctuation?
O OldStyleHeaders=True

# SMTP daemon options
#O DaemonPortOptions=Port=esmtp

# privacy flags
O PrivacyOptions=authwarnings

# who (if anyone) should get extra copies of error messages
#O PostMasterCopy=Postmaster

# slope of queue-only function
#O QueueFactor=600000

# queue directory
O QueueDirectory=/var/spool/mqueue

# timeouts (many of these)
#O Timeout.initial=5m
#O Timeout.connect=5m
#O Timeout.iconnect=5m
#O Timeout.helo=5m
#O Timeout.mail=10m
#O Timeout.rcpt=1h
#O Timeout.datainit=5m
#O Timeout.datablock=1h
#O Timeout.datafinal=1h
#O Timeout.rset=5m
#O Timeout.quit=2m
#O Timeout.misc=2m
#O Timeout.command=1h
#O Timeout.ident=30s
#O Timeout.fileopen=60s
O Timeout.queuereturn=5d
#O Timeout.queuereturn.normal=5d
#O Timeout.queuereturn.urgent=2d
#O Timeout.queuereturn.non-urgent=7d
O Timeout.queuewarn=4h
#O Timeout.queuewarn.normal=4h
#O Timeout.queuewarn.urgent=1h
#O Timeout.queuewarn.non-urgent=12h
#O Timeout.hoststatus=30m

# should we not prune routes in route-addr syntax addresses?
#O DontPruneRoutes

# queue up everything before forking?
O SuperSafe=True

# status file
O StatusFile=/var/log/sendmail.st

# time zone handling:
#  if undefined, use system default
#  if defined but null, use TZ envariable passed in
#  if defined and non-null, use that info
#O TimeZoneSpec=

# default UID (can be username or userid:groupid)
O DefaultUser=8:12

# list of locations of user database file (null means no lookup)
#O UserDatabaseSpec=/etc/userdb

# fallback MX host
#O FallbackMXhost=fall.back.host.net

# if we are the best MX host for a site, try it directly instead of config err
#O TryNullMXList

# load average at which we just queue messages
#O QueueLA=8

# load average at which we refuse connections
#O RefuseLA=12

# maximum number of children we allow at one time
#O MaxDaemonChildren=12

# maximum number of new connections per second
#O ConnectionRateThrottle=3

# work recipient factor
#O RecipientFactor=30000

# deliver each queued job in a separate process?
#O ForkEachJob

# work class factor
#O ClassFactor=1800

# work time factor
#O RetryFactor=90000

# shall we sort the queue by hostname first?
#O QueueSortOrder=priority

# minimum time in queue before retry
#O MinQueueAge=30m

# default character set
#O DefaultCharSet=iso-8859-1

# service switch file (ignored on Solaris, Ultrix, OSF/1, others)
#O ServiceSwitchFile=/etc/service.switch

# hosts file (normally /etc/hosts)
#O HostsFile=/etc/hosts

# dialup line delay on connection failure
#O DialDelay=10s

# action to take if there are no recipients in the message
#O NoRecipientAction=add-to-undisclosed

# chrooted environment for writing to files
#O SafeFileEnvironment=/arch

# are colons OK in addresses?
#O ColonOkInAddr

# how many jobs can you process in the queue?
#O MaxQueueRunSize=10000

# shall I avoid expanding CNAMEs (violates protocols)?
#O DontExpandCnames

# SMTP initial login message (old $e macro)
O SmtpGreetingMessage=$j Sendmail $v/$Z; $b

# UNIX initial From header format (old $l macro)
O UnixFromLine=From $g  $d

# delimiter (operator) characters (old $o macro)
O OperatorChars=.:%@!^/[]+

# shall I avoid calling initgroups(3) because of high NIS costs?
#O DontInitGroups

# are group-writable :include: and .forward files (un)trustworthy?
#O UnsafeGroupWrites

# where do errors that occur when sending errors get sent?
#O DoubleBounceAddress

# what user id do we assume for the majority of the processing?
#O RunAsUser=sendmail

###########################
#   Message precedences   #
###########################

Pfirst-class=0
Pspecial-delivery=100
Plist=-30
Pbulk=-60
Pjunk=-100

#####################
#   Trusted users   #
#####################

# this is equivalent to setting class "t"
#Ft/etc/sendmail.ct
Troot
Tdaemon
Tuucp

#########################
#   Format of headers   #
#########################

H?P?Return-Path: <$g>
HReceived: $?sfrom $s $.$?_($?s$|from $.$_)
	$.by $j ($v/$Z)$?r with $r$. id $i$?u
	for $u; $|;
	$.$b
H?D?Resent-Date: $a
H?D?Date: $a
H?F?Resent-From: $?x$x <$g>$|$g$.
H?F?From: $?x$x <$g>$|$g$.
H?x?Full-Name: $x
# HPosted-Date: $a
# H?l?Received-Date: $b
H?M?Resent-Message-Id: <$t.$i@$j>
H?M?Message-Id: <$t.$i@$j>
#
######################################################################
######################################################################
#####
#####			REWRITING RULES
#####
######################################################################
######################################################################

############################################
###  Ruleset 3 -- Name Canonicalization  ###
############################################
S3

# handle null input (translate to <@> special case)
R$@			$@ <@>

# strip group: syntax (not inside angle brackets!) and trailing semicolon
R$*			$: $1 <@>			mark addresses
R$* < $* > $* <@>	$: $1 < $2 > $3			unmark <addr>
R@ $* <@>		$: @ $1				unmark @host:...
R$* :: $* <@>		$: $1 :: $2			unmark node::addr
R:include: $* <@>	$: :include: $1			unmark :include:...
R$* [ $* : $* ] <@>	$: $1 [ $2 : $3 ]		unmark IPv6 addrs
R$* : $* [ $* ]		$: $1 : $2 [ $3 ] <@>		remark if leading colon
R$* : $* <@>		$: $2				strip colon if marked
R$* <@>			$: $1				unmark
R$* ;			   $1				strip trailing semi
R$* < $* ; >		   $1 < $2 >			bogus bracketed semi

# null input now results from list:; syntax
R$@			$@ :; <@>

# strip angle brackets -- note RFC733 heuristic to get innermost item
R$*			$: < $1 >			housekeeping <>
R$+ < $* >		   < $2 >			strip excess on left
R< $* > $+		   < $1 >			strip excess on right
R<>			$@ < @ >			MAIL FROM:<> case
R< $+ >			$: $1				remove housekeeping <>

# make sure <@a,@b,@c:user@d> syntax is easy to parse -- undone later
R@ $+ , $+		@ $1 : $2			change all "," to ":"

# localize and dispose of route-based addresses
R@ $+ : $+		$@ $>96 < @$1 > : $2		handle <route-addr>

# find focus for list syntax
R $+ : $* ; @ $+	$@ $>96 $1 : $2 ; < @ $3 >	list syntax
R $+ : $* ;		$@ $1 : $2;			list syntax

# find focus for @ syntax addresses
R$+ @ $+		$: $1 < @ $2 >			focus on domain
R$+ < $+ @ $+ >		$1 $2 < @ $3 >			move gaze right
R$+ < @ $+ >		$@ $>96 $1 < @ $2 >		already canonical

# do some sanity checking
R$* < @ $* : $* > $*	$1 < @ $2 $3 > $4		nix colons in addrs

# convert old-style addresses to a domain-based address
R$- ! $+		$@ $>96 $2 < @ $1 .UUCP >	resolve uucp names
R$+ . $- ! $+		$@ $>96 $3 < @ $1 . $2 >		domain uucps
R$+ ! $+		$@ $>96 $2 < @ $1 .UUCP >	uucp subdomains

# if we have % signs, take the rightmost one
R$* % $*		$1 @ $2				First make them all @s.
R$* @ $* @ $*		$1 % $2 @ $3			Undo all but the last.
R$* @ $*		$@ $>96 $1 < @ $2 >		Insert < > and finish

# else we must be a local name
R$*			$@ $>96 $1

# Start: aded by Martin Dean for faxing
# and arrange things so that rule set 3 will not attempt a host map lookup
# on FAX addresses.  If you are using the .cf file generated by the
# m4 macros as your starting point (as implemented in sendmail 8.8.8),
# this can be done by adding these lines:
#
# # Make FAX a pseudo domain, to avoid failed DNS lookups
CPFAX

# End: aded by Martin Dean for faxing

################################################
###  Ruleset 96 -- bottom half of ruleset 3  ###
################################################

S96

# handle special cases for local names
R$* < @ localhost > $*		$: $1 < @ $j . > $2		no domain at all
R$* < @ localhost . $m > $*	$: $1 < @ $j . > $2		local domain
R$* < @ localhost . UUCP > $*	$: $1 < @ $j . > $2		.UUCP domain
R$* < @ [ $+ ] > $*		$: $1 < @@ [ $2 ] > $3		mark [a.b.c.d]
R$* < @@ $=w > $*		$: $1 < @ $j . > $3		self-literal
R$* < @@ $+ > $*		$@ $1 < @ $2 > $3		canon IP addr

# look up domains in the domain table
#R$* < @ $+ > $* 		$: $1 < @ $(domaintable $2 $) > $3






# if really UUCP, handle it immediately

# try UUCP traffic as a local address
R$* < @ $+ . UUCP > $*		$: $1 < @ $[ $2 $] . UUCP . > $3
R$* < @ $+ . . UUCP . > $*		$@ $1 < @ $2 . > $3

# pass to name server to make hostname canonical
R$* < @ $* $~P > $*		$: $1 < @ $[ $2 $3 $] > $4

# local host aliases and pseudo-domains are always canonical
R$* < @ $=w > $*		$: $1 < @ $2 . > $3
R$* < @ $j > $*			$: $1 < @ $j . > $2
R$* < @ $=M > $*		$: $1 < @ $2 . > $3
R$* < @ $* $=P > $*		$: $1 < @ $2 $3 . > $4
R$* < @ $* . . > $*		$1 < @ $2 . > $3


##################################################
###  Ruleset 4 -- Final Output Post-rewriting  ###
##################################################
S4

R$* <@>			$@				handle <> and list:;

# strip trailing dot off possibly canonical name
R$* < @ $+ . > $*	$1 < @ $2 > $3

# eliminate internal code -- should never get this far!
R$* < @ *LOCAL* > $*	$1 < @ $j > $2

# externalize local domain info
R$* < $+ > $*		$1 $2 $3			defocus
R@ $+ : @ $+ : $+	@ $1 , @ $2 : $3		<route-addr> canonical
R@ $*			$@ @ $1				... and exit

# UUCP must always be presented in old form
R$+ @ $- . UUCP		$2!$1				u@h.UUCP => h!u

# delete duplicate local names
R$+ % $=w @ $=w		$1 @ $2				u%host@host => u@host



##############################################################
###   Ruleset 97 -- recanonicalize and call ruleset zero   ###
###		   (used for recursive calls)		   ###
##############################################################

S97
R$*			$: $>3 $1
R$*			$@ $>0 $1


######################################
###   Ruleset 0 -- Parse Address   ###
######################################

S0

R$*			$: $>Parse0 $1		initial parsing
R$*			$: $>98 $1		handle local hacks
R$*			$: $>Parse1 $1		final parsing

SParse0
R<@>			$#local $: <@>		special case error msgs
R$* : $* ; <@>		$#error $@ 5.1.3 $: "list:; syntax illegal for recipient addresses"
R<@ $+>			$#error $@ 5.1.1 $: "user address required"
R$*			$: <> $1
R<> $* < @ [ $+ ] > $*	$1 < @ [ $2 ] > $3
R<> $* <$* : $* > $*	$#error $@ 5.1.1 $: "colon illegal in host name part"
R<> $*			$1
R$* < @ . $* > $*	$#error $@ 5.1.2 $: "invalid host name"
R$* < @ $* .. $* > $*	$#error $@ 5.1.2 $: "invalid host name"

# handle numeric address spec
R$* < @ [ $+ ] > $*	$: $>98 $1 < @ [ $2 ] > $3	numeric internet spec
R$* < @ [ $+ ] > $*	$#esmtp $@ [$2] $: $1 < @ [$2] > $3	still numeric: send

# now delete the local info -- note $=O to find characters that cause forwarding
R$* < @ > $*		$@ $>Parse0 $>3 $1		user@ => user
R< @ $=w . > : $*	$@ $>Parse0 $>3 $2		@here:... -> ...
R$- < @ $=w . >		$: $(dequote $1 $) < @ $2 . >	dequote "foo"@here
R< @ $+ >		$#error $@ 5.1.1 $: "user address required"
R$* $=O $* < @ $=w . >	$@ $>Parse0 $>3 $1 $2 $3	...@here -> ...

SParse1
# handle virtual users
#R$+ < @ $=w . > 	$: < $(virtuser $1 @ $2 $@ $1 $: @ $) > $1 < @ $2 . >
#R<@> $+ + $* < @ $* . >
			$: < $(virtuser $1 + * @ $3 $@ $1 $: @ $) > $1 + $2 < @ $3 . >
#R<@> $+ + $* < @ $* . >
			$: < $(virtuser $1 @ $3 $@ $1 $: @ $) > $1 + $2 < @ $3 . >
#R<@> $+ < @ $+ . >	$: < $(virtuser @ $2 $@ $1 $: @ $) > $1 < @ $2 . >
#R<@> $+			$: $1
#R< error : $- $+ > $* 	$#error $@ $( dequote $1 $) $: $2
#R< $+ > $+ < @ $+ >	$: $>97 $1

# short circuit local delivery so forwarded email works
#R$+ . USENET < @ $=w . >	$#usenet $: $1		handle usenet specially
R$=L < @ $=w . >	$#local $: @ $1		special local names
R$+ < @ $=w . >		$#local $: $1			regular local name

# not local -- try mailer table lookup
#R$* <@ $+ > $*		$: < $2 > $1 < @ $2 > $3	extract host name
#R< $+ . > $*		$: < $1 > $2			strip trailing dot
#R< $+ > $*		$: < $(mailertable $1 $) > $2	lookup
#R< $~[ : $+ > $* 	$>95 < $1 : $2 > $3		check -- resolved?
#R< $+ > $*		$: $>90 <$1> $2			try domain

# resolve remotely connected UUCP links (if any)

# resolve fake top level domains by forwarding to other hosts



# pass names that still have a host to a smarthost (if defined)
R$* < @ $* > $*		$: $>95 < $S > $1 < @ $2 > $3	glue on smarthost name

# deal with other remote names
R$* < @$* > $*		$#esmtp $@ $2 $: $1 < @ $2 > $3		user@host.domain

# if this is quoted, strip the quotes and try again
R$+			$: $(dequote $1 $)		strip quotes
R$+ $=O $+		$@ $>97 $1 $2 $3			try again

# handle locally delivered names
R$=L			$#local $: @ $1			special local names
R$+			$#local $: $1			regular local names


# start: added by Martin Dean for faxing
# add the following address rewriting rule to rule set 0:
#
# # forward FAX messages to HylaFAX software
 R$+<@$+.FAX>          $#fax $@ $2 $: $1               user@host.FAX
#
# end: added by Martin Dean for faxing

###########################################################################
###   Ruleset 5 -- special rewriting after aliases have been expanded   ###
###########################################################################

S5

# deal with plussed users so aliases work nicely
R$+ + *			$#local $@ $&h $: $1
R$+ + $*		$#local $@ + $2 $: $1 + *

# prepend an empty "forward host" on the front
R$+			$: <> $1

# send unrecognized local users to a relay host
#R< > $+ 		$: < $L . > $( user $1 $)	look up user
#R< $* > $+ <> $*	$: < > $2 $3			found; strip $L
#R< $* . > $+		$: < $1 > $2			strip extra dot

# see if we have a relay or a hub
R< > $+			$: < $H > $1			try hub
R< > $+			$: < $R > $1			try relay
R< > $+			$: < > < $1 $(dequote "" $&h $) >	nope, restore +detail
R< > < $+ + $* > $*	   < > < $1 > + $2 $3		find the user part
R< > < $+ > + $*	$#local $@ $2 $: @ $1		strip the extra +
R< > < $+ >		$@ $1				no +detail
R$+			$: $1 $(dequote "" $&h $)	add +detail back in
R< local : $* > $*	$: $>95 < local : $1 > $2	no host extension
R< error : $* > $*	$: $>95 < error : $1 > $2	no host extension
R< $- : $+ > $+		$: $>95 < $1 : $2 > $3 < @ $2 >
R< $+ > $+		$@ $>95 < $1 > $2 < @ $1 >

###################################################################
###  Ruleset 90 -- try domain part of mailertable entry 	###
###################################################################

S90
#R$* <$- . $+ > $*	$: $1$2 < $(mailertable .$3 $@ $1$2 $@ $2 $) > $4
#R$* <$~[ : $+ > $*		$>95 < $2 : $3 > $4	check -- resolved?
#R$* < . $+ > $* 		$@ $>90 $1 . <$2> $3	no -- strip & try again
#R$* < $* > $*		$: < $(mailertable . $@ $1$2 $) > $3	try "."
#R< $~[ : $+ > $*		$>95 < $1 : $2 > $3	"." found?
#R< $* > $*			$@ $2			no mailertable match

###################################################################
###  Ruleset 95 -- canonify mailer:[user@]host syntax to triple	###
###################################################################

S95
R< > $*				$@ $1			strip off null relay
R< error : $- $+ > $*		$#error $@ $( dequote $1 $) $: $2
R< local : $* > $*		$>CanonLocal < $1 > $2
R< $- : $+ @ $+ > $*<$*>$*	$# $1 $@ $3 $: $2<@$3>	use literal user
R< $- : $+ > $*			$# $1 $@ $2 $: $3	try qualified mailer
R< $=w > $*			$@ $2			delete local host
R< $+ > $*			$#relay $@ $1 $: $2	use unqualified mailer

###################################################################
###  Ruleset CanonLocal -- canonify local: syntax		###
###################################################################

SCanonLocal
# strip trailing dot from any host name that may appear
R< $* > $* < @ $* . >		$: < $1 > $2 < @ $3 >

# handle local: syntax -- use old user, either with or without host
R< > $* < @ $* > $*		$#local $@ $1@$2 $: $1
R< > $+				$#local $@ $1    $: $1

# handle local:user@host syntax -- ignore host part
R< $+ @ $+ > $* < @ $* >	$: < $1 > $3 < @ $4 >

# handle local:user syntax
R< $+ > $* <@ $* > $*		$#local $@ $2@$3 $: $1
R< $+ > $* 			$#local $@ $2    $: $1

###################################################################
###  Ruleset 93 -- convert header names to masqueraded form	###
###################################################################

S93

# handle generics database
#R$+ < @ $=G . >	$: < $1@$2 > $1 < @ $2 . > @	mark
#R$+ < @ *LOCAL* >	$: < $1@$j > $1 < @ *LOCAL* > @	mark
#R< $+ > $+ < $* > @	$: < $(generics $1 $: $) > $2 < $3 >
#R< > $+ < @ $+ > 	$: < $(generics $1 $: $) > $1 < @ $2 >
#R< $* @ $* > $* < $* >	$@ $>3 $1 @ $2			found qualified
#R< $+ > $* < $* >	$: $>3 $1 @ *LOCAL*		found unqualified
#R< > $*			$: $1				not found

# special case the users that should be exposed
R$=E < @ *LOCAL* >	$@ $1 < @ $j . >		leave exposed
R$=E < @ $=M . >	$@ $1 < @ $2 . >
R$=E < @ $=w . >	$@ $1 < @ $2 . >

# handle domain-specific masquerading
R$* < @ $=M . > $*	$: $1 < @ $2 . @ $M > $3	convert masqueraded doms
R$* < @ $=w . > $*	$: $1 < @ $2 . @ $M > $3
R$* < @ *LOCAL* > $*	$: $1 < @ $j . @ $M > $2
R$* < @ $+ @ > $*	$: $1 < @ $2 > $3		$M is null
R$* < @ $+ @ $+ > $*	$: $1 < @ $3 . > $4		$M is not null

###################################################################
###  Ruleset 94 -- convert envelope names to masqueraded form	###
###################################################################

S94
#R$+			$@ $>93 $1
R$* < @ *LOCAL* > $*	$: $1 < @ $j . > $2

###################################################################
###  Ruleset 98 -- local part of ruleset zero (can be null)	###
###################################################################

S98

# addresses sent to foo@host.REDIRECT will give a 551 error code
R$* < @ $+ .REDIRECT. >		$: $1 < @ $2 . REDIRECT . > < ${opMode} >
R$* < @ $+ .REDIRECT. > <i>	$: $1 < @ $2 . REDIRECT. >
R$* < @ $+ .REDIRECT. > < $- >	$# error $@ 5.1.1 $: "551 User has moved; please try " <$1@$2>



# check for junk domain/spammers
Sjunk
# lookup domain in database
R$*<@$+>		$:$1<@$(junk $2$)>
# exists? return
R$*<@$*@JUNK>		$@$1<@$2@JUNK>
# lookup address in database
R$*<@$+>		$:$1<@$(junk $1@$2 $:$2$)>
# exists? return
R$*<@$*@JUNK>		$@$1<@$2@JUNK>
# remove one subdomain, try again
R$*<@$-.$-.$+>		$: $>junk $1<@$3.$4>

Scheck_mail
# don't check these
R<$*@$=w>	$@ ok			shortcut
# idea from Steven Schultz
R<>		$: <$n @ $(dequote "" $&{client_name} $) >

# remove at least the dot...
R<$*@$*.>	<$1@$2>
R$*		$: $>3 $1			canonify
R$-		$@ ok
# no host without a . in the FQHN ?
R$*<@$->$*	$#error $@ 5.1.8 $: 551 invalid host name $2, check your configuration.
# lookup IP address (reverse mapping available?)
#R$*<@[$-.$-.$-.$-]>$*	$: $1 < @ $[ [ $2.$3.$4.$5 ] $] > $6 
# copy the result of the lookup
R$*		$:$1 $| $1
# now remove the dot
R$* $| $*<@$*.>$*	$: $1 $| $2<@$3>$4
# and check the database
R$* $| $*<@$*>$*	$: $1 $| $>junk $2<@$3>
# match: return given error code (rhs of map)
R$* $| $*<@$*@JUNK>$*	$#error $@ 5.7.1 $: $3
# restore original value (after canonicalization by ruleset 3)
R$* $| $*		$: $1
# this is dangerous! no real name
# (see RFC 1123,sections 5.2.2 and 5.2.18)
#R$*<@$*$~P>$*	$#error $@ 4.1.8 $: 451 unresolvable host name $2$3, check your setup.



Scheck_rcpt
# first: get client address
R$+			$: $(dequote "" $&{client_addr} $) $| $1
R0 $| $*		$@ ok		client_addr is 0 for sendmail -bs
R$={LocalIP}$* $| $*	$@ ok		from here
# next: get client name
R$* $| $+		$: $(dequote "" $&{client_name} $) $| $2
R $| $*			$@ ok		no client name: directly invoked
#R$- $| $*		$@ ok		for those without full DNS...
R$*$=w $| $*		$@ ok		from here
R$*$={LocalNames} $| $*	$@ ok		from allowed system
# now check other side
R$* $| $*		$: $>3 $2
# remove local part
R$*<@$+.>$*		$: $>remove_local $1<@$2.>$3
# still something left?
R$*<@$+>$*		$#error $@ 5.7.1 $: 551 we do not relay

Sremove_local
# remove RelayTo part (maybe repeatedly)
R$*<@$*$={RelayTo}.>$*		$>3 $1 $4
R$*<@$=w.>$*			$: $>remove_local $>3 $1 $3



SjunkIP
# lookup IP in database
# full IP address
R$-.$-.$-.$-	$: $(junk $1.$2.$3.$4 $)
# class C net
R$-.$-.$-.$-	$: $(junk $1.$2.$3 $: $1.$2.$3.$4 $)
# class B net
R$-.$-.$-.$-	$: $(junk $1.$2 $: $1.$2.$3.$4 $)
# class A net
R$-.$-.$-.$-	$: $(junk $1 $: $1.$2.$3.$4 $)

Scheck_relay
# check IP
R$+ $| $+	$: $1 $| $>junkIP $2
R$+ $| $*@JUNK	$#error $@ 5.7.1 $: $2
# check hostname
R$+ $| $+	$: $>junk <@$1>
R$*<@$*@JUNK>$*	$#error $@ 5.7.1 $: $2
#
######################################################################
######################################################################
#####
#####			MAILER DEFINITIONS
#####
######################################################################
######################################################################


######################*****##############
###   PROCMAIL Mailer specification   ###
##################*****##################

#####  @(#)procmail.m4	8.6 (Berkeley) 4/30/97  #####

Mprocmail,	P=/usr/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31, T=DNS/RFC822/X-Unix,
		A=procmail -Y -m $h $f $u

#####################################
###   SMTP Mailer specification   ###
#####################################

#####  @(#)smtp.m4	8.33 (Berkeley) 7/9/96  #####

Msmtp,		P=[IPC], F=mDFMuX, S=11/31, R=21, E=\r\n, L=990,
		T=DNS/RFC822/SMTP,
		A=IPC $h
Mesmtp,		P=[IPC], F=mDFMuXa, S=11/31, R=21, E=\r\n, L=990,
		T=DNS/RFC822/SMTP,
		A=IPC $h
Msmtp8,		P=[IPC], F=mDFMuX8, S=11/31, R=21, E=\r\n, L=990,
		T=DNS/RFC822/SMTP,
		A=IPC $h
Mrelay,		P=[IPC], F=mDFMuXa8, S=11/31, R=61, E=\r\n, L=2040,
		T=DNS/RFC822/SMTP,
		A=IPC $h

#
#  envelope sender rewriting
#
S11
R$+			$: $>51 $1			sender/recipient common
R$* :; <@>		$@				list:; special case
R$*			$: $>61 $1			qualify unqual'ed names
R$+			$: $>94 $1			do masquerading


#
#  envelope recipient rewriting --
#  also header recipient if not masquerading recipients
#
S21
R$+			$: $>51 $1			sender/recipient common
R$+			$: $>61 $1			qualify unqual'ed names


#
#  header sender and masquerading header recipient rewriting
#
S31
R$+			$: $>51 $1			sender/recipient common
R:; <@>			$@				list:; special case

# do special header rewriting
R$* <@> $*		$@ $1 <@> $2			pass null host through
R< @ $* > $*		$@ < @ $1 > $2			pass route-addr through
R$*			$: $>61 $1			qualify unqual'ed names
R$+			$: $>93 $1			do masquerading


#
#  convert pseudo-domain addresses to real domain addresses
#
S51

# pass <route-addr>s through
R< @ $+ > $*		$@ < @ $1 > $2			resolve <route-addr>

# output fake domains as user%fake@relay

# do UUCP heuristics; note that these are shared with UUCP mailers
R$+ < @ $+ .UUCP. >	$: < $2 ! > $1			convert to UUCP form
R$+ < @ $* > $*		$@ $1 < @ $2 > $3		not UUCP form

# leave these in .UUCP form to avoid further tampering
R< $&h ! > $- ! $+	$@ $2 < @ $1 .UUCP. >
R< $&h ! > $-.$+ ! $+	$@ $3 < @ $1.$2 >
R< $&h ! > $+		$@ $1 < @ $&h .UUCP. >
R< $+ ! > $+		$: $1 ! $2 < @ $Y >		use UUCP_RELAY
R$+ < @ $+ : $+ >	$@ $1 < @ $3 >			strip mailer: part
R$+ < @ >		$: $1 < @ *LOCAL* >		if no UUCP_RELAY


#
#  common sender and masquerading recipient rewriting
#
S61

R$* < @ $* > $*		$@ $1 < @ $2 > $3		already fully qualified
R$+			$@ $1 < @ *LOCAL* >		add local qualification


#
#  relay mailer header masquerading recipient rewriting
#
S71

R$+			$: $>61 $1
R$+			$: $>93 $1


##################################################
###   Local and Program Mailer specification   ###
##################################################

#####  @(#)local.m4	8.23 (Berkeley) 5/31/96  #####

Mlocal,		P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
		T=DNS/RFC822/X-Unix,
		A=procmail -Y -a $h -d $u
Mprog,		P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
		T=X-Unix,
		A=sh -c $u
# start Added by MD for faxing
Mfax, 		P=/usr/local/lib/fax/mailfax, F=DFMShu, M=100000,
       		A=mailfax $u $h $f

# End Added by MD for faxing
#
#  Envelope sender rewriting
#
S10
R<@>			$n			errors to mailer-daemon
R$+			$: $>50 $1		add local domain if needed
R$*			$: $>94 $1		do masquerading

#
#  Envelope recipient rewriting
#
S20
R$+ < @ $* >		$: $1			strip host part

#
#  Header sender rewriting
#
S30
R<@>			$n			errors to mailer-daemon
R$+			$: $>50 $1		add local domain if needed
R$*			$: $>93 $1		do masquerading

#
#  Header recipient rewriting
#
S40
R$+			$: $>50 $1		add local domain if needed
#R$*			$: $>93 $1		do all-masquerading

#
#  Common code to add local domain name (only if always-add-domain)
#
S50
R$* < @ $* > $* 	$@ $1 < @ $2 > $3		already fully qualified
R$+			$@ $1 < @ *LOCAL* >		add local qualification

### End of sendmail.cf


Thanks

please CC me directly with any info.
Martin

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 09 Jul 1998 09:32:16 +0200
From: Ralf Graefe <ralf.graefe@ecrc.de>
Organization: ecrc
To: Martin Dean <martin.dean@crdgh.hnet.bc.ca>, flexfax@sgi.com
Subject: Re: flexfax: Email gateway using Sendmail
Sender: owner-flexfax@celestial.com

Martin Dean wrote:
> 
> Hi.
> 
> I've got sendmail 8.8.7, hylafax-v4.0pl2, RedHat 5.1, kernel 2.0.34
> 
> I've edited sendmail.cf and I can send faxes to predefined users in /etc/aliases.
> 
> How do I get it working so that I can fax via email to user@faxnumber.fax ?
> When I try this,  sendmail complains about no domainname "fax".
> 
> Here is a copy of sendmail.cf .  Any help is greatly appreciated!
> To see the changes I put in for this, search for Martin
> 
> Martin
> mdean@crdgh.hnet.bc.ca
> 

> 

> 
> Thanks
> 
> please CC me directly with any info.
> Martin

HI Martin,

what you still need to do is to add a new mailer for fax. I did it like
this:

-------------start of sendmail.cf part
--------------------------------------

####################################
###   FAX Mailer specification   ###
####################################

Mfax,           P=/usr/bin/faxmail, F=DFMhu, S=14, R=24, M=100000,
T=X-Phone/X-FAX/X-Unix,
                A=faxmail -v -n -s a4 -d $u@$h $f 2>/var/log/faxlog 

-------------end of sendmail.cf part
----------------------------------------

put it close to the SMTP Mailer specification.

The Parameter P should include your path to the faxmail program and the
parameter A contains the program invocation commands. 

By the way, the easiest way for me to edit the sendmail.cf are the m4
macros. In this case you would only add a mailer "fax". But it leads to
a slightly different result than you see here (it didn't work on my
system).On my system (S.u.S.E. Linux 5.2) they are found in
/usr/share/sendmail. But when you installed sendmail via rpm you can
also find them typing:

rpm -ql sendmail | grep m4

The README there is really helpful.

Cheers,Ralf!   
-- 
------------------------------------------
ECRC Network Services GmbH
e-mail : ralf@ecrc.de
Tel.: 089/92699-259
------------------------------------------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: flexfax: Email gateway using Sendmail
To: martin.dean@crdgh.hnet.bc.ca (Martin Dean)
Date: Thu, 9 Jul 1998 23:14:18 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> I've got sendmail 8.8.7, hylafax-v4.0pl2, RedHat 5.1, kernel 2.0.34
> 
> I've edited sendmail.cf and I can send faxes to predefined users in /etc/aliases.

There are sendmail configuration macros which will do most if not all
the job for you.

> 
> How do I get it working so that I can fax via email to user@faxnumber.fax ?
> When I try this,  sendmail complains about no domainname "fax".

You inserted the rule into ruleset 0 after it had disposed of all
remote addresses.  The most logical place was the pseudo domains section,
although, for a user hack, ruleset 98 would probably have been better.

Next you inserted it into a configuration file created by the macro
configuration process, not into a minimal file.  The previous processing
had appended a "." which would only be removed if mailertable processing
were enabled.  (The . is actually the result of CPfax, and prevents the
DNS lookup being done; NB CP is not understood by the underlying rule
processing engine, only by the actual rules in the file.)

Finally you had a spurious initial space, and had spaces, instead of tabs,
between the various parts of the rule line.

This a sendmail -bt on your configuration:

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> 3,0 fred@9999.fax
rewrite: ruleset   3   input: fred @ 9999 . fax
rewrite: ruleset  96   input: fred < @ 9999 . fax >
rewrite: ruleset  96 returns: fred < @ 9999 . fax . >
rewrite: ruleset   3 returns: fred < @ 9999 . fax . >
rewrite: ruleset   0   input: fred < @ 9999 . fax . >
rewrite: ruleset 199   input: fred < @ 9999 . fax . >
rewrite: ruleset 199 returns: fred < @ 9999 . fax . >
rewrite: ruleset  98   input: fred < @ 9999 . fax . >
rewrite: ruleset  98 returns: fred < @ 9999 . fax . >
rewrite: ruleset 198   input: fred < @ 9999 . fax . >
rewrite: ruleset  95   input: < > fred < @ 9999 . fax . >
rewrite: ruleset  95 returns: fred < @ 9999 . fax . >
rewrite: ruleset 198 returns: $# esmtp $@ 9999 . fax . $: fred < @ 9999 . fax .
>
rewrite: ruleset   0 returns: $# esmtp $@ 9999 . fax . $: fred < @ 9999 . fax .

> 
> # resolve fake top level domains by forwarding to other hosts

  This is where the rule logically belongs
> 
> 
> 
> # pass names that still have a host to a smarthost (if defined)
> R$* < @ $* > $*		$: $>95 < $S > $1 < @ $2 > $3	glue on smarthost name

  This next rule starts messing things up.

> 
> # deal with other remote names
> R$* < @$* > $*		$#esmtp $@ $2 $: $1 < @ $2 > $3		user@host.domain

  And this one kills it.

  4 more rules follow before your:
> 
>  R$+<@$+.FAX>          $#fax $@ $2 $: $1               user@host.FAX

This is what you should have had, in the corrected context:

> R$+<@$+.FAX.>		$#fax $@ $2 $: $1		user@host.FAX

 in od -c format:

0000000   R   $   +   <   @   $   +   .   F   A   X   .   >  \t  \t   $
0000020   #   f   a   x       $   @       $   2       $   :       $   1
0000040  \t  \t   u   s   e   r   @   h   o   s   t   .   F   A   X  \n
0000060

and this is what sendmail -bt does when everything is repaired:

Enter <ruleset> <address>
> 3,0 fred@9999.fax
rewrite: ruleset   3   input: fred @ 9999 . fax
rewrite: ruleset  96   input: fred < @ 9999 . fax >
rewrite: ruleset  96 returns: fred < @ 9999 . fax . >
rewrite: ruleset   3 returns: fred < @ 9999 . fax . >
rewrite: ruleset   0   input: fred < @ 9999 . fax . >
rewrite: ruleset 199   input: fred < @ 9999 . fax . >
rewrite: ruleset 199 returns: fred < @ 9999 . fax . >
rewrite: ruleset  98   input: fred < @ 9999 . fax . >
rewrite: ruleset  98 returns: fred < @ 9999 . fax . >
rewrite: ruleset 198   input: fred < @ 9999 . fax . >
rewrite: ruleset 198 returns: $# fax $@ 9999 $: fred
rewrite: ruleset   0 returns: $# fax $@ 9999 $: fred

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 10 Jul 1998 09:34:12 -0700
To: David Woolley <david@djwhome.demon.co.uk>
From: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Subject: Re: flexfax: Email gateway using Sendmail
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

Thanks for the info! I really appreciated it.

I managed to solve it by editing the mc file and running m4 on it.

So, now I can send faxes to user@faxnumber.fax and to user@faxnumber.fax.mydomain.org. But, this can only be done on the system where hylafax resides!!

Is there anyway I can send mail from another system to my hylafax box?

If i send mail from another system to the address: user@faxnumber.fax.domainname.org, I get a bounced message saying host not found.



What's the trick to doing this. Is this a DNS issue or a sendmail issue ?



I've got sendmail 8.8.7, hylafax-v4.0pl2, RedHat 5.1, kernel 2.0.34. The remote system is AIX 4.2.

Any help is greatly appreciated!



Thanks 
Martin

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Tony Clark" <clark@rammail.ram.co.uk>
To: flexfax@sgi.com
Subject: flexfax: Mailing from another system to hylafax server
Date: Thu, 09 Jul 1998 11:51:42 -0700
From: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Reply-To: owner-flexfax-outbound@celestial.com
Sender: owner-flexfax@celestial.com

 Hi. Thanks to all who help me lately.  Here's another problem I'd really apreciated help with.
 
 I've got sendmail 8.8.7, hylafax-v4.0pl2, RedHat 5.1, kernel 2.0.34
 
 I've edited sendmail.cf (using m4 macros!) and I can send faxes to predefined users in /etc/aliases and user@5551212.fax.


When I send mail from the local system to user@5551212.fax it works great.

But, how can I send mail to my fax server from another system?

If I try to mail to: user@5551212.crncare.org it bounces back with user unknown! Which makes sense!

Is the trick to setup another domain called fax.crncare.org ? 

here is a copy of sendmail.cf file


What's the trick ?


############## Start of sendmail.mc ###################
divert(-1)
include(`../m4/cf.m4')
define(`confDEF_USER_ID',``8:12'')
define(`FAX_MAILER_ARGS', `faxmail -n -d $u@$h $f')
OSTYPE(`linux')
undefine(`UUCP_RELAY')
undefine(`BITNET_RELAY')
FEATURE(redirect)
FEATURE(always_add_domain)
FEATURE(use_cw_file)
FEATURE(local_procmail)
MAILER(procmail)
MAILER(smtp)
MAILER(fax)
HACK(check_mail3,`hash -a@JUNK /etc/mail/deny')
HACK(use_ip,`/etc/mail/ip_allow')
HACK(use_names,`/etc/mail/name_allow')
HACK(use_relayto,`/etc/mail/relay_allow')
HACK(check_rcpt4)
HACK(check_relay3)
################ End of sendmail.mc ###################

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: flexfax: Mailing from another system to hylafax server
To: martin.dean@crdgh.hnet.bc.ca (Martin Dean)
Date: Fri, 10 Jul 1998 08:51:05 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> 
> When I send mail from the local system to user@5551212.fax it works great.
> 
> But, how can I send mail to my fax server from another system?
> 
> If I try to mail to: user@5551212.crncare.org it bounces back with user unknown! Which makes sense!

[Re- wrapping to internet standards ]

* If I try to mail to: user@5551212.crncare.org it bounces back with user
* unknown! Which makes sense!
> 
> Is the trick to setup another domain called fax.crncare.org ? 
> 

No.  The correct solution is to configure all the other MTAs which need
this capability, so that they route the fax domain via the machine that
can handle .fax addresses.  The chances are that it would be sensible
to make this a smart host machine, anyway, so it might be sufficient to
just add CPfax on the other machines.  However, you could also add
a rule.  Look at the logic for BITNET in the macro generated code to see
how this is done.  (Define BITNET_RELAY, and compare the before and after
generated code.)

There are address structuring hacks to force routing, but I don't want to
expand on these here as the anti-spam logic you have may not protect against
all of them.

> here is a copy of sendmail.cf file
                            .mc

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: flexfax: Mailing from another system to hylafax server
To: martin.dean@crdgh.hnet.bc.ca (Martin Dean)
Date: Fri, 10 Jul 1998 09:00:02 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

PS I noticed that you had anti-spam code in the previous example of your
sendmail configuration.  If this has any check_rcpt rules that do DNS 
resolution on the destination address, you need to include rules
to explicitly bypass them for .fax addresses, if any .fax mail arrives
via SMTP (including Windows workstation mail programs).

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "hon hon" <hon@khh.atti.net.tw>
To: flexfax@sgi.com
Subject: flexfax: what's wrong ??
Date: Fri, 10 Jul 1998 02:47:32 GMT
X-MIME-Autoconverted: from 8bit to quoted-printable by sgi.sgi.com id TAA06684
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id HAA02588

Can anybody help me what's wrong ?
When I install Hylafax in my system it dispear below
My system is SUN Solaris 2.5.1 with Ultra Sparc II
HylaFAX version is hylafax-v4.0p12
CC is GCC 2.8.1
TIFF is tiff-v3.4beta035
I have installed TIFF before installing HylaFAX
Please help to tell me what I should.
Many thanks

I decompress the compressed file to a directory 
and then type #./configure
Then error occured below
=======START HERE=====================================
Checking system libraries for functionality to emulate.
... emulate flock
Done checking system libraries.

Checking TIFF support.

Incompatible/missing TIFF Library.

Compilation or execution of the following test program failed:

----------------------------------------------------------
#include "tiffio.h"
main()
{
    if (TIFFLIB_VERSION < 19960307) {     /* check include file
version */
        printf("old include files: version %u\n", TIFFLIB_VERSION);
        exit(-1);
    }
    if (strncmp(TIFFGetVersion(), "LIBTIFF, Version 3.4", 20) != 0) {
        printf("old library: version %s\n", TIFFGetVersion());
        exit(-1);
    } else
        exit(0);
}
----------------------------------------------------------

With:

TIFFINC=/usr/local/include
LIBTIFF=-L/usr/local/lib -ltiff

The above program checks the version of the TIFF library to ensure it
is suitable for use with HylaFAX.  HylaFAX v4.0pl2 requires a recent
TIFF software distribution; one distributed March 7, 1996 or later.
If
you do not have up to date TIFF software on your system then you can
retrieve it from the location where you obtained this software.
Otherwise, if you have the right software, verify that you have the
TIFFINC and LIBTIFF configuration parameters set correctly for your
system (see above) and that any environment variables are setup that
are needed to locate a libtiff DSO at runtime (e.g. LD_LIBRARY_PATH).
Also be sure that any relative pathnames are made relative to the top
of the build area.


Unrecoverable error!  Once you've corrected the problem rerun this
script.
#
=========END  HERE========================================

Hi

An[䤣 ?  ӧڪ HomePage }}p N
ڪ homepage : http://honlee.company.com.tw/

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 10 Jul 1998 09:20:32 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: hon hon <hon@khh.atti.net.tw>
Cc: flexfax@sgi.com
Subject: Re: flexfax: what's wrong ??
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 10 Jul 1998, hon hon wrote:

> Can anybody help me what's wrong ?
> When I install Hylafax in my system it dispear below
> My system is SUN Solaris 2.5.1 with Ultra Sparc II
> HylaFAX version is hylafax-v4.0p12
> CC is GCC 2.8.1
> TIFF is tiff-v3.4beta035
> I have installed TIFF before installing HylaFAX
> Please help to tell me what I should.
> Many thanks

I suspect that you are getting the TIFF from the Openwindows, rather than
the TIFF you just installed. Check for a LD_LIBRARY_PATH in your
shell environment, or set the TIFFLIB and TIFFINC in your config.local.

			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNaYVGz/+ItycgIJRAQEGqwP/SnkRrTzFUO72xi1w3KmVIlBlPgnL/KOD
8+GJH6pIsmy+duy/GRxlOr7vOWw33F6EVudpV6UDtMf/I86D9GVtEamHVKaZfXk1
zrKa7xkYb6JIc6J2twaWxRSqBJIxx73rSAVUca5TwJXlXAjEQPp5YhWv5JDQEtBm
BsRhAM2O7Tg=
=lJl5
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "hon hon" <hon@khh.atti.net.tw>
To: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
Cc: flexfax@sgi.com
Subject: Re: flexfax: what's wrong ??
Date: Sat, 11 Jul 1998 01:52:42 GMT
X-MIME-Autoconverted: from 8bit to quoted-printable by sgi.sgi.com id SAA25108
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id HAA04153

On Fri, 10 Jul 1998 09:20:32 -0400 (EDT), you wrote:

>> TIFF is tiff-v3.4beta035
>> I have installed TIFF before installing HylaFAX
>> Please help to tell me what I should.
>> Many thanks
>I suspect that you are getting the TIFF from the Openwindows, rather than
>the TIFF you just installed. Check for a LD_LIBRARY_PATH in your
>shell environment, or set the TIFFLIB and TIFFINC in your config.local.
Many many thanks for your reply
But you just said the mean problem
I use tcsh version tcsh 6.07.02 (Astron) 1996-10-27
(sparc-sun-solaris) options 8b,nls,dl,h
I have checked document about checking LD_LIBRARY_PATH
But I just don't know where to find it .
Can you please tell me where to find it and how to correct it ?
And you mean set the TIFFLIB and TIFFINC in your config.local.
How to do ?

Hi

An[䤣 ?  ӧڪ HomePage }}p N
ڪ homepage : http://honlee.company.com.tw/

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Sat, 11 Jul 1998 15:15:03 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: hon hon <hon@khh.atti.net.tw>
Cc: flexfax@sgi.com
Subject: Re: flexfax: what's wrong ??
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Sat, 11 Jul 1998, hon hon wrote:

> >I suspect that you are getting the TIFF from the Openwindows, rather than
> >the TIFF you just installed. Check for a LD_LIBRARY_PATH in your
> >shell environment, or set the TIFFLIB and TIFFINC in your config.local.
> Many many thanks for your reply
> But you just said the mean problem
> I use tcsh version tcsh 6.07.02 (Astron) 1996-10-27
> (sparc-sun-solaris) options 8b,nls,dl,h
> I have checked document about checking LD_LIBRARY_PATH
> But I just don't know where to find it .

Read the manual page on tcsh and csh, and then type this:

	printenv | grep LD_LIBRARY_PATH

This will reveal what it is set to. Then unset it with this:

	unsetenv LD_LIBRARY_PATH

And try running configure again.

> Can you please tell me where to find it and how to correct it ?
> And you mean set the TIFFLIB and TIFFINC in your config.local.
> How to do ?

Take a look at the config.local I have stashed in
	http://cirl.meei.harvard.edu/hylafax/sun/

for examples of how to do that, or read the "config.site" file in
your HylaFAX source code and edit the TIFFLIB and TIFFINC
to point to /usr/local/lib and /usr/local/include.

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNae5tD/+ItycgIJRAQF5QwP/RcaY9mCSvbWFMb04Vf8vJ4dj+MINhR6x
fab8Gc1A68ZYbOrB8iGIDH7IBZu0sOac40AOGJmQcky4j7WZza3YQ90lAIKiCo4N
+xTvOFLiqFaAt6HEpUHSWY9Hgn5IHO5oK/gYON2cCqijDPWhmRtehspEN/dF8r5E
EeD+JuQMXGY=
=dzVX
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 01 Jul 1998 20:19:08 +0200
From: Markus Hofmann <markus@tower.de>
To: flexfax@sgi.com
Subject: flexfax: Buttommargin at faxmailpages
Sender: owner-flexfax@celestial.com

Hello!

I use Hylafax 4pl2 on S.u.S.E. Linux 5.2 with ghostscript 4.03-10.
I installed it for a email to fax gateway.
I do this with faxmail in /etc/aliases:
faxtest:    "|/usr/bin/faxmail -d faxtest@1234567"
Problem:
The messagetext is located direct to the pagemargins (squeezed to left
and ends direct
after the last line). So I want to add some margins. I created
/usr/lib/fax/hyla.conf
and defined Pagemargins. Now the left side isn't squeezed anymore.
But there's no buttom margin (although defined). I think the buttom
margin is for text
that goes over more than one page. But how I could define some
conclusion linefeeds?
If the email itself contains some, faxmail generates a postscript with
some "B()S"'s
(i think that are linefeeds, but I don't know). But after faxed, there
is no buttommargin
(on the coverpage (or better between coverpage and mailpage) there is no
buttommargin, too).
When I test it with 'echo "test" | sendfax -d1234567' there is a
buttommargin (but not
with the size defined in hyla.conf).

thanx

Markus Hofmann <markus@tower.de>

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Comments: Authenticated sender is <ug201ex@mailin.lrz-muenchen.de>
From: "Florian Pahl" <ug201ex@mailin.lrz-muenchen.de>
To: flexfax@sgi.com
Date: Sun, 5 Jul 1998 18:00:43 +0000
Subject: flexfax: MS-Outlook as HylaFax Client
Sender: owner-flexfax@celestial.com

I would like to use HylaFax as a Fax Server, but there are several 
People here that use Windows 95 and would like to see there faxes
in the MS-Outlook Programm.
As far as I know MS-Outlook is keeping all Mails, Faxes etc. in a 
special File Format and you need something there called "Service" to 
import your faxes into Outlook...
Does anybody know how this can be done easily, or has anybody already 
written such a "Service", or am I totally wrong at all about that??

Thank you,

Florian Pahl

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Subject: flexfax: A Sporster Modem (or - modem init strings)
Date: Mon, 6 Jul 1998 16:16:29 +0300
From: "Itamar S.-T." <itamars@ibm.net>
To: <flexfax@sgi.com>
Sender: owner-flexfax@celestial.com

I'm trying to setup Hylafax 4.0pl1 on Linux with a USR Sportster modem.  
The most I can manage to do is have the modem answer, but it never 
recieves the fax - it just dies.  I've tried most of the config files 
included for USR modems.

Now, I know the init string (ATblahblahblah) needed to get the modem 
working correctly, since I used to use it to receive faxes on the mac.  I 
can't seem to find an way to add this to the config file for the modem.

So, how can I get the program to send a command on start up to the 
fax-modem without having to config all those commands line by line?  Or 
can somebody send me a working config file for USR Sportster (this a 
french model, so I can't find any firmware updates at the USR site.)

TIA.

-------------------------------------------------------------------
 Itamar S.-T.                                      itamars@ibm.net

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 09 Jul 1998 16:07:07 -0500
From: Dave Waller <dwaller@brodnet.com>
To: flexfax@sgi.com
Subject: flexfax: Waiting for Modem....
Sender: owner-flexfax@celestial.com

The good news (for Me)
I have sucessfully sent a fax!
The bad news:
That is all I have seen of the modem.

I am using HylaFAX-4_0pl1-1_i386.rpm and RedHat Linux 5.0
USR Sportster 28.8 internal (yea I know they suck!)

Now it just waits.
[dave@fax-server dave]$ faxstat
HylaFAX scheduler on fax-server: Running
Modem ttyS2 (+1.608.328.4271): Waiting for modem to come ready
[dave@fax-server dave]$

Any sugestions or FAQ on the sportspig would be super.

Dave Waller
Precision Drive and Control
Monroe Wi

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Alan Sparks" <asparks@nss.harris.com>
To: <owner-flexfax-outbound@celestial.com>, <flexfax@sgi.com>
Subject: Re: flexfax: Waiting for Modem....
Date: Fri, 10 Jul 1998 14:10:38 -0700
Sender: owner-flexfax@celestial.com

Are you running faxgetty?  As mentioned in the docs, faxgetty maintains
status info on the modems and feeds it back to faxq, as well as handling
incoming faxes.
If you're not running faxgetty, by all means set one up today.
Good luck.
-Alan

-----Original Message-----
From: Tony Clark <clark@rammail.ram.co.uk>; Dave Waller
<dwaller@brodnet.com>
To: flexfax@sgi.com <flexfax@sgi.com>
Date: Friday, July 10, 1998 2:01 PM
Subject: flexfax: Waiting for Modem....


>The good news (for Me)
>I have sucessfully sent a fax!
>The bad news:
>That is all I have seen of the modem.
>
>I am using HylaFAX-4_0pl1-1_i386.rpm and RedHat Linux 5.0
>USR Sportster 28.8 internal (yea I know they suck!)
>
>Now it just waits.
>[dave@fax-server dave]$ faxstat
>HylaFAX scheduler on fax-server: Running
>Modem ttyS2 (+1.608.328.4271): Waiting for modem to come ready
>[dave@fax-server dave]$
>
>Any sugestions or FAQ on the sportspig would be super.
>
>Dave Waller
>Precision Drive and Control
>Monroe Wi
>

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Sinisa Milivojevic <sinisa@coresinc.com>
To: flexfax@sgi.com
Subject: flexfax: Sending faxes
Date: Fri, 10 Jul 1998 16:37:42 +0200
Sender: owner-flexfax@celestial.com


Do I need to run faxgetty for send-only modems. I have not done it, I have only
run faxmodem device. When I run faxstate -s ready device and I get:

FIFO.device: open: No such device or address.


Faxmodem reports no error, but sending is not done on modems that do not have
faxgetty entries.

Thanks in advance.

--

Sinisa

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ --- ___            \/          - Sinisa Milivojevic, Consultant  _/
_/ -- /     o   __  o __   ___    - CORES , 11000 Beograd       8-) _/
_/ -  ---  /  /  / / /_   /__/   -- Marsala Tolbuhina 31, SERBIA    _/
_/   ___/ /  /  / / __/  /  /  ---- tel:+381 11 4443331,fax: 433001 _/
_/                            ----- http://www.coresinc.com/~sinisa _/
_/  To defy, to conquer. For us! -- mailto:sinisa@coresinc.com  ;o) _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Sat, 11 Jul 1998 13:09:32 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Sinisa Milivojevic <sinisa@coresinc.com>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Sending faxes
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 10 Jul 1998, Sinisa Milivojevic wrote:

> Do I need to run faxgetty for send-only modems. I have not done it, I have only
> run faxmodem device. When I run faxstate -s ready device and I get:
> 

It's the best way to handle it: just set the rings to 0 to keep it from
picking up the phone. That way, the phone line cooperates with UUCP and
the modem stays configured.

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNaecST/+ItycgIJRAQGYhgP+KeE9PQKih81W25LhKp2EC2uUk22G5ujv
U7/EXJ29eB7Ute/Fs40EHRrlZpJBn1XBh2mutaUCOTrXLuRV4nRGmIu595MinEZW
QNqSSRZLw0Y6KgzMBRCj4oNUDlh6FSugbjzaLQggjakS5yhh0ib54BD/diK92cne
XQs9DGCw7kI=
=tOCR
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 13 Jul 1998 12:18:11 +1000
From: Damian Ivereigh <damian@cisco.com>
Organization: Cisco Systems Inc
To: Sinisa Milivojevic <sinisa@coresinc.com>
CC: flexfax@sgi.com
Subject: Re: flexfax: Sending faxes
Sender: owner-flexfax@celestial.com

It should work without it. The error message you state below: is that
literally what you get? If so then there is something wrong with your
config. You have configured the modem to be on "device", rather than say
"ttyS1". When you ran faxaddmodem what did you answer to the first
question: "Serial port that modem is connected to []?". You should have
put in the device name.

It is a good idea to run faxgetty as well for a send-only modem, since
it performs various resets that are not done otherwise. If so make sure
you set RingsBeforeAnswer to 0 in the modem config file (that will stop
it actually answering an incoming call).

Damian

> 
> Do I need to run faxgetty for send-only modems. I have not done it, I have only
> run faxmodem device. When I run faxstate -s ready device and I get:
> 
> FIFO.device: open: No such device or address.
> 
> Faxmodem reports no error, but sending is not done on modems that do not have
> faxgetty entries.
> 
> Thanks in advance.
> 
> --
> 
> Sinisa
> 
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> _/ --- ___            \/          - Sinisa Milivojevic, Consultant  _/
> _/ -- /     o   __  o __   ___    - CORES , 11000 Beograd       8-) _/
> _/ -  ---  /  /  / / /_   /__/   -- Marsala Tolbuhina 31, SERBIA    _/
> _/   ___/ /  /  / / __/  /  /  ---- tel:+381 11 4443331,fax: 433001 _/
> _/                            ----- http://www.coresinc.com/~sinisa _/
> _/  To defy, to conquer. For us! -- mailto:sinisa@coresinc.com  ;o) _/
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

-- 
 ______________________________________________________________________
* Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
* MIS Printer Admin   *    .||||.    .||||.    * 408-526-4413          *
* Linux Bigot         * ..:||||||:..:||||||:.. * 800-800-1180 x64413   *
* damian@cisco.com    *   cisco Systems, Inc.  * Fax:   408-527-2563   *
*______________________________________________________________________*

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 13 Jul 1998 14:46:17 +0200
From: Stephan Mankopf <stephan.mankopf@rokd.de>
Reply-To: stephan.mankopf@rokd.de
Organization: ROKD GmbH
Newsgroups: de.comp.os.linux.misc,de.comp.os.linux.networking.
CC: flexfax@sgi.com, stephan.mankopf@rokd.de,
        D.Reymann@geisenheim.mnd.fh-wiesbaden.de, odi@ct.heise.de
Subject: flexfax: Hylafax Client WHFC Installation failed, Help !
Sender: owner-flexfax@celestial.com

Hi there,
I have hylafax 4.0 installed (S.u.S.E 5.2 Linux) and
faxq, hfaxd, faxgetty on /dev/modem (Creatix 2834 Turbo) 
,Fax Dispatching via EMail are o.k.
But WHFC-Installation failed (http://www.transcom.de/whfc/)
on our Win95 Clients (Win95 Vers. 4.00.950 B).
After Installation of DLLs (copy msvcrt.dll, mfc42.dll to
WINDOWS/SYSTEM ?) and register with regmon
the WHFC (Vers. 0.8.9) don't start (I've seen the sand-clock, 
but after that- nothing).
I use the ODBC Driver from the MSVC++ CD (Text) and the printer-
driver for Appler Laser Writer (local).
Any suggestions ?
-- 
Thanks
Stephan Mankopf       
e-Mail    stephan.mankopf@rokd.de
Internet: http://www.rokd.de/soha/

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 14 Jul 1998 09:39:08 +0200
From: Ulrich Eckhardt <Ulrich.Eckhardt@transcom.de>
Organization: Transcom
To: stephan.mankopf@rokd.de
CC: flexfax@sgi.com, D.Reymann@geisenheim.mnd.fh-wiesbaden.de, odi@ct.heise.de
Subject: Re: flexfax: Hylafax Client WHFC Installation failed, Help !
X-MIME-Autoconverted: from 8bit to quoted-printable by sgi.sgi.com id AAA08755
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id JAA07223

Stephan Mankopf wrote:
> 
> Hi there,
> I have hylafax 4.0 installed (S.u.S.E 5.2 Linux) and
> faxq, hfaxd, faxgetty on /dev/modem (Creatix 2834 Turbo)
> ,Fax Dispatching via EMail are o.k.
> But WHFC-Installation failed (http://www.transcom.de/whfc/)
> on our Win95 Clients (Win95 Vers. 4.00.950 B).
> After Installation of DLLs (copy msvcrt.dll, mfc42.dll to
> WINDOWS/SYSTEM ?) and register with regmon
> the WHFC (Vers. 0.8.9) don't start (I've seen the sand-clock,
> but after that- nothing).
> I use the ODBC Driver from the MSVC++ CD (Text) and the printer-
> driver for Appler Laser Writer (local).
> Any suggestions ?
> --
> Thanks
> Stephan Mankopf
> e-Mail    stephan.mankopf@rokd.de
> Internet: http://www.rokd.de/soha/

Hi,

this looks like a network/DNS problem. Can you do a telnet connection
from your windows PC to the HylaFAX server on port 4559 ?

Uli
-- 
Ulrich Eckhardt       http://people.frankfurt.netsurf.de/uli
Signalgrotat des wu-ftpd 2,4 (unvollstndig?)
Cgi-Sicherheitsbohrung in EWS (regen Sie fr Webservers auf)
[Translation from an english text to german by AltaVista]

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: flexfax@sgi.com
Subject: flexfax: bugfix: expire time (-k option) calculation
Date: Mon, 13 Jul 1998 20:10:31 -0400
From: Trevor Blackwell <tlb@viaweb.com>
Sender: owner-flexfax@celestial.com


The time conversion for expiry time (LASTTIME job parm) is wrong for
times longer than 24 hours. If you specify 25 hours, it'll give you 49
hours, and report that it has given you 97 hours.

The following patches fix it.


*** faxalter/faxalter.c++.orig	Tue Dec 23 16:16:07 1997
--- faxalter/faxalter.c++	Mon Jul 13 19:55:37 1998
***************
*** 103,109 ****
  	    { time_t tv = mktime(&when) - now;
  	      addToScript("LASTTIME %02d%02d%02d"
  		, tv/(24*60*60)
! 		, (tv/(60*60))%60
  		, (tv/60)%60
  	      );
  	    }
--- 103,109 ----
  	    { time_t tv = mktime(&when) - now;
  	      addToScript("LASTTIME %02d%02d%02d"
  		, tv/(24*60*60)
! 		, (tv/(60*60))%24
  		, (tv/60)%60
  	      );
  	    }
*** hfaxd/Jobs.c++.orig	Tue Dec 23 16:18:51 1997
--- hfaxd/Jobs.c++	Mon Jul 13 19:55:57 1998
***************
*** 360,366 ****
  	return;
      case T_LASTTIME:
  	time_t tv; tv = job.killtime - job.tts;		// XXX for __GNUC__
! 	reply(code, "%02d%02d%02d", tv/(24*60*60), (tv/(60*60))%60, (tv/60)%60);
  	return;
      case T_RETRYTIME:
  	reply(code, "%02d%02d", job.retrytime/60, job.retrytime%60);
--- 360,366 ----
  	return;
      case T_LASTTIME:
  	time_t tv; tv = job.killtime - job.tts;		// XXX for __GNUC__
! 	reply(code, "%02d%02d%02d", tv/(24*60*60), (tv/(60*60))%24, (tv/60)%60);
  	return;
      case T_RETRYTIME:
  	reply(code, "%02d%02d", job.retrytime/60, job.retrytime%60);
***************
*** 489,495 ****
      if (checkAccess(job, T_LASTTIME, A_READ)) {
  	time_t tv = job.killtime - job.tts;
  	jstatLine(T_LASTTIME, "%02d%02d%02d",
! 	    tv/(24*60*60), (tv/(60*60))%60, (tv/60)%60);
      }
      if (checkAccess(job, T_RETRYTIME, A_READ))
  	jstatLine(T_RETRYTIME, "%02d%02d", job.retrytime/60, job.retrytime%60);
--- 489,495 ----
      if (checkAccess(job, T_LASTTIME, A_READ)) {
  	time_t tv = job.killtime - job.tts;
  	jstatLine(T_LASTTIME, "%02d%02d%02d",
! 	    tv/(24*60*60), (tv/(60*60))%24, (tv/60)%60);
      }
      if (checkAccess(job, T_RETRYTIME, A_READ))
  	jstatLine(T_RETRYTIME, "%02d%02d", job.retrytime/60, job.retrytime%60);
*** hfaxd/Parser.c++.orig	Tue Dec 23 16:18:56 1997
--- hfaxd/Parser.c++	Mon Jul 13 19:56:09 1998
***************
*** 1035,1041 ****
  	    reply(213, "%s set to %02d%02d%02d."
  		, parmToken(t)
  		, ticks/(24*60*60)
! 		, (ticks/(60*60))%60
  		, (ticks/60)%60
  	    );
  	    return (TRUE);
--- 1035,1041 ----
  	    reply(213, "%s set to %02d%02d%02d."
  		, parmToken(t)
  		, ticks/(24*60*60)
! 		, (ticks/(60*60))%24
  		, (ticks/60)%60
  	    );
  	    return (TRUE);
*** hfaxd/SNPPServer.c++.orig	Tue Dec 23 16:18:57 1997
--- hfaxd/SNPPServer.c++	Mon Jul 13 19:56:24 1998
***************
*** 753,762 ****
      case T_LASTTIME:			// time to kill job
  	if (timespec_param(6, tv) && setJobParameter(defJob, t, tv)) {
  	    logcmd(t, "%02d%02d%02d"
! 		, tv/(24*60*60) , (tv/(60*60))%60 , (tv/60)%60);
  	    reply(250, "%s set to %02d%02d%02d."
  		, parmToken(t)
! 		, tv/(24*60*60) , (tv/(60*60))%60 , (tv/60)%60);
  	    return (TRUE);
  	}
  	break;
--- 753,762 ----
      case T_LASTTIME:			// time to kill job
  	if (timespec_param(6, tv) && setJobParameter(defJob, t, tv)) {
  	    logcmd(t, "%02d%02d%02d"
! 		, tv/(24*60*60) , (tv/(60*60))%24 , (tv/60)%60);
  	    reply(250, "%s set to %02d%02d%02d."
  		, parmToken(t)
! 		, tv/(24*60*60) , (tv/(60*60))%24 , (tv/60)%60);
  	    return (TRUE);
  	}
  	break;
*** util/FaxClient.c++.orig	Tue Dec 23 16:22:45 1997
--- util/FaxClient.c++          Mon Jul 13 19:56:41 1998
***************
*** 859,865 ****
  FaxClient::jobLastTime(u_long tv)
  {
      return (command("JPARM LASTTIME %02d%02d%02d",
! 	tv/(24*60*60), (tv/(60*60))%60, (tv/60)%60) == COMPLETE);
  }
  fxBool
  FaxClient::jobRetryTime(u_long tv)
--- 859,865 ----
  FaxClient::jobLastTime(u_long tv)
  {
      return (command("JPARM LASTTIME %02d%02d%02d",
! 	tv/(24*60*60), (tv/(60*60))%24, (tv/60)%60) == COMPLETE);
  }
  fxBool
  FaxClient::jobRetryTime(u_long tv)


--
Trevor Blackwell         tlb@yahoo-inc.com          (617) 876-2692 x982
http://store.yahoo.com/

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 14 Jul 1998 13:47:49 +1000
From: Damian Ivereigh <damian@cisco.com>
Organization: Cisco Systems Inc
To: peloy@ven.ra.rockwell.com
CC: flexfax@sgi.com
Subject: Re: flexfax: Running mgetty from faxgetty
Sender: owner-flexfax@celestial.com

peloy@ven.ra.rockwell.com wrote: 
> I am succesfully running mgetty from faxgetty but am suffering of one
> minor problem: sometimes when a remote user calls to stablish a PPP
> connection, the modem answers and the Carrir Detect line goes active
> and the modem detects it is a data call so it fork mgetty (defined by
> getty-link). Well, it looks like when there is noise nothing gets
> transmitted so no login is forked on the server and the client gets
> tired of waiting and hangs. However, since it is mgetty the one that
> is running on the server, it does not realize Carrier Detect goes
> inactive and stays running, even though the modem is not off-hook.
> 
> The consequence is that the server will not pick-up any more incoming
> calls until that getty-link process is killed.

Sounds to me like the config of your mgetty isn't right. I am not sure
how mgetty works, but if it is similar to normal getty it reads
/etc/gettydefs. In here is layed out the settings for the line once
mgetty starts up. One of the important settings it clocal. If this is
on, mgetty will ignore the carrier dropping. Once a call is received, do
an 'stty -a < /dev/...' Look at the clocal flag. If on, go and mess
around with gettydefs. If this is off, then a dropping carrier will
cause a SIGHUP to be sent to all the process on that port. This should
kill the mgetty and allow the port to be reused.

If you need more detailed help let me know.

Damian

-- 
 ______________________________________________________________________
* Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
* MIS Printer Admin   *    .||||.    .||||.    * 408-526-4413          *
* Linux Bigot         * ..:||||||:..:||||||:.. * 800-800-1180 x64413   *
* damian@cisco.com    *   cisco Systems, Inc.  * Fax:   408-527-2563   *
*______________________________________________________________________*

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 14 Jul 1998 15:22:04 -0700
To: flexfax@sgi.com
From: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Subject: flexfax: Help: Font Metric not found
Sender: owner-flexfax@celestial.com

Hello. 

Redhat 5.1, kernel 2.0.34, , ghostscript 5.10,  hylafax-v4.0pl2.


When I do a faxsetup, I get the following error:

The font metric information file for the Courier was not found in the /usr/lib/ghostscript/fonts directory.....

Can someonr please tell me what exactly is missing? 

I've played with the FontDir setting. I've tried earlier versions of ghostscripts. The Fontmap shows an alias for Courier.

Any help is greatly appreciated.


Thanks in advance.

Martin 

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
cc: flexfax@sgi.com, tpcadmin@hewes.icl.ox.ac.uk
Subject: Re: flexfax: Help: Font Metric not found 
Date: Wed, 15 Jul 1998 03:25:46 +0100
From: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
Sender: owner-flexfax@celestial.com


>>>>> On Tue, 14 Jul 1998, "MD" == Martin Dean wrote:

  MD> Hello.

  MD> Redhat 5.1, kernel 2.0.34, , ghostscript 5.10, hylafax-v4.0pl2.

  MD> When I do a faxsetup, I get the following error:

  MD> The font metric information file for the Courier was not found in the
  MD> /usr/lib/ghostscript/fonts directory.....

  MD> Can someonr please tell me what exactly is missing?

If you like, try this RPM

	ftp://ftp.tpc.int/pub/hylafax/hylafax-4.0pl2-1rh5.i386.rpm

and let me know how you make out.

-DPN

-- 
Mr. Arlington Hewes           (tpcadmin@info.tpc.int)
The TPC.INT Subdomain          (http://www.tpc.int/)

       **************************************************
       ***  FOR GENERAL INFORMATION                   ***
       ***         mailto:tpcfaq@info.tpc.int         ***
       ***  FOR A LIST OF CURRENT COVERAGE            ***
       ***         mailto:tpccover@info.tpc.int       ***
       ***  TO REPORT A PROBLEM (read the FAQ first!) ***
       ***         mailto:support@info.tpc.int        ***
       **************************************************

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 14 Jul 1998 20:41:48 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Help: Font Metric not found
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 14 Jul 1998, Martin Dean wrote:

> When I do a faxsetup, I get the following error:
> 
> The font metric information file for the Courier was not found in the /usr/lib/ghostscript/fonts directory.....
> 
> Can someonr please tell me what exactly is missing? 

There are some patches for RedHat at
http://cirl.meei.harvard.edu/hylafax/patches that should settle this,
and some other RedHat 5.x issues. The configure script does not know
about the default ghostscript font directory for RedHat.

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNav6yD/+ItycgIJRAQFaXAP+OELfOdM/zSXSqLIrb8JtOH9F8xRtVGqz
w0GSiubxO0CdI7cKV3W7UdUaTJT2MIg9q5pbETDQHKfURsm+lRc1HNvAGEg9S/43
q4vETHV6VN2lAJkCV7QpJYe3m2IBc+F6y5kL0OMwkVmPrLx2oDV1AEvxIRzNIsGW
j7YZXLYjP70=
=Shsg
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 15 Jul 1998 12:35:14 +1000
From: Damian Ivereigh <damian@cisco.com>
Organization: Cisco Systems Inc
To: flexfax@sgi.com
Subject: flexfax: Patch to allow the entry of a voice number into sendfax
Sender: owner-flexfax@celestial.com

Here is a patch that allows the entry of a voice number into sendfax
that will appear on the cover page. The option used is '-V'. I hope the
patch is the right way round (if not use the -R). Amazingly all the code
seemed to be already there - it just needed turning on!

The patch requires you be in the sendfax directory

Damian

-- 
 ______________________________________________________________________
* Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
* MIS Printer Admin   *    .||||.    .||||.    * 408-526-4413          *
* Linux Bigot         * ..:||||||:..:||||||:.. * 800-800-1180 x64413   *
* damian@cisco.com    *   cisco Systems, Inc.  * Fax:   408-527-2563   *
*______________________________________________________________________*Index: man/sendfax.1
===================================================================
RCS file: /usr/local/cvsroot/source/hylafax/man/sendfax.1,v
retrieving revision 1.1
diff -c -r1.1 sendfax.1
*** sendfax.1	1998/07/01 21:50:46	1.1
--- sendfax.1	1998/07/14 19:36:12
***************
*** 515,520 ****
--- 515,527 ----
  protocol is commenced; this is contrasted with a call
  attempt that might have failed because the line was busy.
  .TP 12
+ .BI \-V " voice-no"
+ Pass
+ .I voice-no
+ to the
+ .IR faxcover (1)
+ program as the destination person's voice number.
+ .TP 12
  .BI \-x " company"
  Pass
  .I company
Index: sendfax/sendfax.c++
===================================================================
RCS file: /usr/local/cvsroot/source/hylafax/sendfax/sendfax.c++,v
retrieving revision 1.1
diff -c -r1.1 sendfax.c++
*** sendfax.c++	1998/07/01 21:50:45	1.1
--- sendfax.c++	1998/07/14 19:36:12
***************
*** 87,93 ****
      int verbose = 0;
      SendFaxJob& proto = getProtoJob();
      db = new FaxDB(tildeExpand(dbName));
!     while ((c = Sys::getopt(argc, argv, "a:b:B:c:C:d:f:F:h:i:I:k:M:P:r:s:t:T:x:y:12lmnpvwDENR")) != -1)
  	switch (c) {
  	case '1':			// restrict to 1D-encoded data
  	    proto.setDesiredDF(0);
--- 87,93 ----
      int verbose = 0;
      SendFaxJob& proto = getProtoJob();
      db = new FaxDB(tildeExpand(dbName));
!     while ((c = Sys::getopt(argc, argv, "a:b:B:c:C:d:f:F:h:i:I:k:M:P:r:s:t:T:V:x:y:12lmnpvwDENR")) != -1)
  	switch (c) {
  	case '1':			// restrict to 1D-encoded data
  	    proto.setDesiredDF(0);
***************
*** 178,183 ****
--- 178,186 ----
  	    setvbuf(stdout, NULL, _IOLBF, BUFSIZ);
  	    SendFaxClient::setVerbose(TRUE);	// type rules & basic operation
  	    FaxClient::setVerbose(verbose > 1);	// protocol tracing
+ 	    break;
+ 	case 'V':			// cover sheet: voice number field
+ 	    proto.setCoverVoiceNumber(optarg);
  	    break;
  	case 'w':			// wait for job to complete
  	    waitForJob = TRUE;

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 15 Jul 1998 12:59:06 +1000
From: Damian Ivereigh <damian@cisco.com>
Organization: Cisco Systems Inc
To: flexfax@sgi.com
Subject: flexfax: Again: Patch to make '\n' work in faxcover comments
Sender: owner-flexfax@celestial.com

Ooops, I sent out a normal diff. The other one will work, but not so
fault tolerant. Here it is again this time a context diff.

Here is a patch against 4.0pl2 to faxcover that allows line feeds in the
comments to do the right thing. There was an extra '\' in the wrong
place along with a few other things. I have increased the maximum
comment length to 60 and put it into a variable (it was hard coded at
35). This should really be extracted from a config file somewhere.

This will only fix things if you use the comment1, comment2, comment3
postscript variables in your cover page (the default one does not). The
comment variable (which holds the whole lot - not split into lines)
still doesn't treat linefeeds correctly (it ignores them). This requires
a change to the postscript function. I am not a good postscript
programmer unfortunately.

You should be in the faxcover source directory, before running this
patch.

Problems let me know.

Damian
-- 
 ______________________________________________________________________
* Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
* MIS Printer Admin   *    .||||.    .||||.    * 408-526-4413          *
* Linux Bigot         * ..:||||||:..:||||||:.. * 800-800-1180 x64413   *
* damian@cisco.com    *   cisco Systems, Inc.  * Fax:   408-527-2563   *
*______________________________________________________________________*Index: faxcover.c++
===================================================================
RCS file: /usr/local/cvsroot/source/hylafax/faxcover/faxcover.c++,v
retrieving revision 1.1.1.1
retrieving revision 1.1.2.1
diff -c -r1.1.1.1 -r1.1.2.1
*** faxcover.c++	1998/07/01 21:50:44	1.1.1.1
--- faxcover.c++	1998/07/07 19:19:18	1.1.2.1
***************
*** 1,4 ****
! /*	$Id: faxcover.c++,v 1.1.1.1 1998/07/01 21:50:44 damian Exp $ */
  /*
   * Copyright (c) 1990-1996 Sam Leffler
   * Copyright (c) 1991-1996 Silicon Graphics, Inc.
--- 1,4 ----
! /*	$Id: faxcover.c++,v 1.1.2.1 1998/07/07 19:19:18 damian Exp $ */
  /*
   * Copyright (c) 1990-1996 Sam Leffler
   * Copyright (c) 1991-1996 Silicon Graphics, Inc.
***************
*** 53,58 ****
--- 53,59 ----
      float	pageWidth;	// page width (mm)
      float	pageLength;	// page length (mm)
      int		maxcomments;	// max # of comment lines
+     int		maxcommlen;	// max length of comment lines
  
      static const char* prologue;
  
***************
*** 81,86 ****
--- 82,88 ----
  {
      db = 0;
      maxcomments = 20;
+ 	maxcommlen = 60;
  }
  
  faxCoverApp::~faxCoverApp()
***************
*** 338,347 ****
      int line = 1;
      while (comments.length() > 0) {
  	// strip leading white space
! 	while (comments.length() > 0 && isspace(comments[0]))
  	    comments.remove(0);
! 	int len = fxmin(comments.length(), (u_int) 35);
! 	if (len == 35 && !isspace(comments[len-1])) {// break on word boundary
  	    int l = len-1;
  	    for (; l > 1 && !isspace(comments[l-1]); l--)
  		;
--- 340,349 ----
      int line = 1;
      while (comments.length() > 0) {
  	// strip leading white space
! 	while (comments.length() > 0 && isspace(comments[0]) && comments[0]!='\n')
  	    comments.remove(0);
! 	int len = fxmin(comments.length(), (u_int) maxcommlen);
! 	if (len == maxcommlen && !isspace(comments[len-1])) {// break on word boundary
  	    int l = len-1;
  	    for (; l > 1 && !isspace(comments[l-1]); l--)
  		;
***************
*** 350,363 ****
  	    // otherwise, break in the middle of this really long word
  	}
        int tot = comments.length();
!       u_int crlf = comments.find(0, "\\n", (u_int) 0);
        if ( crlf < comments.length() && crlf < len ) {
                len = crlf;
        }
  	fxStr num(line, "%u");
  	coverDef("comments" | num, comments.cut(0,len));
!       if ( crlf < tot && comments.length() >= 2 ) {
!               comments.cut(0, 2);
        }
  	line++;
      }
--- 352,365 ----
  	    // otherwise, break in the middle of this really long word
  	}
        int tot = comments.length();
!       u_int crlf = comments.find(0, "\n", (u_int) 0);
        if ( crlf < comments.length() && crlf < len ) {
                len = crlf;
        }
  	fxStr num(line, "%u");
  	coverDef("comments" | num, comments.cut(0,len));
!       if ( crlf < tot && comments.length() >= 1 ) {
!               comments.cut(0, 1);
        }
  	line++;
      }

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 15 Jul 1998 16:33:59 +1000
From: Damian Ivereigh <damian@cisco.com>
Organization: Cisco Systems Inc
To: flexfax@sgi.com
Subject: flexfax: Patch to faxstat (with patch this time)
Sender: owner-flexfax@celestial.com

This patch allows specification of the ModemFmt, JobFmt & RcvFmt in the
environment. This way the changes in the format string can be made on
the fly. It also adds two new option -m & -n, which turn off the server
& modem status reports and turn off the headers. This is all designed to
make it easier to parse the output.

As a side effect I also fixed a bug which stopped the ModemFmt from
working. I ended up having to create a new function in FaxClient.c++ to
update the server with new format strings if they have changed. This was
previous done as a side effect of printing the header.

You can install this patch from the hylafax source dir.

Any problems let me know.

Damian 
-- 
 ______________________________________________________________________
* Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
* MIS Printer Admin   *    .||||.    .||||.    * 408-526-4413          *
* Linux Bigot         * ..:||||||:..:||||||:.. * 800-800-1180 x64413   *
* damian@cisco.com    *   cisco Systems, Inc.  * Fax:   408-527-2563   *
*______________________________________________________________________*Index: faxstat/faxstat.c++
===================================================================
RCS file: /usr/local/cvsroot/source/hylafax/faxstat/faxstat.c++,v
retrieving revision 1.1.1.1
retrieving revision 1.1.2.1
diff -c -r1.1.1.1 -r1.1.2.1
*** faxstat.c++	1998/07/01 21:50:45	1.1.1.1
--- faxstat.c++	1998/07/01 22:43:37	1.1.2.1
***************
*** 1,4 ****
! /*	$Id: faxstat.c++,v 1.1.1.1 1998/07/01 21:50:45 damian Exp $ */
  /*
   * Copyright (c) 1990-1996 Sam Leffler
   * Copyright (c) 1991-1996 Silicon Graphics, Inc.
--- 1,4 ----
! /*	$Id: faxstat.c++,v 1.1.2.1 1998/07/01 22:43:37 damian Exp $ */
  /*
   * Copyright (c) 1990-1996 Sam Leffler
   * Copyright (c) 1991-1996 Silicon Graphics, Inc.
***************
*** 57,68 ****
      resetConfig();
      readConfig(FAX_SYSCONF);
      readConfig(FAX_USERCONF);
  
      fxStrArray dirs;
-     dirs.append(FAX_STATUSDIR);		// server status
      fxBool checkInfo = FALSE;
      int c;
!     while ((c = getopt(argc, argv, "h:adgfilrsv")) != -1)
  	switch (c) {
  	case 'a':			// display archived jobs
  	    dirs.append(FAX_ARCHDIR);
--- 57,70 ----
      resetConfig();
      readConfig(FAX_SYSCONF);
      readConfig(FAX_USERCONF);
+     readConfigEnv();
  
      fxStrArray dirs;
      fxBool checkInfo = FALSE;
+     fxBool modemInfo = TRUE;
+     fxBool showHeader = TRUE;
      int c;
!     while ((c = getopt(argc, argv, "h:adgfilmnrsv")) != -1)
  	switch (c) {
  	case 'a':			// display archived jobs
  	    dirs.append(FAX_ARCHDIR);
***************
*** 85,90 ****
--- 87,98 ----
  	case 'l':			// use local timezone for dates & times
  	    setTimeZone(TZ_LOCAL);
  	    break;
+ 	case 'm':			// disable modem info line
+ 	    modemInfo = FALSE;
+ 	    break;
+ 	case 'n':			// disable header line
+ 	    showHeader = FALSE;
+ 	    break;
  	case 'r':			// display receive queue
  	    dirs.append(FAX_RECVDIR);
  	    break;
***************
*** 100,116 ****
      fxStr emsg;
      if (callServer(emsg)) {
  	if (login(NULL, emsg)) {
  	    if (checkInfo)
  		(void) recvData(writeStdout, NULL, emsg, 0,
  		    "RETR " FAX_STATUSDIR "/any." FAX_INFOSUF);
  	    for (u_int i = 0, n = dirs.length(); i < n; i++) {
  		header = (i > 0 ? "\n" : "");
  		if (dirs[i] == FAX_SENDDIR || dirs[i] == FAX_DONEDIR) {
! 		    getJobStatusHeader(header);
! 		    header.append('\n');
  		} else if (dirs[i] == FAX_RECVDIR) {
! 		    getRecvStatusHeader(header);
! 		    header.append('\n');
  		}
  		if (!listWithHeader(dirs[i], emsg))
  		    break;
--- 108,131 ----
      fxStr emsg;
      if (callServer(emsg)) {
  	if (login(NULL, emsg)) {
+ 	    updPendingConfig();
+ 	    if (modemInfo)
+ 		listWithHeader(FAX_STATUSDIR, emsg);
  	    if (checkInfo)
  		(void) recvData(writeStdout, NULL, emsg, 0,
  		    "RETR " FAX_STATUSDIR "/any." FAX_INFOSUF);
  	    for (u_int i = 0, n = dirs.length(); i < n; i++) {
  		header = (i > 0 ? "\n" : "");
  		if (dirs[i] == FAX_SENDDIR || dirs[i] == FAX_DONEDIR) {
! 		    if (showHeader) {
! 		    	getJobStatusHeader(header);
! 		    	header.append('\n');
! 		    }
  		} else if (dirs[i] == FAX_RECVDIR) {
! 		    if (showHeader) {
! 		    	getRecvStatusHeader(header);
! 		    	header.append('\n');
! 		    }
  		}
  		if (!listWithHeader(dirs[i], emsg))
  		    break;
Index: util/FaxClient.c++
===================================================================
RCS file: /usr/local/cvsroot/source/hylafax/util/FaxClient.c++,v
retrieving revision 1.1.1.1
retrieving revision 1.1.2.1
diff -c -r1.1.1.1 -r1.1.2.1
*** FaxClient.c++	1998/07/01 21:50:43	1.1.1.1
--- FaxClient.c++	1998/07/01 22:43:37	1.1.2.1
***************
*** 1,4 ****
! /*	$Id: FaxClient.c++,v 1.1.1.1 1998/07/01 21:50:43 damian Exp $ */
  /*
   * Copyright (c) 1990-1996 Sam Leffler
   * Copyright (c) 1991-1996 Silicon Graphics, Inc.
--- 1,4 ----
! /*	$Id: FaxClient.c++,v 1.1.2.1 1998/07/01 22:43:37 damian Exp $ */
  /*
   * Copyright (c) 1990-1996 Sam Leffler
   * Copyright (c) 1991-1996 Silicon Graphics, Inc.
***************
*** 300,305 ****
--- 300,343 ----
  }
  
  fxBool
+ FaxClient::readConfigEnv(void)
+ {
+     fxBool ret=TRUE;
+     const char* cp;
+ 
+     cp = getenv("FAXJOBFMT");
+     if (cp && *cp != '\0')
+ 	ret = ret && setJobStatusFormat(cp);
+ 
+     cp = getenv("FAXRCVFMT");
+     if (cp && *cp != '\0')
+ 	ret = ret && setRecvStatusFormat(cp);
+ 
+     cp = getenv("FAXMODEMFMT");
+     if (cp && *cp != '\0')
+ 	ret = ret && setModemStatusFormat(cp);
+ 
+     cp = getenv("FAXFILEFMT");
+     if (cp && *cp != '\0')
+ 	ret = ret && setFileStatusFormat(cp);
+ 
+     return (ret);
+ }
+ 
+ fxBool
+ FaxClient::updPendingConfig(void)
+ {
+     fxBool ret=TRUE;
+ 
+     ret = ret && setStatusFormatPending("JOBFMT", FS_JFMTPEND, jobFmt);
+     ret = ret && setStatusFormatPending("RCVFMT", FS_RFMTPEND, recvFmt);
+     ret = ret && setStatusFormatPending("MDMFMT", FS_MFMTPEND, modemFmt);
+     ret = ret && setStatusFormatPending("FILEFMT", FS_FFMTPEND, fileFmt);
+ 
+     return(ret);
+ }
+ 
+ fxBool
  FaxClient::callServer(fxStr& emsg)
  {
      if (host.length() == 0) {		// if host not specified by -h
***************
*** 1414,1419 ****
--- 1452,1479 ----
      } else
  	state |= flag;
      fmt = value;
+     return (TRUE);
+ }
+ 
+ /*
+  * Set the specified status format string
+  *  in the client and the server if we have an update pending.
+  */
+ fxBool
+ FaxClient::setStatusFormatPending(const char* cmd, u_int flag,
+     fxStr& fmt)
+ {
+     if (state&flag) {		// set pending; do it
+ 	if (isLoggedIn()) {
+ 	    if (command("%s \"%s\"", cmd, (const char*) fmt) == COMPLETE) {
+ 		state &= ~flag;
+ 	    }
+ 	    else {
+ 		printError("%s", (const char*) lastResponse);
+ 		return (FALSE);
+ 	    }
+ 	}
+     }
      return (TRUE);
  }
  
Index: util/FaxClient.h
===================================================================
RCS file: /usr/local/cvsroot/source/hylafax/util/FaxClient.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.2.1
diff -c -r1.1.1.1 -r1.1.2.1
*** FaxClient.h	1998/07/01 21:50:44	1.1.1.1
--- FaxClient.h	1998/07/01 22:43:37	1.1.2.1
***************
*** 1,4 ****
! /*	$Id: FaxClient.h,v 1.1.1.1 1998/07/01 21:50:44 damian Exp $ */
  /*
   * Copyright (c) 1990-1996 Sam Leffler
   * Copyright (c) 1991-1996 Silicon Graphics, Inc.
--- 1,4 ----
! /*	$Id: FaxClient.h,v 1.1.2.1 1998/07/01 22:43:37 damian Exp $ */
  /*
   * Copyright (c) 1990-1996 Sam Leffler
   * Copyright (c) 1991-1996 Silicon Graphics, Inc.
***************
*** 154,159 ****
--- 154,160 ----
  
      const fxStr& getStatusFormat(u_int flag, const char* cmd, fxStr& fmt);
      fxBool setStatusFormat(const char* cmd, u_int flag, fxStr&, const char*);
+     fxBool setStatusFormatPending(const char* cmd, u_int flag, fxStr& fmt);
      void makeHeader(const char* fmt, const FaxFmtHeader fmts[], fxStr& header);
  
      virtual fxBool setupUserIdentity(fxStr& emsg);
***************
*** 162,167 ****
--- 163,170 ----
  
      virtual void resetConfig(void);
      virtual void setupConfig(void);
+     virtual fxBool updPendingConfig(void);
+     virtual fxBool readConfigEnv(void);
      virtual fxBool setConfigItem(const char* tag, const char* value);
      virtual void configError(const char* fmt ...);
      virtual void configTrace(const char* fmt ...);
Index: man/faxstat.1
===================================================================
RCS file: /usr/local/cvsroot/source/hylafax/man/faxstat.1,v
retrieving revision 1.1
diff -c -r1.1 faxstat.1
*** faxstat.1	1998/07/01 21:50:46	1.1
--- faxstat.1	1998/07/14 23:25:40
***************
*** 151,156 ****
--- 151,162 ----
  .B \-l
  Display times and dates in the local timezone of the server.
  .TP 10
+ .B \-m
+ Disable display of modem and server status info.
+ .TP 10
+ .B \-n
+ Disable display of header lines (good for parsing by a script).
+ .TP 10
  .B \-r
  Display the receive queue status for each server.
  The
***************
*** 176,206 ****
  reads configuration information from the file
  .B ${LIBDATA}/hyla.conf
  and then from the file
! .BR ~/.hylarc .
  Configuration files follow the conventions described in
  .IR hylafax (1).
  The following configuration parameters are recognized:
  .sp .5
! .nf
! .ta \w'AutoCoverPage    'u +\w'boolean    'u +\w'\s-1\fIsee below\fP\s+1    'u
! \fBTag	Type	Default	Description\fP
! FileFmt	string	\s-1\fIsee below\fP\s+1	format string for file status results
! Host	string	\s-1localhost\s+1	host to contact for service
! JobFmt	string	\s-1\fIsee below\fP\s+1	format string for job status results
! ModemFmt	string	\s-1\fIsee below\fP\s+1	format string for modem status results
! Port	integer	\s-14559\s+1	port to use in contacting server
! Protocol	string	\s-1tcp\s+1	protocol to use in contacting server
! RcvFmt	string	\s-1\fIsee below\fP\s+1	format string for received facsimile status results
! TimeZone	string	\s-1GMT\s+1	timezone to use for reporting dates and times
! Verbose	boolean	\s-1No\s+1	whether or not to enable protocol tracing
! .fi
  .PP
  The configuration parameters are explained below:
  .TP 14
  .B FileFmt
  The format string to use when returning file status information with the
  .B \-f
! option.
  Formats are specified using 
  .IR printf (3S)-\c
  style conventions but using the field identifiers listed below.
--- 182,233 ----
  reads configuration information from the file
  .B ${LIBDATA}/hyla.conf
  and then from the file
! .BR ~/.hylarc
! then finally in some cases environment variables (see below).
  Configuration files follow the conventions described in
  .IR hylafax (1).
  The following configuration parameters are recognized:
  .sp .5
! .ta \w'Tag       'u +\w'Env. Var.   'u +\w'Type     'u +\w'\s-1\fIsee below\fP\s+1    'u
! .TP 43
! \fBTag	Env. Var.	Type	Default\fP
! \fBDescription\fP
! .TP 43
! FileFmt	FAXFILEFMT	string	\s-1\fIsee below\fP\s+1
! format string for file status results
! .TP 43
! Host	FAXSERVER	string	\s-1localhost\s+1
! host to contact for service
! .TP 43
! JobFmt	FAXJOBFMT	string	\s-1\fIsee below\fP\s+1
! format string for job status results
! .TP 43
! ModemFmt	FAXMODEMFMT	string	\s-1\fIsee below\fP\s+1
! format string for modem status results
! .TP 43
! Port	-	integer	\s-14559\s+1
! port to use in contacting server
! .TP 43
! Protocol	FAXSERVICE	string	\s-1tcp\s+1
! protocol to use in contacting server
! .TP 43
! RcvFmt	FAXRCVFMT	string	\s-1\fIsee below\fP\s+1
! format string for received facsimile status results
! .TP 43
! TimeZone	-	string	\s-1GMT\s+1s
! timezone to use for reporting dates and times
! .TP 43
! Verbose	-	boolean	\s-1No\s+1
! whether or not to enable protocol tracing
  .PP
  The configuration parameters are explained below:
  .TP 14
  .B FileFmt
  The format string to use when returning file status information with the
  .B \-f
! option. (Equivalent to the
! .B FAXFILEFMT
! environment variable.)
  Formats are specified using 
  .IR printf (3S)-\c
  style conventions but using the field identifiers listed below.
***************
*** 233,239 ****
  The host to contact for service.
  (Equivalent to the
  .B \-h
! option.)
  .TP 14
  .B JobFmt
  The format string to use when returning job status information for
--- 260,268 ----
  The host to contact for service.
  (Equivalent to the
  .B \-h
! option or the
! .B FAXSERVER
! environment variable.)
  .TP 14
  .B JobFmt
  The format string to use when returning job status information for
***************
*** 241,248 ****
  .B \-s
  and
  .B \-d
! options.
! Formats are specified using 
  .IR printf (3S)-\c
  style conventions but using the field identifiers listed below.
  Each item can include field width, precision, left-justification,
--- 270,278 ----
  .B \-s
  and
  .B \-d
! options. (Equivalent to the
! .B FAXJOBFMT
! environment variable.) Formats are specified using 
  .IR printf (3S)-\c
  style conventions but using the field identifiers listed below.
  Each item can include field width, precision, left-justification,
***************
*** 375,381 ****
  .TP 14
  .B ModemFmt
  The format string to use when returning modem status information.
! Formats are specified using 
  .IR printf (3S)-\c
  style conventions but using the field identifiers listed below.
  Each item can include field width, precision, left-justification,
--- 405,413 ----
  .TP 14
  .B ModemFmt
  The format string to use when returning modem status information.
! (Equivalent to the
! .B FAXMODEMFMT
! environment variable.) Formats are specified using 
  .IR printf (3S)-\c
  style conventions but using the field identifiers listed below.
  Each item can include field width, precision, left-justification,
***************
*** 413,419 ****
  .B RcvFmt
  The format string to use when returning status information for the
  .B \-r
! option.
  Formats are specified using 
  .IR printf (3S)-\c
  style conventions but using the field identifiers listed below.
--- 445,453 ----
  .B RcvFmt
  The format string to use when returning status information for the
  .B \-r
! option. (Equivalent to the
! .B FAXRCVFMT
! environment variable.)
  Formats are specified using 
  .IR printf (3S)-\c
  style conventions but using the field identifiers listed below.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 15 Jul 1998 11:11:40 -0700
To: flexfax@sgi.com
From: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Subject: flexfax: Ghostscript fonts RPM needed
Sender: owner-flexfax@celestial.com

Hello.

When I try to install hylafax-4.0pl2-1rh5.i386.rpm I get the folowing error:

ghostscript-fonts >= 5.02 is needed by hylafax-4.0pl2-1rh5.i386.rpm.


I had ghostscript 5.10 installed from src.


Does anyone know where I can get the ghostscript fonts in rpm ?


Thanks
Martin

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
cc: flexfax@sgi.com
Subject: Re: flexfax: Ghostscript fonts RPM needed 
Date: Wed, 15 Jul 1998 22:01:13 +0100
From: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
Sender: owner-flexfax@celestial.com


>>>>> On Wed, 15 Jul 1998, "MD" == Martin Dean wrote:

  MD> Hello.

  MD> When I try to install hylafax-4.0pl2-1rh5.i386.rpm I get the folowing
  MD> error:

  MD> ghostscript-fonts >= 5.02 is needed by hylafax-4.0pl2-1rh5.i386.rpm.

Correct.

  MD> I had ghostscript 5.10 installed from src.

That's your problem. You COULD install using rpm -i --nodeps but that's risky, 
the dependency is there for a reason . . . HylaFAX will expect GS in a special 
place. If it ain't there, poof.

  MD> Does anyone know where I can get the ghostscript fonts in rpm ?

Redhat's contrib directory, where you can also find packages for almost anything you would want to install.

Alternatively, see http://www.typhoon.dircon.co.uk

-DPN

-- 
Mr. Arlington Hewes           (tpcadmin@info.tpc.int)
The TPC.INT Subdomain          (http://www.tpc.int/)

       **************************************************
       ***  FOR GENERAL INFORMATION                   ***
       ***         mailto:tpcfaq@info.tpc.int         ***
       ***  FOR A LIST OF CURRENT COVERAGE            ***
       ***         mailto:tpccover@info.tpc.int       ***
       ***  TO REPORT A PROBLEM (read the FAQ first!) ***
       ***         mailto:support@info.tpc.int        ***
       **************************************************

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 15 Jul 1998 17:52:08 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Cc: flexfax@sgi.com, tpcadmin@info.tpc.int
Subject: Re: flexfax: Re: Hylafax RPM and ghostscript fonts
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 15 Jul 1998, Martin Dean wrote:

> I've purged all ghostscript files. I've rpm -e all traces of ghostscript.
> I've installed ghostscript 5.10 fonts in /usr/lib/ghostscript/fonts.
> I've ln -s /usr/local/lib/ghostscript /usr/lib/ghostscript

This won't help.

> When I do a rpm -i hylafax-4.0pl2-1rh5.i386.rpm I get the folowing error:
> 
> ghostscript-fonts >= 5.02 is needed by hylafax-4.0pl2-1rh5.i386.rpm.

RPM maintains it's own database of what is installed or not: you can
either over-ride the dependency and install *ANYWAY*, or grab the
latest fonts from ftp://ftp.redhat.com/contrib/i386/

> What am I doing wrong? Has anyone got this rpm to work?
> 
> Is there an rpm for the fonts required ?

It should be only 3.33 ghostscript or better required, as available in the
default RedHat 5.0 distribution.

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNa0kfT/+ItycgIJRAQE7JQP+MPptW8W0oYL32YRZwjunFdriHuZ1fyw6
ZXWBU+OEkjSNp5seHeQg5E+dTAOmgDLpFFMornoZkRFB1B96QpAumOK3HoTKXnGn
nOTh4bTURaP7KglUakx69KPsAGnvMNKLTz7QgGfRHw03UScaYJ5RKlc7pgvQiDCq
uBM+di9MosQ=
=u6Fc
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
cc: flexfax@sgi.com
Subject: flexfax: Re: Hylafax RPM and ghostscript fonts 
Date: Wed, 15 Jul 1998 22:08:04 +0100
From: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
Sender: owner-flexfax@celestial.com


I'm not sure why you keep mailing this list with your problems, can we just 
keep it to private e-mail between you and I please? It does not concern most 
of the list.


>>>>> On Wed, 15 Jul 1998, "MD" == Martin Dean wrote:

  MD> Hello

  MD> I've purged all ghostscript files. I've rpm -e all traces of ghostscript.

This was step 1. Great.

  MD> I've installed ghostscript 5.10 fonts in /usr/lib/ghostscript/fonts. 

You've done what? There are 3 RPMS for ghostscript:

	ghostscript
	ghostscript-fonts-std
	ghostscript-fonts-other

You need to install them all.

  MD> I've ln -s /usr/local/lib/ghostscript /usr/lib/ghostscript

???????

Please remove /usr/local/lib/ghostscript, none of this is going to go in 
/usr/local.

  MD> When I do a rpm -i hylafax-4.0pl2-1rh5.i386.rpm I get the folowing error:

  MD> ghostscript-fonts >= 5.02 is needed by hylafax-4.0pl2-1rh5.i386.rpm.

  MD> What am I doing wrong? Has anyone got this rpm to work?

I need to see the output of

	rpm -qa | egrep ghostscript

Yes, the RPM has worked for everyone who has replied to me, though there are a few minor niggles remaining.

-DPN

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 15 Jul 1998 14:05:55 -0700
To: flexfax@sgi.com
From: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Subject: flexfax: Re: Hylafax RPM and ghostscript fonts
Cc: tpcadmin@info.tpc.int
Sender: owner-flexfax@celestial.com

Hello 

I've purged all ghostscript files. I've rpm -e all traces of ghostscript.
I've installed ghostscript 5.10 fonts in /usr/lib/ghostscript/fonts.
I've ln -s /usr/local/lib/ghostscript /usr/lib/ghostscript



When I do a rpm -i hylafax-4.0pl2-1rh5.i386.rpm I get the folowing error:

ghostscript-fonts >= 5.02 is needed by hylafax-4.0pl2-1rh5.i386.rpm.



What am I doing wrong? Has anyone got this rpm to work?

Is there an rpm for the fonts required ?


Any help is most welcome.

Martin

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 15 Jul 1998 17:48:41 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Ghostscript fonts RPM needed
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 15 Jul 1998, Martin Dean wrote:

> Hello.
> 
> When I try to install hylafax-4.0pl2-1rh5.i386.rpm I get the folowing error:
> 
> ghostscript-fonts >= 5.02 is needed by hylafax-4.0pl2-1rh5.i386.rpm.

**SIGH** HylaFAX runs fine with ghostscript of 3.33 just fine. Feel free to
over-ride this if you like.

> I had ghostscript 5.10 installed from src.

> Does anyone know where I can get the ghostscript fonts in rpm ?

I think this came from the ftp://ftp.redhat.com/pub/contrib/ directories.

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNa0jqT/+ItycgIJRAQG+sAP9Fi/XY8lmai3YKdEfDJHF+iR7Qtej5kEs
ki4C7jWYfOLpBpXkfy82waukozzRKUFkfwHeou1PpumCnRZp1dY50KnPngw183QQ
9kR1nYTsUp+2n3BGaC0k6ZCN2Rvdl+3guw2j4yPf0LK9vBiyO9RBHO4fo8D9EI7E
8OupTrdMymY=
=6pxU
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
cc: Martin Dean <martin.dean@crdgh.hnet.bc.ca>, flexfax@sgi.com
Subject: Re: flexfax: Re: Hylafax RPM and ghostscript fonts 
Date: Wed, 15 Jul 1998 22:59:50 +0100
From: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
Sender: owner-flexfax@celestial.com


>>>>> On Wed, 15 Jul 1998, "NKG" == Nico Kadel-Garcia wrote:

  NKG> It should be only 3.33 ghostscript or better required, as available in
  NKG> the default RedHat 5.0 distribution.

Nico and I disagree on this matter, and feelings were mixed in this discussion forum. For the time being (if you're using the RPM from my site), you are required to download the three 5.10 ghostscript RPMs, and do:

	rpm -Uvh ghostscript*.rpm

-Darren

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "John T. Willis" <jwillis@lcc.net>
Reply-To: unknown <unknown@lcc.net>
To: "'flexfax@sgi.com'" <flexfax@sgi.com>
Subject: flexfax: Pager Terminal Support
Date: Thu, 16 Jul 1998 10:51:47 -0600
Organization: LCC Communications
Sender: owner-flexfax@celestial.com


If anyone is working on adding this feature 
I'd like to hear from them.

I don't understand the current scheme
very well.. but I'm devoting all my time
to reading the source code.

Sincerely,
John T. Willis

jwillis@lcc.net

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 16 Jul 1998 21:55:09 -0500
To: flexfax@sgi.com
From: John Willis <jwillis@lcc.net>
Subject: flexfax: Paging Terminal Support progress
Sender: owner-flexfax@celestial.com


Well, 

Here's what I've learned in the last 48 hours.

So far that C++ is the worst langauge to read cold
turkey on earth.. I'd get further faster with gibberish.

I can't understand why people say its "better" than C..
sounds like a Redmond thing.

There "is" a way to enable syslog tracing.. and I've
disabled quite a few of the redundant modem initialization
procedures.. and gotten down to a point where it's 
saying 

PAGE FAILED: No initial ID response from paging central

I checked the binary digits coming from paging central and
they are the correct number (with no extra spaces).

I suspect the putModem command isn't working properly,
perhaps because the serial port wasn't opened by some 
obscurely named function.. boy notes in the code
sure would help... but now I know what clean code means..
no notes...

I've confirmed that termios.h was used.. but it looks to
be called from another bit of code relating to the "modem class?"

My next task is confirm there is a way to trace the session..
the docs online are very sketchy at best on this.. i.e. they
say it can be done, but not how... some of my worst memories 
of college were of people who forgot what it was like not 
knowning something and then repeatedly not explaining things..

still working on it.. should make a nice book when I'm finished.

jtw

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 16 Jul 1998 23:59:06 -0500
To: flexfax@sgi.com
From: John Willis <jwillis@lcc.net>
Subject: flexfax: PT trek
Sender: owner-flexfax@celestial.com


I never did figure out how to enable session tracing,
but I think that's because I haven't sucessfully
engaged a session.

Anyway, I tracked the problem down to 

ModemServer.c++

ModemServer::deduceModem()
{....
}

The problem "appears?" to be that a new class
is being declared that requires some declarations
in other far away parts of the code.

When its not declared .. the port doesn't open
and core dump...

How to track down the declarations?

Crystal Ball anyone?  C++ is very unforgiving..
it just lets you declare anonymous variables
all over the place and leaves no coherent trail.

Reminds me sorta of BASIC, only there you couldn't
reuse variable names.

I guess the next step is to try and figureout
what the heck a Class0Modem(*this, *this) is and
create one on the spot.. within the function..

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 17 Jul 1998 17:18:43 +1000
From: Damian Ivereigh <damian@cisco.com>
Organization: Cisco Systems Inc
To: John Willis <jwillis@lcc.net>
CC: flexfax@sgi.com
Subject: Re: flexfax: PT trek
Sender: owner-flexfax@celestial.com

Hi John,

I know what you mean. I am not a c++ hack either and have great
difficulty working out where all these damn variables come from.

As for the lack of comments. I think it would be perfectly reasonable to
send in a patch that purely adds comment entries. I don't see any reason
why people should have to go through the same agony more than once.

Keep going! It is basically a great system, and bit-by-painful-bit we
can make it an even better one!

Damian

John Willis wrote:
> 
> I never did figure out how to enable session tracing,
> but I think that's because I haven't sucessfully
> engaged a session.
> 
> Anyway, I tracked the problem down to
> 
> ModemServer.c++
> 
> ModemServer::deduceModem()
> {....
> }
> 
> The problem "appears?" to be that a new class
> is being declared that requires some declarations
> in other far away parts of the code.
> 
> When its not declared .. the port doesn't open
> and core dump...
> 
> How to track down the declarations?
> 
> Crystal Ball anyone?  C++ is very unforgiving..
> it just lets you declare anonymous variables
> all over the place and leaves no coherent trail.
> 
> Reminds me sorta of BASIC, only there you couldn't
> reuse variable names.
> 
> I guess the next step is to try and figureout
> what the heck a Class0Modem(*this, *this) is and
> create one on the spot.. within the function..

-- 
 ______________________________________________________________________
* Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
* MIS Printer Admin   *    .||||.    .||||.    * 408-526-4413          *
* Linux Bigot         * ..:||||||:..:||||||:.. * 800-800-1180 x64413   *
* damian@cisco.com    *   cisco Systems, Inc.  * Fax:   408-527-2563   *
*______________________________________________________________________*

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 17 Jul 1998 18:46:06 +0100
To: HylaFAX List <flexfax@sgi.com>
From: Phil Watkinson <pkw@elgro.co.uk>
Subject: Re: flexfax: PT trek
Sender: owner-flexfax@celestial.com

At 17:18 17/07/98 +1000, Damian Ivereigh <damian@cisco.com> wrote:
>[snip]
>As for the lack of comments. I think it would be perfectly reasonable to
>send in a patch that purely adds comment entries. I don't see any reason
>why people should have to go through the same agony more than once.
>
>[snip]

If people are thinking along these lines, I have found the 'doc++' system
of comments very useful. The home webpage is :

	http://www.zib.de/Visual/software/doc++/index.html

There is a very similar program called 'kdoc' (which I have not tried)
whose home page is situated at :

	http://www.ph.unimelb.edu.au/~ssk/kde/kdoc

Just a thought,

Phil Watkinson,
Boston, UK.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 17 Jul 1998 10:59:19 -0700 (PDT)
From: Anthony Talltree <aad@nwnet.net>
To: flexfax@sgi.com
Subject: Re: flexfax: Paging Terminal Support progress
Sender: owner-flexfax@celestial.com

>I can't understand why people say its "better" than C..

Some people need to feel superior to others, so they make up
justifications.  Most people who have some variant of Boa constrictor,
for example, adamantly deny that they have a common boa, insisting that
their animal is a "redtail".  

Then there's the marketing factor.  AT&T somehow managed to convince
people that C++ is object oriented, just like Microsoft got people to
refer to MS Windows 3.1 as an OS.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "GiuliovqQ==" <giulioo@tin.it>
To: <flexfax@sgi.com>
Subject: flexfax: Modem left with ATE0 instead of ATE1
Date: Tue, 14 Jul 1998 13:15:25 +0200
Sender: owner-flexfax@celestial.com

Linux 2.0.33, Hylafax4.0pl1, send-only environment.

I have setup my modem, class1 no brand,  with AT&D3 , so that it resets when
the line is disconnected.
The reset implies an ATE1.

With cu this works:
cu -l /dev/cua0
<echo is on>
ate0  <echo is off>
~.
cu -l /dev/cua0
<echo is on>

HylaFAX leaves the modem with ATE0, after sending a fax:
cu -l /dev/cua0
<echo is off>

How do I send a reset just before the end of a fax session so that I can
force the ATE1?
Or how do I set cu so that it doesn't comply for "character not echoed" when
doing a data call right after a fax transmission?

This is a a log (before starting the echo is on):
(root@i4 log)$ less c00000253
Jul 14 13:11:39.72: [22798]: SESSION BEGIN 00000253 39627670
Jul 14 13:11:39.72: [22798]: SEND FAX: JOB 285 DEST 0,627670 COMMID 00000253
Jul 14 13:11:39.72: [22798]: DELAY 2600 ms
Jul 14 13:11:42.84: [22798]: DELAY 300 ms
Jul 14 13:11:43.16: [22798]: <-- [15:ATE0V1Q0S0=0H0\r]
Jul 14 13:11:43.17: [22798]: --> [2:OK]
Jul 14 13:11:43.27: [22798]: DELAY 300 ms
Jul 14 13:11:43.58: [22798]: <-- [21:ATS8=2S7=60&K4&D3&C1\r]
Jul 14 13:11:43.59: [22798]: --> [2:OK]
Jul 14 13:11:43.59: [22798]: DELAY 300 ms
Jul 14 13:11:43.90: [22798]: <-- [12:AT+FCLASS=1\r]
Jul 14 13:11:43.91: [22798]: --> [2:OK]
Jul 14 13:11:43.91: [22798]: DELAY 300 ms
Jul 14 13:11:44.22: [22798]: <-- [5:ATM0\r]
Jul 14 13:11:44.23: [22798]: --> [2:OK]
Jul 14 13:11:44.23: [22798]: DELAY 300 ms
Jul 14 13:11:44.54: [22798]: <-- [12:AT+FCLASS=1\r]
Jul 14 13:11:44.65: [22798]: --> [2:OK]
Jul 14 13:11:44.65: [22798]: DIAL 0,627670
Jul 14 13:11:44.65: [22798]: DELAY 300 ms
Jul 14 13:11:44.96: [22798]: <-- [14:ATDT0,627670@\r]
fax stuff.........
Jul 14 13:12:24.64: [22798]: SEND send EOP (no more pages or documents)
Jul 14 13:12:24.64: [22798]: DELAY 300 ms
Jul 14 13:12:24.95: [22798]: <-- [9:AT+FTH=3\r]
Jul 14 13:12:25.00: [22798]: --> [7:CONNECT]
Jul 14 13:12:25.00: [22798]: <-- data [3]
Jul 14 13:12:25.00: [22798]: <-- data [2]
Jul 14 13:12:26.32: [22798]: --> [2:OK]
Jul 14 13:12:26.32: [22798]: DELAY 300 ms
Jul 14 13:12:26.63: [22798]: <-- [9:AT+FRH=3\r]
Jul 14 13:12:26.96: [22798]: --> [7:CONNECT]
Jul 14 13:12:27.66: [22798]: --> [2:OK]
Jul 14 13:12:27.66: [22798]: SEND recv MCF (message confirmation)
Jul 14 13:12:27.66: [22798]: SEND FAX (00000253): FROM cdi@i4 TO 0,627670
(page
1 of 1 sent in 0:13)
Jul 14 13:12:27.66: [22798]: SEND FAX (00000253): FROM cdi@i4 TO 0,627670
(docq/
doc286.ps;30 sent in 0:13)
Jul 14 13:12:27.66: [22798]: DELAY 300 ms
Jul 14 13:12:27.97: [22798]: <-- [9:AT+FTH=3\r]
Jul 14 13:12:28.02: [22798]: --> [7:CONNECT]
Jul 14 13:12:28.02: [22798]: <-- data [3]
Jul 14 13:12:28.02: [22798]: <-- data [2]
Jul 14 13:12:29.34: [22798]: --> [2:OK]
Jul 14 13:12:29.34: [22798]: DELAY 300 ms
Jul 14 13:12:29.65: [22798]: <-- [5:ATH0\r]
Jul 14 13:12:30.35: [22798]: --> [2:OK]
Jul 14 13:12:30.35: [22798]: SESSION END

Thanks.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Subject: flexfax: recommended fax-modems
Date: Tue, 14 Jul 1998 17:57:21 +0300
From: "Itamar S.-T." <itamars@ibm.net>
To: <flexfax@sgi.com>
Sender: owner-flexfax@celestial.com

What fax-modem would you suggest using with HylaFax, which is supported 
and works well?

My current one, a USR Sportster refuses to work, so I'm open to 
suggestions.


-------------------------------------------------------------------
 Itamar S.-T.                                      itamars@ibm.net

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Giulio" <giulioo@tin.it>
To: <flexfax@sgi.com>
Subject: flexfax: random  "MODEM WRITE ERROR: errno 5"
Date: Wed, 15 Jul 1998 16:27:31 +0200
Sender: owner-flexfax@celestial.com

Linux 2.0.33, Hylafax4.0pl1, USR sportster28800 external, send-only
environment.

Randomly Hylafax fails to send a fax because it cannot communicate well with
the modem, then (without modifying anything) I resend the same fax with the
same sendfax command and the fax is sent ok.
faxstat -dl reports "Unable to configure the modem".

Basically the modem seems not to respond to Hylafax commands:

This is a log of a failed fax:
Jul 15 16:24:15.58: [ 2859]: SESSION BEGIN 00000293 39627670
Jul 15 16:24:15.60: [ 2859]: SEND FAX: JOB 321 DEST 0,627670 COMMID 00000293

Jul 15 16:24:15.60: [ 2859]: DELAY 2600 ms
Jul 15 16:24:18.71: [ 2859]: DELAY 300 ms
Jul 15 16:24:19.02: [ 2859]: <-- [24:ATE0V1Q0S0=0H0\r]
Jul 15 16:24:19.02: [ 2859]: MODEM WRITE ERROR: errno 5
Jul 15 16:24:19.02: [ 2859]: DELAY 300 ms
Jul 15 16:24:19.33: [ 2859]: <-- [5:ATM0\r]
Jul 15 16:24:19.33: [ 2859]: MODEM WRITE ERROR: errno 5
Jul 15 16:24:19.33: [ 2859]: DELAY 300 ms
Jul 15 16:24:19.64: [ 2859]: <-- [12:AT+FCLASS=1\r]
Jul 15 16:24:19.64: [ 2859]: MODEM WRITE ERROR: errno 5
Jul 15 16:24:19.64: [ 2859]: SEND FAILED: Unable to configure modem for fax
use.....................and continues this way

What can I do?
The same modem work perfectly for outgoing data calls.

TIA.
Giulio.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 15 Jul 1998 12:24:37 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Giulio <giulioo@tin.it>
Cc: flexfax@sgi.com
Subject: Re: flexfax: random  "MODEM WRITE ERROR: errno 5"
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 15 Jul 1998, Giulio wrote:


> Linux 2.0.33, Hylafax4.0pl1, USR sportster28800 external, send-only
> environment.

Note: USR sucks, for many reasons.

> Randomly Hylafax fails to send a fax because it cannot communicate well with
> the modem, then (without modifying anything) I resend the same fax with the
> same sendfax command and the fax is sent ok.
> faxstat -dl reports "Unable to configure the modem".

It sounds like when you use the modem for data, it may be left in a
weird state that the fax software cannot properly re-initialize. This
is normally handled by faxgetty monitoring the line and
re-initializing the modem after you are done with it.

Are you running faxgetty? Have you checked out my HylaFAX notes for
RedHat Linux at http://cirl.meei.harvard.edu/hylafax/, or the new
RPM binaries at ftp://ftp.tpc.int/pub/hylafax/ ?

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNazXtT/+ItycgIJRAQFMjwP9GVrmuoawx61udF5LAsLji2fNfZtIGlhG
A4yAtNZrTXfEmF/Nh9yIocC5Q5HGhnPbnduTe2MHbY9gfqcEoT0rYhEnZt8+kltt
SZfBmk2PMc4ediemMD9gEqDPD/1yntQae2lCGm2+tUTSqjHRLgy+ddW9bgAJPlsF
w11aUxgYgg8=
=7FP0
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 16 Jul 1998 12:17:04 +0600
From: "Igor V. Lebedev" <adm@ural.ru>
Organization: UralWES
To: flexfax@sgi.com
Subject: flexfax: Problem whith ps2fax script..... on SCO
Sender: owner-flexfax@celestial.com

Hello!

I am successful install HylaFax binary on SCO OpenServer 5.0.0
 ( hylafax-sco3.2v5.0-v4.0pl2.cpio.gz ) , ghostscript 5.10 (
gs5.10-sco3.2v4.2-tar.gz ) and
all fonts for GS - ghostscript-fonts-other-5.10.tar.gz ;;
ghostscript-fonts-std-5.10.tar.gz

But whe I try send fax :
sendfax -n -d 491907  <<EOF
Hello world.
I like the binary distribution of
HylaFAX v4.0
EOF

receive error E-Mail message:
_________________
Your facsimile job to 491907 was not sent because document conversion
to facsimile failed.  The output from the converter program was:

bin/ps2fax: /usr/local/bin/gs: cannot execute
cat: output error (0 characters written): Broken pipe (error 32)
_________________

When try run ps2fax script whith sh -x  all work fine :
=================
+ test -f etc/setup.cache
+ . etc/setup.cache
AFMDIR=/usr/local/share/ghostscript/fonts
AWK=/usr/bin/nawk
BIN=/usr/local/HylaFAX-v4.0/bin
CAT=/bin/cat
CHGRP=/bin/chgrp
CHMOD=/bin/chmod
CHOWN=/bin/chown
CP=/bin/cp
DPSRIP=/usr/local/sbin/ps2fax.exe
ECHO=/bin/echo
GREP=/bin/grep
GSRIP=/usr/local/bin/gs
IMPRIP=/usr/lib/print/psrip
LIBDATA=/usr/local/HylaFAX-v4.0/lib
LIBEXEC=/usr/local/HylaFAX-v4.0/slib
LN=/bin/ln
MANDIR=/usr/local/HylaFAX-v4.0/man
MKFIFO=/bin/mkfifo
MV=/bin/mv
PATH=/bin:/usr/bin:/etc:/usr/local/bin
PATHEGETTY=/bin/egetty
PATHGETTY=/usr/local/etc/getty
PSPACKAGE=gs
RM=/bin/rm
SBIN=/usr/local/HylaFAX-v4.0/sbin
SCRIPT_SH=/bin/sh
SED=/bin/sed
SENDMAIL=/usr/lib/sendmail
SPOOL=/usr/local/HylaFAX-v4.0/spool
TIFFBIN=/usr/local/HylaFAX-v4.0/tiffbin
UUCP_LOCKDIR=/usr/spool/uucp
UUCP_LOCKTYPE=-ascii
PS=/usr/local/bin/gs
fil=
out=ps.fax
pagewidth=1728
pagelength=297
vres=98
device=tiffg3
+ test 1 != 0
fil= doc1.ps
+ shift
+ test 0 != 0
+ test -z  doc1.ps
paper=a4
+ /bin/cat + /usr/local/bin/gsdoc1.ps  -q
 -sDEVICE=tiffg3 -dNOPAUSE -dSAFER=true -sPAPERSIZE=a4 -r204x98
-sOutputFile=ps.fax -
================

What wrong in my system ?


Thanks for any help.
          Igor.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: tobbe@aahus.se
Date: Thu, 16 Jul 1998 10:34:38 +0200 (MEST)
Organization: hus StudioData
To: "Igor V. Lebedev" <adm@ural.ru>
Subject: RE: flexfax: Problem whith ps2fax script..... on SCO
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com


On 16-Jul-98 Igor V. Lebedev wrote:
>Hello!
>
>I am successful install HylaFax binary on SCO OpenServer 5.0.0
> ( hylafax-sco3.2v5.0-v4.0pl2.cpio.gz ) , ghostscript 5.10 (
>gs5.10-sco3.2v4.2-tar.gz ) and
>all fonts for GS - ghostscript-fonts-other-5.10.tar.gz ;;
>ghostscript-fonts-std-5.10.tar.gz
>
>But whe I try send fax :
>sendfax -n -d 491907  <<EOF
>Hello world.
>I like the binary distribution of
>HylaFAX v4.0
>EOF
>
>receive error E-Mail message:
>_________________
>Your facsimile job to 491907 was not sent because document conversion
>to facsimile failed.  The output from the converter program was:
>
>bin/ps2fax: /usr/local/bin/gs: cannot execute
>cat: output error (0 characters written): Broken pipe (error 32)
>_________________

Maybe you should take a look and see if the gs program really is installed in
/usr/local/bin and also check permissons on the file if its there.

I think that the result of ps2fax is piped to gs, ps2fax don't start gs by itse
lf, thats why the script works fine. 

>What wrong in my system ?
>
>
>Thanks for any help.
>          Igor.

----------------------------------
Thorbjvrn Eriksson
Tel: 0708-749382
E-Mail: <tobbe@aahus.se>
Date: 16-Jul-98
Time: 10:34:42

This message was sent by XFMail
----------------------------------

UNIX is user friendly. It's just selective about who its friends are.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: flexfax: random  "MODEM WRITE ERROR: errno 5"
To: giulioo@tin.it (Giulio)
Date: Sat, 18 Jul 1998 13:34:28 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> Jul 15 16:24:19.33: [ 2859]: MODEM WRITE ERROR: errno 5

Linux error 5 is a kernel level I/O error, so the initial presumption is
that you have serious hardware problems on the motherboard or the serial
interface card.  In any case, not a Hylafax problem.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 17 Jul 1998 14:31:36 +0700
From: Diana Dewi <d14na@cabi.net.id>
To: flexfax@sgi.com
Subject: flexfax: Faxaddmodem problems
Sender: owner-flexfax@celestial.com

Hi!
My name is Diana and i'm new with Hylafax. I have problem when
installong fax device fo hyalfax.
I use hylafax-v4.0pl2 and I compiled under BSDI ver3.0. I use modem
external Zyxel U1496-E.
When Faxaddmodem check speed of modem , it stop and then has message :
Probing for best speed to talk to modem:
Unable to deduce DTE-DCE speed; check that you are using the
correct device and/or that your modem is setup properly.  If
all else fails, try the -s option to lock the speed

thank you,
diana

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Sat, 18 Jul 1998 13:29:06 +1000
From: Damian Ivereigh <damian@cisco.com>
Organization: Cisco Systems Inc
To: Diana Dewi <d14na@cabi.net.id>
CC: flexfax@sgi.com
Subject: Re: flexfax: Faxaddmodem problems
Sender: owner-flexfax@celestial.com

Diana Dewi wrote:
> 
> Hi!
> My name is Diana and i'm new with Hylafax. I have problem when
> installong fax device fo hyalfax.
> I use hylafax-v4.0pl2 and I compiled under BSDI ver3.0. I use modem
> external Zyxel U1496-E.
> When Faxaddmodem check speed of modem , it stop and then has message :
> Probing for best speed to talk to modem:
> Unable to deduce DTE-DCE speed; check that you are using the
> correct device and/or that your modem is setup properly.  If
> all else fails, try the -s option to lock the speed
> 
> thank you,
> diana

Sounds to me like it can't see the modem at all. Check you are using the
right device name. Can you tip or cu to it OK (and type AT commands).
Check all your cables are good and connected into where you think they
are. If the worst comes to the worst, try running a DOS comms program
and check that it can talk to it OK.

Damian

-- 
 ______________________________________________________________________
* Damian Ivereigh     *      ||        ||      * Cisco Systems, Inc.   *
* MIS Printer Admin   *    .||||.    .||||.    * 408-526-4413          *
* Linux Bigot         * ..:||||||:..:||||||:.. * 800-800-1180 x64413   *
* damian@cisco.com    *   cisco Systems, Inc.  * Fax:   408-527-2563   *
*______________________________________________________________________*

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 17 Jul 1998 11:01:49 +0200
From: Thomas Wimmer <thomas@lcars.wh.uni-stuttgart.de>
To: flexfax@sgi.com
Subject: flexfax: WHFC: wrong email appears in faxcron
Sender: owner-flexfax@celestial.com

Hello.

I do use WHFC (0.8.9) for faxing from Windows-Computers (great program).

However, I noticed some irregularities:
Even I did enter my email correctly in the user-preferences
(thomas@lcars.wh.uni-stuttgart.de), the daily status-report mailed to me
via faxcron states the email as thomas@wh.uni-stuttgart.de, omitting the
host. (perhaps the part after the @ has too many "dots" ?)

Second thing: HylaFAX always sends "normal" faxes, even if I do check
the "Fine Print" box in WHFC.
Is this a known problem ? Or did I miss something ?


Thomas
-- 
Thomas Wimmer                    | When you're in a fight with an idiot,
http://lcars.wh.uni-stuttgart.de | its difficult for other people
thomas@lcars.wh.uni-stuttgart.de | to tell which one the idiot is.

*** ftp://lcars.wh.uni-stuttgart.de/pub/windows95_sucks.mp3 ***

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 20 Jul 1998 09:56:31 +0200
From: Ulrich Eckhardt <Ulrich.Eckhardt@transcom.de>
Organization: Transcom
To: Thomas Wimmer <thomas@lcars.wh.uni-stuttgart.de>
CC: flexfax@sgi.com
Subject: Re: flexfax: WHFC: wrong email appears in faxcron
X-MIME-Autoconverted: from 8bit to quoted-printable by sgi.sgi.com id AAA25515
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id RAA15870

Thomas Wimmer wrote:
> 
> Hello.
> 
> I do use WHFC (0.8.9) for faxing from Windows-Computers (great program).
> 
> However, I noticed some irregularities:
> Even I did enter my email correctly in the user-preferences
> (thomas@lcars.wh.uni-stuttgart.de), the daily status-report mailed to me
> via faxcron states the email as thomas@wh.uni-stuttgart.de, omitting the
> host. (perhaps the part after the @ has too many "dots" ?)

Hi,

the WHFC E-Mail part has nothing to do with HylaFAX scripts like
faxrunq etc. You have to set this e-mail adresses in HylaFAX itselve.

> Second thing: HylaFAX always sends "normal" faxes, even if I do check
> the "Fine Print" box in WHFC.
> Is this a known problem ? Or did I miss something ?
 
Normaly this should work. Have you checked the setup of the HylaFAX
server
and are you shure that the machine you send the fax to, is able to
receive
faxes with 196lpi ?

Uli
-- 
Ulrich Eckhardt       http://people.frankfurt.netsurf.de/uli
Signalgrotat des wu-ftpd 2,4 (unvollstndig?)
Cgi-Sicherheitsbohrung in EWS (regen Sie fr Webservers auf)
[Translation from an english text to german by AltaVista]

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 15 Jul 1998 23:33:35 +0200
From: Thomas Wimmer <thomas@lcars.wh.uni-stuttgart.de>
To: flexfax@sgi.com
Subject: flexfax: what does faxgetty do after having received a fax ?
Sender: owner-flexfax@celestial.com

Hello

After having received a fax, which skripts does faxgetty call (with
which arguments) ?

background: I do use mgetty/vgetty for incoming calls, and I do want to
have the incoming faxes presented to hylafax as if its own getty would
have received it (eg. putting it in the right directory, converting it,
sending notification etc.).

Thanks a lot


Thomas
btw, if someone succeded in using faxgetty as the getty which picks up
the phone and handling voice-calls over to vgetty, please let me know
-- 
Thomas Wimmer                    | When you're in a fight with an idiot,
http://lcars.wh.uni-stuttgart.de | its difficult for other people
thomas@lcars.wh.uni-stuttgart.de | to tell which one the idiot is.

*** ftp://lcars.wh.uni-stuttgart.de/pub/windows95_sucks.mp3 ***

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 16 Jul 1998 09:14:55 +0200
From: Matthias Apitz <Matthias.Apitz@Sisis.de>
To: Damian Ivereigh <damian@cisco.com>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Patch to allow the entry of a voice number into sendfax
Sender: owner-flexfax@celestial.com

On Wed, Jul 15, 1998 at 12:35:14PM +1000, Damian Ivereigh wrote:
> Here is a patch that allows the entry of a voice number into sendfax
> that will appear on the cover page. The option used is '-V'. I hope the
> patch is the right way round (if not use the -R). Amazingly all the code
> seemed to be already there - it just needed turning on!
> 
> The patch requires you be in the sendfax directory

Thanks. I'll have a look and integrated it into pl3;

	matthias

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Giulio" <giuliox@tin.it>
To: <flexfax@sgi.com>
Subject: flexfax: faxgetty outputs to the prompt!!
Date: Thu, 16 Jul 1998 22:08:00 -0000
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id HAA11982

Linux 2.0.33 Sportster 28.8  and Courier HST Dual Standard, HylaFAX4.0pl1.

I read it's useful to let faxgetty manage the modem (even in a send-only environment) so I run faxsetup and let it put faxgetty in inittab.
Now the modem is "wedged" and when faxgetty tries to set up the modem it outputs to the normal unix prompt so that, when I'm doing something else, all of a sudden this is what I get

[root@b etc]#
OK
 
OK
 
OK
 
OK
 ...

and keeps going forever.

Suggestions?

TIA

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Organization:  Business Innovation Centre - Italy
Date: Fri, 17 Jul 1998 13:35:24 +0200
From: Romolo Manfredini <romolo@bicnet.it>
To: flexfax@sgi.com
Subject: flexfax: receiving unlimited page length ...
Sender: owner-flexfax@celestial.com

Is there any way to force hylafax to split unlimited page length
documents to A4 while receiving ?
I got a lot of problems while printing this kind of document.
on the other side: is there any way to tell remote to do not send this
kind of documents ?

Best Regards,
Romolo Manfredini
romolo@bicnet.it

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Joseph McKinnon <joe@markinson.com.au>
To: "'flexfax@sgi.com'" <flexfax@sgi.com>
Subject: flexfax: Fax Headers
Date: Fri, 17 Jul 1998 10:29:06 +1000
Sender: owner-flexfax@celestial.com

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.1960.3">
<TITLE>Fax Headers</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">This is most likely an old hat question, but we really need to know if there is an easy way to have</FONT>
<BR><FONT SIZE=2 FACE="Arial">multiple fax headers that can be selected by a call process when sending a fax.&nbsp; I'm aware of the FAXCOVER environment setting, however we would really like to pass on the command line to the fax software the name of the faxheader along with the text of the fax.&nbsp; Has anyone done this?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Also, whilst trying to get this operational I've noticed that the fax headers and text get sent separately, is there a way to have the faxheader and text body on a single A4 sheet of paper, with any overflow of text being sent on a separate page?</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Regards Joe.</FONT>
</P>

<P><FONT SIZE=2 FACE="Tahoma">Joseph McKinnon BSc</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Technical Specialist</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Markinson Technologies</FONT>
<BR><FONT SIZE=2 FACE="Tahoma">Phone (07) 3808-1555&nbsp;&nbsp;&nbsp; Fax (07) 3808-1436</FONT>
</P>

</BODY>
</HTML></x-html>
X-Sender: mdean@cs111.crdgh.hnet.bc.ca
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
Date: Fri, 17 Jul 1998 10:06:54 -0700
To: flexfax@sgi.com
From: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Subject: flexfax: Help: Typerules converting evrything to postscript
Sender: owner-flexfax@celestial.com

Hi.

Everything I submit for faxing is converted to postscript, even files that are already postscript or in tiffg3 format.

I suspect the problem is with the typerules file. 

Any comments, ideas ?


Details: 	Pentium
		Redhat 5.1, 
		2.0.34 kernel
		ghostscript-5.10-6
		ghostscript-fonts-std-5.10-6
		ghostscript-fonts-other-5.10-6
		hylafax-4.0pl2-1rh5

######### Stert of /usr/share/fax/typerules ###############################
#	$Id: typerules,v 1.1 1998/05/27 01:15:30 darren Exp darren $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
#
# stuff deleted
#
##offset	datatype	match		result	rule
0	string		%!		ps
0	short		0x4d4d		tiff
0	short		0x4949		tiff
#
0	short		000732		tiff	%F/sgi2fax -%f -o %o -v %V\
						  -s %s %i
0	short		017436		error	packed data
0	short		017635		error	compressed data
0	short		0x0506		ps	showcase -p -f %i
0	short		0x5343		ps	showcase -p -f %i
0	short		0xf702		ps	dvips -q -o %o %i
0	string		GIF		tiff
>3	string		87a		tiff	gif2tiff -%f -v %V %i %o
>3 	string		89a		error	GIF (version 89a)
0	long		0x59a66a95	tiff	ras2tiff -%f -v %V %i %o
#
# NB: psdit is the Adobe Transcript program for converting ditroff output
0	string		x T psc		ps	psdit <%i >%o
#
# These are from the PBMPLUS package's auxiliary magic numbers file
# Most of these entries use the "string" format so that they will work on
# both big-endian and little-endian machines.
#
0	string		begin		error	uuencoded file
0	string		xbtoa		error	btoa'd file
0	string		P1		error	PBM file
0	string		P2		error	PGM file
0	string		P3		error	PPM file
0	string		P4		error	PBM "rawbits" file
0	string		P5		error	PGM "rawbits" file
0	string		P6		error	PPM "rawbits" file
#
0	string		WNGZWZSS	error	Wingz spreadsheet
0       string          #Inventor V	error	IRIS Inventor file 
>15     string          binary		error	binary IRIS Inventor file
>15     string          ascii		ps	%F/textfmt -B -f Courier-Bold\
						    -p 11 -s %s >%o <%i
#
# This causes anything else with ascii-only data to be treated as text.
#
0	ascii		x		ps	%F/textfmt -B -f Courier-Bold\
						    -Ml=0.5 -p 11 -s %s >%o <%i
############### End of typerules ########################################


Thanks for any help.

Martin

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
cc: flexfax@sgi.com
Subject: Re: flexfax: Help: Typerules converting evrything to postscript 
Date: Fri, 17 Jul 1998 20:41:00 +0100
From: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
Sender: owner-flexfax@celestial.com

In message <3.0.5.32.19980717100654.007d68e0@cs111.crdgh.hnet.bc.ca>, Martin De
an writes:
>Hi.
>
>Everything I submit for faxing is converted to postscript, even files that are
> already postscript or in tiffg3 format.
>
>I suspect the problem is with the typerules file. 
>
>Any comments, ideas ?
>
>
>Details: 	Pentium
>		Redhat 5.1, 
>		2.0.34 kernel
>		ghostscript-5.10-6
>		ghostscript-fonts-std-5.10-6
>		ghostscript-fonts-other-5.10-6
>		hylafax-4.0pl2-1rh5


Gee, I _REALLY_ wish you wouldn't keep asking both me, in private mail, and then the list. I'm doing everything in duplicate here.

Please, choose a forum!

You are labouring under a false assumption, that ghostscript should NOT be called for a lot of these files (this from private mail). It does get called for rasterisation all the time ;-) check out ps2fax and tiff2fax for instance.Your primary concern, that ghostscript was firing up way too much and must be frigging up your pics is a non-issue. It's normal.

I suspect that your files themselves are at fault, that HylaFAX is somehow not able to type them because they do not contain the correct "magic" signatures. I further suspect that these files may have come from your Windows machine and have been corrupted in the transfer. This or you have indeed messed up typerules somehow. Have you modified this file (too lazy to extract your attached file and diff it).

Can you do

file yourfile.ps

on a postscript file which does not FAX properly and let me know what you see?

Then, also try to send this fax again, this time doing

sendfax -vv -d########### < myfile.ps

And send me (or us, whichever you decide on) the exact output, pasted in from your UNIX machine, so that there can be no errors (I see you're using Eudora on Windows!).

-Darren

-- 
Mr. Arlington Hewes           (tpcadmin@info.tpc.int)
The TPC.INT Subdomain          (http://www.tpc.int/)

       **************************************************
       ***  FOR GENERAL INFORMATION                   ***
       ***         mailto:tpcfaq@info.tpc.int         ***
       ***  FOR A LIST OF CURRENT COVERAGE            ***
       ***         mailto:tpccover@info.tpc.int       ***
       ***  TO REPORT A PROBLEM (read the FAQ first!) ***
       ***         mailto:support@info.tpc.int        ***
       **************************************************

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: flexfax@sgi.com
From: Sascha Ottolski <alzhimer@cs.tu-berlin.de>
Subject: flexfax: offering documents for polling with hylafax?
Date: Fri, 17 Jul 1998 14:40:51 +0200
Sender: owner-flexfax@celestial.com

Hi,

I know that I can use hylafax to poll documents, but is it possible the other 
way round? i.e. let others poll documents that I put on my hylafax-server?

Greetings, Sascha

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 20 Jul 1998 08:54:22 +0800 (HKT)
From: Hong Kong Observatory <d1swdev@asiaonline.net>
To: Sascha Ottolski <alzhimer@cs.tu-berlin.de>
cc: flexfax@sgi.com
Subject: Re: flexfax: offering documents for polling with hylafax?
Sender: owner-flexfax@celestial.com



On Fri, 17 Jul 1998, Sascha Ottolski wrote:

> Hi,
>
> I know that I can use hylafax to poll documents, but is it possible the other
> way round? i.e. let others poll documents that I put on my hylafax-server?
>
> Greetings, Sascha
>
>

Sorry NO !!

K.S.Wat SSA(D)12
Computer Division,
Hong Kong Observatory.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 17 Jul 1998 13:45:13 -0700
To: flexfax@sgi.com
From: Martin Dean <martin.dean@crdgh.hnet.bc.ca>
Subject: flexfax: Sending Postscript Fax via email
Sender: owner-flexfax@celestial.com

Hello.

When I mail a document which is already in postscript form, it comes out as postscript!

This works great:
$sendfax -n -d 9999999 wptest.ps 

This comes out as a bunch of postscript lines
$sendmail < wptest.ps WPTEST@9999999.fax


Here i the relevent info from /etc/sendmail.cf

####################################
###   FAX Mailer specification   ###
####################################

#####  @(#)fax.m4	8.6 (Berkeley) 7/6/97  #####

Mfax,		P=/usr/local/bin/faxmail, F=DFMhu, S=14, R=24, M=100000, T=X-Phone/X-FAX/X-Unix,
		A=faxmail -d $u@$h $f


########### End ########################3

Any ideas on how I can send a postscript fax via email ?


Martin

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 20 Jul 98 00:44:18 EDT
From: gary@sabot.com (Gary Sabot)
To: flexfax@sgi.com
Subject: flexfax: trace debugging help?
Sender: owner-flexfax@celestial.com


I'm installing HylaFAX v4.0pl2 on Solaris 2.6/ultra 60 using gcc 2.8.1
(with the hylafax-gcc-2.8.x.sh patches).

I can talk to the modem fine with tip.  I set up hylafax outgoing
only, with no other monitors interfering with it, but it can't seem to
talk to the modem (multitech 5634zbav).  Right after a I do a send,
the modem lights briefly flicker, then nothing, then a message from
Hylafax that repeated attempts to initialize the modem have failed.

There are no new files in /var/spool/fax/log, even though my config
file sets ServerTracing to 11.

Can someone advice me how to proceed from here in my troubleshooting?

Thanks.

--gary
_______________________________________________________
Gary Sabot              |  Voice:    (781) 647-7776
Sabot Associates, Inc.  |  FAX:      (781) 647-7779
10 Carroll Circle       |  Internet: gary@sabot.com
Weston, MA 02493  USA   |  
-------------------------------------------------------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 20 Jul 98 14:31:25 EDT
From: gary@sabot.com (Gary Sabot)
To: dgautheron@magic.fr
Cc: flexfax@sgi.com
Subject: Re: flexfax: trace debugging help?
Sender: owner-flexfax@celestial.com


   Sender: didier@venise.magic.fr
   Date: Mon, 20 Jul 1998 17:23:40 +0000
   From: Didier Gautheron <dgautheron@magic.fr>
   X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.1.103 i686)
   Mime-Version: 1.0
   Cc: flexfax@sgi.com
   References: <9807200444.AA07308@sabot.com>
   Content-Type: text/plain; charset=us-ascii
   Content-Transfer-Encoding: 7bit

   Gary Sabot wrote:
   > 
   > I'm installing HylaFAX v4.0pl2 on Solaris 2.6/ultra 60 using gcc 2.8.1
   > (with the hylafax-gcc-2.8.x.sh patches).
   > 
   > I can talk to the modem fine with tip.  I set up hylafax outgoing
   > only, with no other monitors interfering with it, but it can't seem to
   > talk to the modem (multitech 5634zbav).  Right after a I do a send,
   > the modem lights briefly flicker, then nothing, then a message from
   > Hylafax that repeated attempts to initialize the modem have failed.
   > 
   > There are no new files in /var/spool/fax/log, even though my config
   You get only one when sending or receiving a fax and you aren't going to
   this stage.
   You'll find the messages in the syslog deamon files, (if you're using
   it).

Since I saw messages from the fax daemon in /var/adm/messages, I
mistakenly assumed that debug messages would appear there without
further syslog work.  After I did set up a .debug syslog.conf entry, I
was able to read the debug and find the problem in my config file,
some garbage that I think faxaddmodem (or my errant fingers) had
inserted in the middle of modem command.

Thanks to everyone for the quick and helpful responses!

Also, it turns out that the multitech 5634zbav uses a different
chipset than the old multitech default config file, so the hardware
flow commands are different.  In case any one else can use this info,
here is my attempt to turn my config file into a generic one:


# $Id: mt-1432,v 1.23 1996/06/24 02:58:36 sam Rel $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
# 
# Permission to use, copy, modify, distribute, and sell this software and 
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
# 
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
# 
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
# OF THIS SOFTWARE.
#

#
# Configuration for a Multi-Tech MT5634zbav:
#
# has lucent chipset
#
# The modem has been tried with RTS/CTS flow
# control; this configuration is for hardware flow control.
#
#
# CONFIG: CLASS2: Multi-Tech-MT5634ZBAV-RTSCTS
#
# BEGIN-SERVER
# END-SERVER
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2		# use class 2 interface
ModemRate:		115200		# lock rate for DCE-DTE communication
ModemFlowControl:	rtscts		# default
#
ModemHardFlowCmd:	AT&K3		# hardware flow controlK3
ModemSoftFlowCmd:	AT&K4		# software flow controlK4
ModemSetupDTRCmd:	AT&D3		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
ModemSetupAACmd:	AT+FAA=1	# enable adaptive-answer in class 2
#
# NB: some models get confused by the @
#
ModemDialCmd:		ATDT%s@		# T for tone dialing, @ for silence
#
Class2RecvDataTrigger:	"\022"		# character sent to modem to start recv

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 20 Jul 1998 17:23:40 +0000
From: Didier Gautheron <dgautheron@magic.fr>
To: Gary Sabot <gary@sabot.com>
CC: flexfax@sgi.com
Subject: Re: flexfax: trace debugging help?
Sender: owner-flexfax@celestial.com

Gary Sabot wrote:
> 
> I'm installing HylaFAX v4.0pl2 on Solaris 2.6/ultra 60 using gcc 2.8.1
> (with the hylafax-gcc-2.8.x.sh patches).
> 
> I can talk to the modem fine with tip.  I set up hylafax outgoing
> only, with no other monitors interfering with it, but it can't seem to
> talk to the modem (multitech 5634zbav).  Right after a I do a send,
> the modem lights briefly flicker, then nothing, then a message from
> Hylafax that repeated attempts to initialize the modem have failed.
> 
> There are no new files in /var/spool/fax/log, even though my config
You get only one when sending or receiving a fax and you aren't going to
this stage.
You'll find the messages in the syslog deamon files, (if you're using
it).

> file sets ServerTracing to 11.

Which one ? There're 3 ServerTracing in Hylafax config :)
/usr/local/lib/fax/hfaxd.conf

/var/spool/fax/etc/config
Use it without faxgetty? 

/var/spool/fax/etc/config.<modem>
with faxgetty use this one and log via syslog:info

Maybe you have a problem in your config.<modem> , your modem dislikes
some AT commands.

Didier

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 20 Jul 1998 21:15:21 -0400 (EDT)
From: J Kinsley <jkinsley@beyond-the-illusion.com>
To: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
cc: flexfax@sgi.com
Subject: Re: flexfax: hylafax and diald
Sender: owner-flexfax@celestial.com

I'd placed AT&F in my ppp/diald chat script yesterday and it did
not fix the problem.  However, when I tried it again, it did fix
the problem, and now everything works properly.

Regards,
Jerry


On Mon, 20 Jul 1998, Nico Kadel-Garcia wrote:

<snip>
> There have been anumber of configuration changes in the bi8naries.
> I suggest you examine the config.??? files, and look for changes.
> In particular, consider putting "AT&F" at the beginning of
> your dial-out initialization string to put it in factory default
> mode rather than whatever state HylaFAX left it in last.
> 
> > In addition, if I run minicom while faxgetty is running, it does
> > not initilize properly upon startup.  I must issue a manual
> > initilize command (^a-m).  I've turned up the logging level on
> > hylafax, but nothing appears out of the ordinary.
> 
> See above.
> 
> 
> 			Nico Garcia
> 			Senior Engineer, CIRL
> 			Mass. Eye and Ear Infirmary
> 			raoul@cirl.meei.harvard.edu
> 
> --

--
         "J Kinsley" <jkinsley at BeYoND-THe-iLLuSioN dot CoM>
***********************************************************************
** On  a  planet  that  increasingly  resembles  one  huge  Maximum ***
** Security Prison, the only intelligent [and logical] choice is to ***
** plan a Jail Break -- Robert Anton Wilson (Cosmic Trigger II)     ***
***********************************************************************
[IX] >> (([I]+[II])+>([VI]+[XIV]+[XI])+>([V]+[XXI])) => (I=II+V) >>> IX

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 20 Jul 1998 18:35:26 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: J Kinsley <jkinsley@beyond-the-illusion.com>
Cc: flexfax@sgi.com
Subject: Re: flexfax: hylafax and diald
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 20 Jul 1998, J Kinsley wrote:

> I've gotten diald working by itself, and I've gotten hylafax
> working by itself.  However, when I have faxgetty controlling the
> modem, diald no longer works.  The reason being, after dialing
> the number (my ISP), the modem begins sending originating fax
> tones.  The remote picks up, hears the fax tones and terminates
> the call.  I have no idea what is causing this since the
> configuration files are backups of the ones that were working a
> week ago.  The only difference between now and then are the
> hylafax binaries I'm running.  Before I was running a set
> compiled locally (before installing pgcc), and since those were
> on one of the smoked hard drives, now I'm running the set from
> redhat contrib.  

There have been anumber of configuration changes in the bi8naries.
I suggest you examine the config.??? files, and look for changes.
In particular, consider putting "AT&F" at the beginning of
your dial-out initialization string to put it in factory default
mode rather than whatever state HylaFAX left it in last.

> In addition, if I run minicom while faxgetty is running, it does
> not initilize properly upon startup.  I must issue a manual
> initilize command (^a-m).  I've turned up the logging level on
> hylafax, but nothing appears out of the ordinary.

See above.


			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNbPFqj/+ItycgIJRAQGZhwP/QUPjFqViXgooFcnYmgG2OZSSTSTMlTaB
1EuFWhe5lygTD53P3NUT9/lZbzl4ognqLdR7DBF0UPrLT/cgKWxDJhgV86ccIZW7
VVhDzVuU+nwERI6mVDiyYoNJIPvj0YSa1yCk6tO1OWIoingbIvDeBQZ0Mw2+xZk3
rfDuPibA7mw=
=XsHE
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 20 Jul 1998 17:29:29 -0400 (EDT)
From: J Kinsley <jkinsley@beyond-the-illusion.com>
To: flexfax@sgi.com
Subject: flexfax: hylafax and diald
Sender: owner-flexfax@celestial.com

RedHat 5.1 (2.0.34-i586)
pgcc-1.0.3a w/ libg++-2.8.2-980708
glibc-2.0.7-13
hylafax-4.0pl1
diald-0.16.5
Zoom FaxModem 56Kx 2949 (V2.081-K56_2M_DLS-D V201)


After over a year running hylafax, mgetty, diald, and ifmail
(fido) on my home Linux box, it suffered a rather violent death
last week (Complete with explosion, smoke, and the stench of
burnt electronic parts).  After spending the weekend building a
new box, I have encountered the following problem.

I've gotten diald working by itself, and I've gotten hylafax
working by itself.  However, when I have faxgetty controlling the
modem, diald no longer works.  The reason being, after dialing
the number (my ISP), the modem begins sending originating fax
tones.  The remote picks up, hears the fax tones and terminates
the call.  I have no idea what is causing this since the
configuration files are backups of the ones that were working a
week ago.  The only difference between now and then are the
hylafax binaries I'm running.  Before I was running a set
compiled locally (before installing pgcc), and since those were
on one of the smoked hard drives, now I'm running the set from
redhat contrib.  

In addition, if I run minicom while faxgetty is running, it does
not initilize properly upon startup.  I must issue a manual
initilize command (^a-m).  I've turned up the logging level on
hylafax, but nothing appears out of the ordinary.

Any aelp would be greatly appreciated, and if copies of logs or
cnfigs are needwd, I'll send them privatly instead of waste
bandwidth on the list.

Regards,
Jarrod Kinsley


--
         "J Kinsley" <jkinsley at BeYoND-THe-iLLuSioN dot CoM>
***********************************************************************
** On  a  planet  that  increasingly  resembles  one  huge  Maximum ***
** Security Prison, the only intelligent [and logical] choice is to ***
** plan a Jail Break -- Robert Anton Wilson (Cosmic Trigger II)     ***
***********************************************************************

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 20 Jul 98 14:38:51 EDT
From: gary@sabot.com (Gary Sabot)
To: flexfax@sgi.com
Subject: flexfax: sun se0: Buffer overrun problem; serial port hardware recommendations
Sender: owner-flexfax@celestial.com


I've encounted a sun solaris 2.6/ultra60 bug, bug id 4148839:
   "WARNING: se0: Buffer overrun"

It causes hylafax to receive faxes that result in lots of fax2ps
errors followed by scrambled/shredded output, as if horizontal hold on
a TV was misadjusted.  Everything else works fine.

I believe I have hardware flow control set up correctly, especially
since Sun's method of replicating this bug does not involve hylafax
(and I get it from uucp too, but uucp error correction handles it OK).
Since the bug seems to just happen with new hardware and software and
first appeared on sunsolve a few days ago, it may be a while till
there is a fix.


Can anyone recommend a way to easily add one or two serial ports?  Any
good or bad experiences with particular brands of SCSI, ethernet, or
PCI add-ons?  They all seem to cost a few hundred dollars, but
ethernet seems like it might be the easiest to configure.

--gary
_______________________________________________________
Gary Sabot              |  Voice:    (781) 647-7776
Sabot Associates, Inc.  |  FAX:      (781) 647-7779
10 Carroll Circle       |  Internet: gary@sabot.com
Weston, MA 02493  USA   |  
-------------------------------------------------------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 20 Jul 1998 12:00:47 -0700 (PDT)
From: Haral Tsitsivas <haral@unisol.com>
To: flexfax@celestial.com
Cc: haral@unisol.com
Subject: flexfax: Document was encoded with 2DMR, but modem does not support this data format
Sender: owner-flexfax@celestial.com

I have been using Hylafax on and off (after fixing the Phase B error
for my Sporster 56K modem) for a while (outgoing only)...  Today, I tried
to send a FAX and it failed with the error:

Document was encoded with 2DMR, but modem does not support this data format

I have sent FAXes to that machine before from Hylafax and I didn't have 
any problem.  Why is there a problem now?

BTW, I am using Hylafax v4.0pl1 on Solaris 2.6 (the binary version 
from SGI's ftp site for hylafax-sparc-sunos5.5-v4.0pl1-pkg)...

Here is the complete fax log transcript:

Jul 20 11:28:32.38: [ 9599]: SESSION BEGIN 00000045 19494435354
Jul 20 11:28:32.39: [ 9599]: SEND FAX: JOB 22 DEST 4435354 COMMID 00000045
Jul 20 11:28:32.40: [ 9599]: DELAY 2600 ms
Jul 20 11:28:35.02: [ 9599]: <-- [17:ATE0V1Q0X4S0=0H0\r]
Jul 20 11:28:35.16: [ 9599]: --> [16:ATE0V1Q0X4S0=0H0]
Jul 20 11:28:35.16: [ 9599]: --> [2:OK]
Jul 20 11:28:35.16: [ 9599]: <-- [32:ATS8=2S7=60&H1&I0&R2S13=1&D2&C1\r]
Jul 20 11:28:35.31: [ 9599]: --> [2:OK]
Jul 20 11:28:35.31: [ 9599]: <-- [14:AT+FCLASS=2.0\r]
Jul 20 11:28:35.45: [ 9599]: --> [2:OK]
Jul 20 11:28:35.45: [ 9599]: <-- [9:AT+FLO=2\r]
Jul 20 11:28:35.59: [ 9599]: --> [2:OK]
Jul 20 11:28:35.59: [ 9599]: <-- [9:AT+FPP=0\r]
Jul 20 11:28:35.73: [ 9599]: --> [2:OK]
Jul 20 11:28:35.73: [ 9599]: <-- [9:AT+FBO=0\r]
Jul 20 11:28:35.87: [ 9599]: --> [2:OK]
Jul 20 11:28:35.87: [ 9599]: <-- [10:AT+FCT=30\r]
Jul 20 11:28:36.01: [ 9599]: --> [2:OK]
Jul 20 11:28:36.01: [ 9599]: <-- [15:AT+FNR=1,1,1,0\r]
Jul 20 11:28:36.15: [ 9599]: --> [2:OK]
Jul 20 11:28:36.15: [ 9599]: <-- [9:AT+FIE=0\r]
Jul 20 11:28:36.29: [ 9599]: --> [2:OK]
Jul 20 11:28:36.29: [ 9599]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Jul 20 11:28:36.43: [ 9599]: --> [2:OK]
Jul 20 11:28:36.43: [ 9599]: <-- [5:ATM0\r]
Jul 20 11:28:36.57: [ 9599]: --> [2:OK]
Jul 20 11:28:36.59: [ 9599]: <-- [14:AT+FCLASS=2.0\r]
Jul 20 11:28:36.83: [ 9599]: --> [2:OK]
Jul 20 11:28:36.83: [ 9599]: <-- [9:AT+FLO=2\r]
Jul 20 11:28:37.07: [ 9599]: --> [2:OK]
Jul 20 11:28:37.07: [ 9599]: <-- [9:AT+FPP=0\r]
Jul 20 11:28:37.31: [ 9599]: --> [2:OK]
Jul 20 11:28:37.31: [ 9599]: <-- [9:AT+FBO=0\r]
Jul 20 11:28:37.55: [ 9599]: --> [2:OK]
Jul 20 11:28:37.55: [ 9599]: <-- [10:AT+FCT=30\r]
Jul 20 11:28:37.79: [ 9599]: --> [2:OK]
Jul 20 11:28:37.79: [ 9599]: <-- [15:AT+FNR=1,1,1,0\r]
Jul 20 11:28:38.04: [ 9599]: --> [2:OK]
Jul 20 11:28:38.04: [ 9599]: <-- [9:AT+FIE=0\r]
Jul 20 11:28:38.28: [ 9599]: --> [2:OK]
Jul 20 11:28:38.28: [ 9599]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Jul 20 11:28:38.52: [ 9599]: --> [2:OK]
Jul 20 11:28:38.52: [ 9599]: <-- [30:AT+FLI="UniSolutions Associa"\r]
Jul 20 11:28:38.77: [ 9599]: --> [2:OK]
Jul 20 11:28:38.78: [ 9599]: DIAL 4435354
Jul 20 11:28:38.78: [ 9599]: <-- [12:ATDT4435354\r]
Jul 20 11:28:53.11: [ 9599]: --> [4:+FCO]
Jul 20 11:28:55.57: [ 9599]: --> [27:+FCI:"          7144435354"]
Jul 20 11:28:55.57: [ 9599]: REMOTE CSI "7144435354"
Jul 20 11:28:55.57: [ 9599]: --> [20:+FIS:1,5,0,2,1,0,0,3]
Jul 20 11:28:55.57: [ 9599]: --> [2:OK]
Jul 20 11:28:55.57: [ 9599]: REMOTE best rate 14400 bit/s
Jul 20 11:28:55.58: [ 9599]: REMOTE max page width 1728 pixels in 215 mm
Jul 20 11:28:55.58: [ 9599]: REMOTE max unlimited page length 
Jul 20 11:28:55.58: [ 9599]: REMOTE best vres 7.7 line/mm
Jul 20 11:28:55.58: [ 9599]: REMOTE best format 2-D MR
Jul 20 11:28:55.58: [ 9599]: REMOTE best 10 ms/scanline
Jul 20 11:28:55.58: [ 9599]: USE 14400 bit/s
Jul 20 11:28:55.58: [ 9599]: USE 10 ms/scanline
Jul 20 11:28:55.59: [ 9599]: SEND file "docq/doc36.ps;71"
Jul 20 11:28:55.60: [ 9599]: Document was encoded with 2DMR, but modem does not support this data format
Jul 20 11:28:55.61: [ 9599]: <-- [5:ATH0\r]
Jul 20 11:28:55.85: [ 9599]: --> [2:OK]
Jul 20 11:28:55.86: [ 9599]: SESSION END

BTW, looking at earlier logs, I noticed that although the remote machine said
2-D MR was best, Hylafax was using 1-D MR...

The log from a month ago showed:

Jun 26 13:42:46.07: [21078]: REMOTE best rate 14400 bit/s
Jun 26 13:42:46.08: [21078]: REMOTE max page width 1728 pixels in 215 mm
Jun 26 13:42:46.08: [21078]: REMOTE max unlimited page length 
Jun 26 13:42:46.08: [21078]: REMOTE best vres 7.7 line/mm
Jun 26 13:42:46.08: [21078]: REMOTE best format 2-D MR
Jun 26 13:42:46.08: [21078]: REMOTE best 10 ms/scanline
Jun 26 13:42:46.08: [21078]: USE 14400 bit/s
Jun 26 13:42:46.08: [21078]: USE 10 ms/scanline
Jun 26 13:42:46.09: [21078]: SEND file "docq/doc33.ps;31"
Jun 26 13:42:46.16: [21078]: USE page width 1728 pixels in 215 mm
Jun 26 13:42:46.16: [21078]: USE unlimited page length 
Jun 26 13:42:46.16: [21078]: USE 7.7 line/mm
Jun 26 13:42:46.17: [21078]: USE 1-D MR
Jun 26 13:42:46.17: [21078]: <-- [23:AT+FIS=1,5,0,2,0,0,0,3\r]
Jun 26 13:42:46.41: [21078]: --> [2:OK]
Jun 26 13:42:46.41: [21078]: <-- [7:AT+FDT\r]
Jun 26 13:42:46.69: [21078]: --> [20:+FCS:1,5,0,2,0,0,0,3]
Jun 26 13:42:53.47: [21078]: --> [7:CONNECT]
Jun 26 13:42:53.47: [21078]: SEND begin page

And here is the config file for the modem (unchanged)

#
# Configuration for using the Class 2.0 command interface
# with a USR v.34 Courier or Sporster modem.
#
# RTS/CTS flow control is used default.
#
#
CountryCode:		1
AreaCode:		949
FAXNumber:		+1.949.443.5354
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	"etc/dialrules"
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"UniSolutions Associates"
ClocalAsRoot:		yes
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%p of %%t"
MaxRecvPages:		100
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2.0	# use class 2.0 interface
ModemRate:		38400		# DCE-DTE communication rate
ModemFlowControl:	rtscts		# XON/XOFF flow control assumed
#
ModemNoFlowCmd:		AT&H0&I0&R1	# setup modem for no flow control
ModemHardFlowCmd:	AT&H1&I0&R2	# setup modem for hardware flow control
ModemSoftFlowCmd:	AT&H2&I2&R1	# setup modem for software flow control
#
ModemSetupDTRCmd:	ATS13=1&D2	# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
ModemResultCodesCmd:	ATQ0X4		# enable extended result codes
#
# NB: adaptive answer only seems to work properly when
#     the modem is left idling in Class 2.0
#
ModemSetupAACmd:	AT+FAA=1
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd:	"ATM0 ATM1 ATM1 ATM1 ATM1"
#
# Modem does not support HDLC frame tracing; we add this just
# to eliminate spurious ERROR results that confuse the naive.
#
Class2BUGCmd:		AT+FBU=0
#
# The modem doesn't support copy quality checking, even though it
# returns (0-2,0-2) for AT+FCQ=?; therefore we override the query
# response so that the server will do copy quality checking.
#
Class2CQQueryCmd:	!(0),(0)	# override modem response
#
# this should fix the phase B error...
#
#Class2NRCmd:		AT+FNR=3D1,1,1,0  # setup status reporting
Class2NRCmd:		AT+FNR=1,1,1,0  # setup status reporting command

--Haral Tsitsivas,  UniSolutions Associates (http://www.unisol.com/)
  System Accounting and Chargeback, Backup and Restore, System Administration
  Voice: (949) 488-3960,  Fax: (949) 443-5354,  E-mail: haral@unisol.com

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 21 Jul 1998 11:28:33 +0700
From: Diana Dewi <d14na@cabi.net.id>
To: flexfax@sgi.com
Subject: flexfax: Modem problem with faxmodem
Sender: owner-flexfax@celestial.com

I have problem same with Robert Strattum  like :

> >anytime I start faxmodem - I get the following errors
> >
>> FIFO: open: No such file or directory
>>
>> am I missing something here?

> Both hfaxd and faxq need to be running before you can use any of the
> related fax commands can be used. If I recall correctly, hfaxd creates

> a FIFO file in /var/spool/fax, named FIFO; which should be owned by
> uucp.
> --
> Jonathan Chen            |  de-moc-ra-cy (di mok' ra see) n.  Three
wolves
> <jonc@pinnacle.co.nz>    |  and a sheep voting on what's for dinner.

in /var/spool/fax there has a FIFO file and it owned by uucp but size
file is 0.
and my faxmodem still  has error messages :

FIFO: open: No such file or directory


thank's,
Diana Dewi

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 22 Jul 1998 09:12:04 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Diana Dewi <d14na@cabi.net.id>
cc: flexfax@sgi.com
Subject: Re: flexfax: Modem problem with faxmodem
Sender: owner-flexfax@celestial.com

On Tue, 21 Jul 1998, Diana Dewi wrote:

> in /var/spool/fax there has a FIFO file and it owned by uucp but size
> file is 0.
> and my faxmodem still  has error messages :
> 
> FIFO: open: No such file or directory

Odd. What's are the permissions of /var/spool/fax itself? What system
are you running it on? What version of HylaFAX are you using? On our
SCO box with 2 modems, here's what our permissions and files look
like:

	0-kiwi:fax,9:09am> ls -al
	total 86
	drwxr-xr-x  17 uucp     uucp         512 May  1 14:46 ./
	drwxrwxr-x  12 root     bin          512 Mar 26 17:11 ../
	-r--r--r--   1 root     sys         1233 May  1 14:43 COPYRIGHT
	prw-------   1 uucp     uucp           0 Jul 22 09:09 FIFO|
	prw-------   1 uucp     uucp           0 Jul 20 10:18 FIFO.tty1A|
	prw-------   1 uucp     uucp           0 Jul  6 09:34 FIFO.tty2A|
	drwx------   2 uucp     uucp         512 Aug  2  1996 archive/
	drwxr-xr-x   2 uucp     uucp         512 May  1 14:51 bin/
	drwxr-xr-x   2 uucp     uucp         512 Jul 22 09:04 client/
	drwxr-xr-x   2 uucp     uucp        1024 May  1 14:44 config/
	drwxr-xr-x   2 uucp     uucp         512 Aug  7  1996 dev/
	drwx------   2 uucp     uucp        2560 Jul 16 00:08 docq/
	drwx------   2 uucp     uucp        1024 Jul 16 00:08 doneq/
	drwxr-xr-x   2 uucp     uucp        1024 Jul 21 23:25 etc/
	drwxr-xr-x   2 uucp     uucp         512 Jul 18 23:25 info/
	drwxr-xr-x   2 uucp     uucp       22528 Jul 22 04:19 log/
	drwx------   2 uucp     uucp         512 Aug  2  1996 pollq/
	drwxr-xr-x   2 uucp     uucp         512 Jul 22 02:51 recvq/
	drwx------   2 uucp     uucp         512 Jul 15 14:46 sendq/
	drwxr-xr-x   2 uucp     uucp         512 Mar 22 21:16 status/
	drwx------   2 uucp     uucp         512 Jul 15 14:42 tmp/

How does yours compare?
--
Jonathan Chen <jonc@pinnacle.co.nz>
----------------------------------------------------------------------
                        "By the time they had diminished from 50 to 8,
       the other dwarves began to suspect 'Hungry' ..." - Gary Larson

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Roger Broughton" <R.E.Broughton@newcastle.ac.uk>
Subject: flexfax: compile problem
To: flexfax@sgi.com
Date: Tue, 21 Jul 1998 16:41:06 +0100 (BST)
Sender: owner-flexfax@celestial.com

Using:

SunOS 5.5.1 Generic_103640-12 sun4m sparc SUNW,SPARCstation-4
make-3.76.1
gcc-2.8.1
libstdc++-2.8.1.1
hylafax-v4.0pl2

I get:

arang $ make
make[1]: Entering directory `/usr/local/src/hylafax-v4.0pl2/util'
make[2]: Entering directory `/usr/local/src/hylafax-v4.0pl2/util'
make[2]: Nothing to be done for `_quiet.c++dependtime'.
make[2]: Leaving directory `/usr/local/src/hylafax-v4.0pl2/util'
make[2]: Entering directory `/usr/local/src/hylafax-v4.0pl2/util'
make[2]: Nothing to be done for `_quiet.cdependtime'.
make[2]: Leaving directory `/usr/local/src/hylafax-v4.0pl2/util'
make[1]: Leaving directory `/usr/local/src/hylafax-v4.0pl2/util'
make[1]: Entering directory `/usr/local/src/hylafax-v4.0pl2/util'
/usr/local/bin/gcc      -I.././zlib			  -D__ANSI_CPP__ -I. -I..
-I.././util -I.././util -I/usr/local/include -I.././regex -g -O -x c++ -c
SendFaxJob.c++
SendFaxJob.c++: In method `unsigned char SendFaxJob::createJob(class SendFaxClient &,
class fxStr &)':
SendFaxJob.c++:499: no matching function for call to `SendFaxClient::sendZData (int &,
unsigned char (FaxClient::)(fxStr &, fxStr &), fxStr &, fxStr &)'
FaxClient.h:273: candidates are: FaxClient::sendZData(int, unsigned char
(FaxClient::*)(fxStr &, fxStr &), fxStr &, fxStr &)
make[1]: *** [SendFaxJob.o] Error 1
make[1]: Leaving directory `/usr/local/src/hylafax-v4.0pl2/util'
make: *** [default] Error 2

I can see an umatched "&" in there but don't know what to do.
Anyone else seen this problem?

-- 
 *** Roger Broughton (Operations Supervisor), Computing Service,  ***
  *** University of Newcastle, Newcastle upon Tyne, NE1 7RU, UK. *** 
   *** Telephone: +44 191 222 8074        Fax: +44 191 222 8765 ***

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 21 Jul 1998 13:07:04 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Roger Broughton <R.E.Broughton@newcastle.ac.uk>
Cc: flexfax@sgi.com
Subject: Re: flexfax: compile problem
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 21 Jul 1998, Roger Broughton wrote:

> SunOS 5.5.1 Generic_103640-12 sun4m sparc SUNW,SPARCstation-4
> make-3.76.1
> gcc-2.8.1
> libstdc++-2.8.1.1
> hylafax-v4.0pl2

Take a look at the patches I've stashed at
http://cirl.meei.harvard.edu/hylafax/patches, particularly the
gcc-2.8.1 patch.


			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNbTKsj/+ItycgIJRAQEL6QP/Zgfh0A3hqW6RcANrNAl0ng8FYNBU2llF
dpc+B4inGr8fsupD8EQkHDZgdAWFqEtHsOe8Ud+Rgq2+dmDStCJIPIEMlyeVmnSb
DTj0cZhMKSY0rJ4Z+H7i4Rm5ivtjy/4wQuwAO1UtyU8VvxF1UxI7iCho5/7j3QlT
JXvtrw2eWjE=
=cuZn
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Mark G. Thomas" <Mark@Misty.com>
Subject: flexfax: SunOS-4.1.4 and gcc-2.8.1 compile problem
To: flexfax@sgi.com
Date: Tue, 21 Jul 1998 17:57:42 -0400 (EDT)
Sender: owner-flexfax@celestial.com


Hi,

While trying to compile hylafax-v4.0pl2 with gcc-2.8.1, I get
these errors.

I tried these patches for compiling with gcc-2.8.1, but no luck:
   http://cirl.meei.harvard.edu/hylafax/patches/hylafax-gcc-2.8.x.sh


/usr/local/bin/gcc      -I.././zlib  -D__ANSI_CPP__ -I. -I.. -I.././util  -I.././util -I/usr/local/include -I.././regex -g -O -x c++ -c StrArray.c++
/usr/local/bin/gcc      -I.././zlib  -D__ANSI_CPP__ -I. -I.. -I.././util  -I.././util -I/usr/local/include -I.././regex -g -O -x c++ -c StrDict.c++
/usr/local/bin/gcc      -I.././zlib  -D__ANSI_CPP__ -I. -I.. -I.././util  -I.././util -I/usr/local/include -I.././regex -g -O -x c++ -c Dispatcher.c++
Dispatcher.c++: In method `int Dispatcher::waitFor(class FdMask &, class FdMask &, class FdMask &, struct timeval *)':
Dispatcher.c++:601: assignment to `void (*)()' from `void (*)(int)'
*** Error code 1
make: Fatal error: Command failed for target `Dispatcher.o'
Current working directory /usr/local/src/hylafax/hylafax-v4.0pl2/util
*** Error code 1
make: Fatal error: Command failed for target `default'
Current working directory /usr/local/src/hylafax/hylafax-v4.0pl2/util
*** Error code 1
make: Fatal error: Command failed for target `dirs'
Current working directory /usr/local/src/hylafax/hylafax-v4.0pl2
*** Error code 1
make: Fatal error: Command failed for target `default'


-- 
Mark G. Thomas (Mark@Misty.com -- http://www.misty.com/)

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 21 Jul 1998 20:11:22 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: "Mark G. Thomas" <Mark@Misty.com>
Cc: flexfax@sgi.com
Subject: Re: flexfax: SunOS-4.1.4 and gcc-2.8.1 compile problem
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 21 Jul 1998, Mark G. Thomas wrote:

> From: "Mark G. Thomas" <Mark@Misty.com>
> To: flexfax@sgi.com
> Subject: flexfax: SunOS-4.1.4 and gcc-2.8.1 compile problem

> Hi,
> 
> While trying to compile hylafax-v4.0pl2 with gcc-2.8.1, I get
> these errors.
> 
> I tried these patches for compiling with gcc-2.8.1, but no luck:
>    http://cirl.meei.harvard.edu/hylafax/patches/hylafax-gcc-2.8.x.sh

Were you installing the patch on a clean copy of the source code? Had you
installed any other recent patches? Were there any other problems?

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNbUuHz/+ItycgIJRAQGF0QQAoZZwuyyeqmJvrM5L4ZDiLo3c6L4GL54O
3txVTwWO12UX4pROd1hueKdTpyOJwABjKAnXb1vUb5mGT9JqnwhAzcQ4RQo3pJDX
l6kYOtEj1YwOtkvdjVf33xhKBaY6RGfGGR4vD/NAhiAkweYadUDhSxj4vxlJZBBa
inicIMCBm+U=
=xg27
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Mark G. Thomas" <Mark@Misty.com>
Subject: Re: flexfax: SunOS-4.1.4 and gcc-2.8.1 compile problem
To: raoul@cirl.meei.harvard.edu (Nico Kadel-Garcia)
Date: Wed, 22 Jul 1998 17:43:58 -0400 (EDT)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com


Hi,

> On Tue, 21 Jul 1998, Mark G. Thomas wrote:
> 
> > From: "Mark G. Thomas" <Mark@Misty.com>
> > To: flexfax@sgi.com
> > Subject: flexfax: SunOS-4.1.4 and gcc-2.8.1 compile problem
> 
> > Hi,
> > 
> > While trying to compile hylafax-v4.0pl2 with gcc-2.8.1, I get
> > these errors.
> > 
> > I tried these patches for compiling with gcc-2.8.1, but no luck:
> >    http://cirl.meei.harvard.edu/hylafax/patches/hylafax-gcc-2.8.x.sh
> 
> Were you installing the patch on a clean copy of the source code? 

Yes.

> Had you installed any other recent patches? Were there any other problems?

No, no other problems.

After these problems compiling under gcc-2.8.1, I reverted to gcc-2.7.2.3,
and a clean copy of the hylafax-v4.0pl2 source again, and it built, installed
and worked fine.

I don't want to confuse things with a different problem, but the main reason I 
upgraded to hylafax-v4.0pl2 was because I was hoping it might possibly solve a
strange problem I've been having with hylafax-v4.0pl1.

The problem I'm having with both hylafax-v4.0pl2 and hylafax-v4.0pl1
is that at the end of an unsuccessful fax transmission due to no answer
from the remote end, the modem communication gets screwed up:

Jul 22 17:28:05.75: [25596]: <-- [31:AT+FLID="Mark G. Thomas Cnslt"\r]
Jul 22 17:28:06.02: [25596]: --> [2:OK]
Jul 22 17:28:06.02: [25596]: DIAL 8364654
Jul 22 17:28:06.02: [25596]: <-- [15:ATDT9,8364654@\r]
Jul 22 17:29:12.53: [25596]: --> [9:NO ANSWER]
Jul 22 17:29:12.54: [25596]: SEND FAILED: No answer from remote
Jul 22 17:29:12.54: [25596]: <-- [5:ATH0\r]
Jul 22 17:29:17.54: [25596]: MODEM <Timeout>   <--------- times out here
Jul 22 17:29:17.77: [25596]: SESSION END

Normally this goes unnoticed, since faxgetty successfully unsticks things,
however if I happen to send a job right about when this happens, the modem
is then stuck during the send attempt, and the job fails immediately.

> 			Nico Garcia
> 			Senior Engineer, CIRL 
> 			Mass. Eye and Ear Infirmary
> 			raoul@cirl.meei.harvard.edu


-- 
Mark G. Thomas (Mark@Misty.com -- http://www.misty.com/)

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
X-Envelope-To: <flexfax@sgi.com>
Date: Wed, 22 Jul 1998 11:58:21 -0400 (EDT)
From: Josh Duncan <duncan@msmd.com>
To: flexfax@sgi.com
Subject: flexfax: questions on modemclass, where and how
Sender: owner-flexfax@celestial.com

Hi all...

I have read the faq a bit on this, and think i understand it, but need
some details.

suppose I had two modems on my server, i wanted one to be totally
dedicated to outbound, the other totally dedicated to inbound.  I know i
can make classes and put one modem in each class, say "inbound" and
"outbound" for the classes.

what file do I specify this in?  config.cua_b?(where config.cua_b is the
modem config file for one of the modems)

also, will the users need to specify anything different when they
fax(using whfc from win95/nt peecee's)  if so, could this be avoided by
specifying only one modem in the "any" group, and specifying the
other(inbound) modem in the "inbound" group?  Also, would I need to
specify anythingspecial for it to accept inbound faxes on that modem, or
will it do it automatically regardless of the modemclass of the
inbound modem?


i hope i haven't confused any of yo uwth my questions, thanks in advance
for any help you can give me(my apologies if theseare covered in the faq,
i didn't see enough info to answer my concerns)

Josh

 ---- Josh Duncan
duncan@msmd.org

God's like Comet(TM), nothing cleans better.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Joseph McKinnon <joe@markinson.com.au>
To: "'flexfax@sgi.com'" <flexfax@sgi.com>
Subject: RE: flexfax: Fax Headers
Date: Wed, 22 Jul 1998 16:09:25 +1000
Sender: owner-flexfax@celestial.com

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=koi8-r">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.1960.3">
<TITLE>RE: flexfax: Fax Headers</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I've had a read of the tagtest man page and can't really see how this would allow me to create multiple fax headers that can be used/called from the command line to send on different faxes.&nbsp; Am I stupid, or am I misunderstanding the use of tagtest.</FONT></P>
<UL>
<P><FONT SIZE=1 FACE="Arial">-----Original Message-----</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">From:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">Serg V. Chemisov&nbsp; [SMTP:chek@mow.sirena.ru]</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Sent:&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">Monday, 20 July 1998 19:46</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">Joseph McKinnon</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Cc:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">chek@mow.sirena.ru</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT SIZE=1 FACE="Arial">Re: flexfax: Fax Headers</FONT>
</P>
<BR>
<BR>

<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">----------</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">: Joseph McKinnon &lt;joe@markinson.com.au&gt;</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">: 'flexfax@sgi.com'</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">: flexfax: Fax Headers</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">: 17  1998 . 4:29</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">This is most likely an old hat question, but we really need to know if</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">there is an easy way to have</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">multiple fax headers that can be selected by a call process when sending</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">a fax. </FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#000000" SIZE=2 FACE="Arial">If&nbsp; you want to send a FAX as TIFF file you</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#000000" SIZE=2 FACE="Arial">can use &quot; tagtest &quot; command through a filter of sendfax</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#000000" SIZE=2 FACE="Arial">for inserting &quot;single line faxheader&quot;</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">Also, whilst trying to get this operational I've noticed that the fax</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">headers and text get sent separately, is there a way to have the</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">faxheader and text body on a single A4 sheet of paper, with any overflow</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">of text being sent on a separate page?</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">Regards Joe.</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">Joseph McKinnon BSc</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">Technical Specialist</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">Markinson Technologies</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">Phone (07) 3808-1555&nbsp;&nbsp;&nbsp; Fax (07) 3808-1436</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT COLOR="#000000" SIZE=2 FACE="Arial">More info in manual of&nbsp; tagtest .</FONT>
</P>

<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">Regards.</FONT>
</P>
</UL>
</BODY>
</HTML></x-html>
Date: Wed, 22 Jul 1998 23:36:53 +0700
From: Diana Dewi <d14na@cabi.net.id>
X-Mailer: Mozilla 4.02 [en] (Win95; I)
To: flexfax@sgi.com
Subject: flexfax: Sendpage problem
Sender: owner-flexfax@celestial.com

Dear folks,
I try run sendpage with " sendpage -p best test.paging.from.diana"
but after that I've got e-mail with error messages from sendpage :

Your pager job to 0,5226770 failed because:
    Message block transmit failed; paging central rejected it
---- Transcript of session follows ----

Jul 22 22:49:22.98: [22836]: SESSION BEGIN 00000032 625226770
Jul 22 22:49:22.98: [22836]: SEND PAGE: JOB 17 DEST 0,5226770 COMMID
00000032
Jul 22 22:49:22.98: [22836]: DELAY 2600 ms
Jul 22 22:49:25.58: [22836]: <--
[44:AT&B1&N0&S0*F0S18=2S38.3=1S39=0E0V1Q0S0=0H0\r]
Jul 22 22:49:25.78: [22836]: --> [2:OK]
Jul 22 22:49:25.78: [22836]: <-- [21:ATS8=2S7=60&H3&D2&C1\r]
Jul 22 22:49:25.82: [22836]: --> [2:OK]
Jul 22 22:49:25.82: [22836]: <-- [7:ATM1L7\r]
Jul 22 22:49:25.85: [22836]: --> [2:OK]
Jul 22 22:49:25.88: [22836]: <-- [12:AT+FCLASS=0\r]
Jul 22 22:49:26.09: [22836]: --> [2:OK]
Jul 22 22:49:26.09: [22836]: <-- [10:AT&K0&N15\r]
Jul 22 22:49:26.21: [22836]: --> [2:OK]
Jul 22 22:49:26.21: [22836]: DIAL 0,5226770
Jul 22 22:49:26.21: [22836]: <-- [14:ATDT0,5226770\r]
Jul 22 22:49:53.13: [22836]: --> [28:CONNECT 9600/V.22  1200/NONE]
Jul 22 22:49:53.13: [22836]: EXPECT ID (paging central identification)
Jul 22 22:49:59.13: [22836]: RECV ID ("ID=")
Jul 22 22:49:59.13: [22836]: SEND device identification/login request
Jul 22 22:49:59.52: [22836]: RECV ACK (login successful)
Jul 22 22:49:59.52: [22836]: RECV go-ahead (prologue done)
Jul 22 22:49:59.52: [22836]: SEND message block
Jul 22 22:50:00.14: [22836]: RECV RS (message block rejected; skip to
next)
Jul 22 22:50:00.14: [22836]: <-- [5:ATH0\r]
Jul 22 22:50:05.14: [22836]: MODEM <Timeout>
Jul 22 22:50:05.16: [22836]: SESSION END

    ---- Unsent job status ----

   Destination: 0,5226770
         JobID: 17
       GroupID: 17
        Sender: Diana
      Mailaddr: d14na@cabi.net.id
        CommID: 00000032
Submitted From: localhost.cabi.net.id
        Status: Message block transmit failed; paging central rejected
it
       Dialogs: 1 (exchanges with remote device)
         Dials: 0 (consecutive failed calls to destination)
         Calls: 1 (total phone calls placed)

    ---- Message text ----

testing.paging.from.diana


thank's
Diana Dewi

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 22 Jul 1998 12:32:23 -0400 (EDT)
From: Michael Blaustein <mblauste@CapAccess.org>
To: flexfax@sgi.com
Subject: flexfax: configure question - new setup
Sender: owner-flexfax@celestial.com


Hello,

I'm trying to configure hylafx (4.0p12-1) on linux (2.0.34), and I'm 
sorry to say I'm having some basic difficulties that reading the manuals 
has not cleared up for me (because I'm new to linux and communications 
software?).  Please help if you are willing.

I start hfaxd, then faxgetty.

Faxgetty fails to setup teh modem.  The modem is set up correctly; 
minicom works fine.  What am I doing wrong?

Sorry this query is so vague.

Messages logged by faxgetty:

 OPEN /dev/modem                               
 /dev/modem: Can not initialize modem.         
 CAUGHT SIGNAL 2                               
 CLOSE /dev/modem                              
 OPEN /dev/modem                               
 /dev/modem: Can not initialize modem.         
 Unable to setup modem on /dev/modem; giving up
 MODEM /dev/modem appears to be wedged        
 MODEM WEDGED: bin/wedged "modem" "/dev/modem"
 CLOSE /dev/modem 


Message from faxstat:

  Can not reach server at host "localhost.localdomain", port 4559.


THanks,

     Michael Blaustein
     mblauste@CapAccess.org 

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 22 Jul 1998 13:21:01 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Michael Blaustein <mblauste@CapAccess.org>
Cc: flexfax@sgi.com
Subject: Re: flexfax: configure question - new setup
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 22 Jul 1998, Michael Blaustein wrote:

> Hello,
> 
> I'm trying to configure hylafx (4.0p12-1) on linux (2.0.34), and I'm 
> sorry to say I'm having some basic difficulties that reading the manuals 
> has not cleared up for me (because I'm new to linux and communications 
> software?).  Please help if you are willing.
> 
> I start hfaxd, then faxgetty.

Did you run faxsetup, and do you have faxq running?

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNbYe/z/+ItycgIJRAQGQWAQAi6R7IIBrbtIDpworhCUy6kD2br6gIslj
rf6l1H9oZw6kqeoGbGQuNITJG0jOkO9wcm8W3KlHlk8Yk/y89JzreBJRvH/uy1jQ
LQPkJULohBmiobIUL9+gDN0OcAZq4WETpVFpx7xZ/d8Iy0/FNG7hfiLh+5A9hZyV
OJT6RFlgvIk=
=DnvP
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 03:11:26 +0700
From: Diana Dewi <d14na@cabi.net.id>
To: flexfax@sgi.com
Subject: flexfax: Faxmail
Sender: owner-flexfax@celestial.com

Hello all...
I'v already have Bob-faxmailer but I'm not use sendmail. I use qmail,
anyone know how to configure it?


thank,u
Diana Dewi

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 01:28:13 +0700
From: Diana Dewi <d14na@cabi.net.id>
To: flexfax@sgi.com
Subject: flexfax: faxmail problem
Sender: owner-flexfax@celestial.com

Dear all....
why I can't run faxmail .... I already run faxmail/sh-qmail...but when I
run faxmail there's no reaction....
when  I read man faxmail......they said need
/usr/contrib/lib/hylafax/hyla.conf, and ~/.hylarc; but i can't find
it....
where I can get that file???? or I must make it file....maybe someone
can give example???

thank u,
Diana Dewi

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
X-Envelope-To: <flexfax@sgi.com>
Date: Wed, 22 Jul 1998 11:28:35 -0400 (EDT)
From: Josh Duncan <duncan@msmd.com>
To: flexfax@sgi.com
Subject: flexfax: problems with faxrcvd script...
Sender: owner-flexfax@celestial.com

Hello all,

Well, I did as you all told and looked into the faxrcvd script to post
process incoming faxes.  i thought it should be weasy to do what I wanted
to do, but alas no.

what i need to do is insert three lines, one line to copy the incoming tif
file to a temporary directory, one to do conversion on it(by adding a line
to execute a shell script) and a third line to execute a shellscript to
create a web page index.

now, I thought the best place to put it would be after all the mail stuff
for a successful mreciept.  that is, the faxrcvd script would mail the
user saying hey it worked, then my scripts woudl run and convert the tif
to a pdf, and then make a web index of all recieved pdfs.

so here's where i looked to put it:

         echo ""
         $FAX2PS $FILE 2>/dev/null
         echo ""
         echo "--$MIMEBOUNDARY--"
        ) | 2>&1 $SENDMAIL -ffax -oi $SENDTO
    fi
---my stuff inserted here-----
else
    #
    # Generate notification mail for a failed attempt.
    #


now, i put my three lines there, but nothing gets executed.  all the mail
still works just fine, but nothing that I have added works correctly.  so
then i tried putting my stuff closer to the "front" of the faxrcvd script,
right here:
if [ -f $FILE ]; then
    #
    # Check the sender's TSI and setup to dispatch
    # facsimile received from well-known senders.
    #
---mine go here---
    SENDER="`$INFO $FILE | $AWK -F: '/Sender/ { print $2 }' 2>/dev/null`"
    SENDTO=
    if [ -f etc/FaxDispatch ]; then


again, everything from the default works, as far as email goes, but
nothing i have added gets executed.

anyone have any ideas on how i am supposed to do this?  I could have sworn
I understood shell scripts, and the syntax of this shell script in
particular, but this has got me totally stumped.

if this is an easy solution, my apologies in advance for any wasted
bandwidth.

also, thanks in advance, for any help you can give me.

Josh

----
Josh Duncan
duncan@msmd.org

God's like Comet(TM), nothing cleans better.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 08:58:19 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Josh Duncan <duncan@msmd.com>
cc: flexfax@sgi.com
Subject: Re: flexfax: problems with faxrcvd script...
Sender: owner-flexfax@celestial.com

On Wed, 22 Jul 1998, Josh Duncan wrote:

[snip]
> so here's where i looked to put it:
> 
>          echo ""
>          $FAX2PS $FILE 2>/dev/null
>          echo ""
>          echo "--$MIMEBOUNDARY--"
>         ) | 2>&1 $SENDMAIL -ffax -oi $SENDTO
>     fi
> ---my stuff inserted here-----
> else
>     #
>     # Generate notification mail for a failed attempt.
>     #
> 
> 
> now, i put my three lines there, but nothing gets executed.

Looks like a good place to put your local stuff. Just exactly what are
you doing? Have you checked directory permissions, path considerations?
Does:
	cp $FILE /tmp
work?

Jonathan Chen <jonc@pinnacle.co.nz>
----------------------------------------------------------------------
                      "Everything in excess, moderation is for monks!"

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 22 Jul 1998 17:09:46 -0400 (EDT)
From: Josh Duncan <duncan@msmd.com>
To: Jonathan Chen <jonc@pinnacle.co.nz>
cc: Josh Duncan <duncan@msmd.com>, flexfax@sgi.com
Subject: Re: flexfax: problems with faxrcvd script...
Sender: owner-flexfax@celestial.com


Hi! :)

thanks for the response.  i've tried doing a cp $FILE /tmp/fax(made sure
that directory existed) and it did nothing.(that is, did not copy the
file)  so i dunno.  that is what is confusing me(as to why it is not
working) because that right there isn't exactly rocket science, but it
does not work, none the less.

any more/other ideas?
Josh

On Thu, 23 Jul 1998, Jonathan Chen wrote:

> On Wed, 22 Jul 1998, Josh Duncan wrote:
> 
> [snip]
> > so here's where i looked to put it:
> > 
> >          echo ""
> >          $FAX2PS $FILE 2>/dev/null
> >          echo ""
> >          echo "--$MIMEBOUNDARY--"
> >         ) | 2>&1 $SENDMAIL -ffax -oi $SENDTO
> >     fi
> > ---my stuff inserted here-----
> > else
> >     #
> >     # Generate notification mail for a failed attempt.
> >     #
> > 
> > 
> > now, i put my three lines there, but nothing gets executed.
> 
> Looks like a good place to put your local stuff. Just exactly what are
> you doing? Have you checked directory permissions, path considerations?
> Does:
> 	cp $FILE /tmp
> work?
> 
> Jonathan Chen <jonc@pinnacle.co.nz>
> ----------------------------------------------------------------------
>                       "Everything in excess, moderation is for monks!"
> 
> 

----
Josh Duncan
duncan@msmd.org

God's like Comet(TM), nothing cleans better.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 08:50:43 +0800 (HKT)
From: Hong Kong Observatory <d1swdev@asiaonline.net>
To: Josh Duncan <duncan@msmd.com>
cc: flexfax@sgi.com
Subject: Re: flexfax: problems with faxrcvd script...
Sender: owner-flexfax@celestial.com

Hello Josh :

    I also required to process the incoming FAX such as converting to
other format, updating WEB pages etc. . I did similar thing as what you
did and it works. I put my stuff near the beginning of 'faxrcvd'. Here is
exectly what I did :

    #
    # Check the sender's TSI and setup to dispatch
    # facsimile received from well-known senders.
    #
    SENDER="`$INFO $FILE | $AWK -F: '/Sender/ { print $2 }' 2>/dev/null`"

    # Check for CLK fax input  K.S.Wat 06-Feb-98
    if [ -f etc/ckCLKfaxinput ]
    then
       . etc/ckCLKfaxinput
    fi
    #

    # Check for MTC FAX input
    if [ -f etc/ckMTC ]
    then
       . etc/ckMTC
    fi

    SENDTO=
    if [ -f etc/FaxDispatch ]; then
        . etc/FaxDispatch       # NB: FaxDispatch sets SENDTO based on $SENDER
    fi

    I added my stuff after setting the SENDER variable so that my scripts
can process input based on sender. Also note that the working directory of
the script 'faxrcvd' is the FAXSPOOL directory, if you put your script in
the same directory as 'faxrcvd' then you should insert the line
'bin/your_script'.

On Wed, 22 Jul 1998, Josh Duncan wrote:

> Hello all,
>
> Well, I did as you all told and looked into the faxrcvd script to post
> process incoming faxes.  i thought it should be weasy to do what I wanted
> to do, but alas no.
>
> what i need to do is insert three lines, one line to copy the incoming tif
> file to a temporary directory, one to do conversion on it(by adding a line
> to execute a shell script) and a third line to execute a shellscript to
> create a web page index.
>
> now, I thought the best place to put it would be after all the mail stuff
> for a successful mreciept.  that is, the faxrcvd script would mail the
> user saying hey it worked, then my scripts woudl run and convert the tif
> to a pdf, and then make a web index of all recieved pdfs.
>
> so here's where i looked to put it:
>
>          echo ""
>          $FAX2PS $FILE 2>/dev/null
>          echo ""
>          echo "--$MIMEBOUNDARY--"
>         ) | 2>&1 $SENDMAIL -ffax -oi $SENDTO
>     fi
> ---my stuff inserted here-----
> else
>     #
>     # Generate notification mail for a failed attempt.
>     #
>
>
> now, i put my three lines there, but nothing gets executed.  all the mail
> still works just fine, but nothing that I have added works correctly.  so
> then i tried putting my stuff closer to the "front" of the faxrcvd script,
> right here:
> if [ -f $FILE ]; then
>     #
>     # Check the sender's TSI and setup to dispatch
>     # facsimile received from well-known senders.
>     #
> ---mine go here---
>     SENDER="`$INFO $FILE | $AWK -F: '/Sender/ { print $2 }' 2>/dev/null`"
>     SENDTO=
>     if [ -f etc/FaxDispatch ]; then
>
>
> again, everything from the default works, as far as email goes, but
> nothing i have added gets executed.
>
> anyone have any ideas on how i am supposed to do this?  I could have sworn
> I understood shell scripts, and the syntax of this shell script in
> particular, but this has got me totally stumped.
>
> if this is an easy solution, my apologies in advance for any wasted
> bandwidth.
>
> also, thanks in advance, for any help you can give me.
>
> Josh
>
> ----
> Josh Duncan
> duncan@msmd.org
>
> God's like Comet(TM), nothing cleans better.
>
>

K.S.Wat SSA(D)12
Computer Division,
Hong Kong Observatory.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 00:20:03 -0400 (EDT)
From: Josh Duncan <duncan@msmd.com>
To: Hong Kong Observatory <d1swdev@asiaonline.net>
cc: Josh Duncan <duncan@msmd.com>, flexfax@sgi.com
Subject: Re: flexfax: problems with faxrcvd script...
Sender: owner-flexfax@celestial.com


Hello,

hmm... your comment on it being in bin(and then needing a
bin/<shell-script>) made me think.  I remembered that this is a chroot'ed
system we're running here.  That makes me think that my running
/home/path/to/my/home/directory/bin/<shell-script> won't work.

Methinks Iwill have to move my scripts and try it again(in the morning)  I
will keep you all updated, of course, thanks for all the feedback :)
(one thing though--if my shell script is running in a chroot'ed system, i
won't be able to copy files out from it to the regular file systems,
right?(I had thought this would be a problem, 20 seconds more thought
tells me I can symlink into it from the outside world. nevermind,
question answered by self))

cheers all,
Josh


On Thu, 23 Jul 1998, Hong Kong Observatory wrote:

> Hello Josh :
> 
>     I also required to process the incoming FAX such as converting to
> other format, updating WEB pages etc. . I did similar thing as what you
> did and it works. I put my stuff near the beginning of 'faxrcvd'. Here is
> exectly what I did :
> 
>     #
>     # Check the sender's TSI and setup to dispatch
>     # facsimile received from well-known senders.
>     #
>     SENDER="`$INFO $FILE | $AWK -F: '/Sender/ { print $2 }' 2>/dev/null`"
> 
>     # Check for CLK fax input  K.S.Wat 06-Feb-98
>     if [ -f etc/ckCLKfaxinput ]
>     then
>        . etc/ckCLKfaxinput
>     fi
>     #
> 
>     # Check for MTC FAX input
>     if [ -f etc/ckMTC ]
>     then
>        . etc/ckMTC
>     fi
> 
>     SENDTO=
>     if [ -f etc/FaxDispatch ]; then
>         . etc/FaxDispatch       # NB: FaxDispatch sets SENDTO based on $SENDER
>     fi
> 
>     I added my stuff after setting the SENDER variable so that my scripts
> can process input based on sender. Also note that the working directory of
> the script 'faxrcvd' is the FAXSPOOL directory, if you put your script in
> the same directory as 'faxrcvd' then you should insert the line
> 'bin/your_script'.
> 
> On Wed, 22 Jul 1998, Josh Duncan wrote:
> 
> > Hello all,
> >
> > Well, I did as you all told and looked into the faxrcvd script to post
> > process incoming faxes.  i thought it should be weasy to do what I wanted
> > to do, but alas no.
> >
> > what i need to do is insert three lines, one line to copy the incoming tif
> > file to a temporary directory, one to do conversion on it(by adding a line
> > to execute a shell script) and a third line to execute a shellscript to
> > create a web page index.
> >
> > now, I thought the best place to put it would be after all the mail stuff
> > for a successful mreciept.  that is, the faxrcvd script would mail the
> > user saying hey it worked, then my scripts woudl run and convert the tif
> > to a pdf, and then make a web index of all recieved pdfs.
> >
> > so here's where i looked to put it:
> >
> >          echo ""
> >          $FAX2PS $FILE 2>/dev/null
> >          echo ""
> >          echo "--$MIMEBOUNDARY--"
> >         ) | 2>&1 $SENDMAIL -ffax -oi $SENDTO
> >     fi
> > ---my stuff inserted here-----
> > else
> >     #
> >     # Generate notification mail for a failed attempt.
> >     #
> >
> >
> > now, i put my three lines there, but nothing gets executed.  all the mail
> > still works just fine, but nothing that I have added works correctly.  so
> > then i tried putting my stuff closer to the "front" of the faxrcvd script,
> > right here:
> > if [ -f $FILE ]; then
> >     #
> >     # Check the sender's TSI and setup to dispatch
> >     # facsimile received from well-known senders.
> >     #
> > ---mine go here---
> >     SENDER="`$INFO $FILE | $AWK -F: '/Sender/ { print $2 }' 2>/dev/null`"
> >     SENDTO=
> >     if [ -f etc/FaxDispatch ]; then
> >
> >
> > again, everything from the default works, as far as email goes, but
> > nothing i have added gets executed.
> >
> > anyone have any ideas on how i am supposed to do this?  I could have sworn
> > I understood shell scripts, and the syntax of this shell script in
> > particular, but this has got me totally stumped.
> >
> > if this is an easy solution, my apologies in advance for any wasted
> > bandwidth.
> >
> > also, thanks in advance, for any help you can give me.
> >
> > Josh
> >
> > ----
> > Josh Duncan
> > duncan@msmd.org
> >
> > God's like Comet(TM), nothing cleans better.
> >
> >
> 
> K.S.Wat SSA(D)12
> Computer Division,
> Hong Kong Observatory.
> 
> 

----
Josh Duncan
duncan@msmd.org

God's like Comet(TM), nothing cleans better.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 16:41:47 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Josh Duncan <duncan@msmd.com>
cc: flexfax@sgi.com
Subject: Re: flexfax: problems with faxrcvd script...
Sender: owner-flexfax@celestial.com

On Wed, 22 Jul 1998, Josh Duncan wrote:

> thanks for the response.  i've tried doing a cp $FILE /tmp/fax(made sure
> that directory existed) and it did nothing.

Didja do a:

	chmod 777 /tmp/fax

Cheers.
--
Jonathan Chen <jonc@pinnacle.co.nz>
----------------------------------------------------------------------
                                          Experience is a hard teacher
               because she gives the test first, the lesson afterwards

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 09:30:49 +0100
From: William Suetholz <wsuetholz@centonline.com>
Reply-To: wsuetholz@centonline.com
Organization: Centurion Computer Systems, Inc.
To: Josh Duncan <duncan@msmd.com>
CC: Hong Kong Observatory <d1swdev@asiaonline.net>, flexfax@sgi.com
Subject: Re: flexfax: problems with faxrcvd script...
Sender: owner-flexfax@celestial.com

Josh Duncan wrote:
> 
> Hello,
> 
> hmm... your comment on it being in bin(and then needing a
> bin/<shell-script>) made me think.  I remembered that this is a chroot'ed
> system we're running here.  That makes me think that my running
> /home/path/to/my/home/directory/bin/<shell-script> won't work.
> 
> Methinks Iwill have to move my scripts and try it again(in the morning)  I
> will keep you all updated, of course, thanks for all the feedback :)
> (one thing though--if my shell script is running in a chroot'ed system, i
> won't be able to copy files out from it to the regular file systems,
> right?(I had thought this would be a problem, 20 seconds more thought
> tells me I can symlink into it from the outside world. nevermind,
> question answered by self))
> 
You cannot symlink from a chrooted tree out to the original tree!  The
whole point of chroot is that for any new processes the root of the tree
is
your chroot starting point..  ie  /var/spool/fax is now / to any scripts
being run by HylaFAX.

Bill Suetholz

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 11:49:21 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
Cc: Hylafax Mailing List <flexfax@sgi.com>
Subject: Re: flexfax: problems with faxrcvd script...
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 23 Jul 1998, William Suetholz wrote:

> You cannot symlink from a chrooted tree out to the original tree!  The
> whole point of chroot is that for any new processes the root of the tree
> is
> your chroot starting point..  ie  /var/spool/fax is now / to any scripts
> being run by HylaFAX.

But user programs can reach *IN* to the chrooted system: I use this
to keep a pointer to the fax spool in my home directory.


			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNbdbeD/+ItycgIJRAQFDnQP/Y0F193mMzdJKqvFAMwvSs/kuwlGO3Xp3
vyvECBZpJOfl+z2L+y6RaomJH8asvu6kSxpZtSNOyuPXQR5ShDPWhjM7d2Xzuzup
l/GyBxW4tik79aO89NbF4XXH81hHb9wTSWXw9A4/xbdsZVqDJhhbtUh0YOHthUF2
vIFmhOc3jQQ=
=ZtLH
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Andrew Radke" <radke@iig.com.au>
To: <flexfax@sgi.com>
Subject: flexfax: TIFFs displaying and printing at half height
Date: Thu, 23 Jul 1998 09:20:29 +1000
Importance: Normal
Sender: owner-flexfax@celestial.com

Okay, firstly let me say that I've probably missed something very obvious
but for the life of me I can't work it out. That said...

I have a fully functional setup of HylaFAX, except for this one thing. Some
(most) faxes print out at half height. I am presently trying a different
modem, but all of a sudden no-one seems to want to fax me anything :-(. The
thing is that Corel Photo Paint 7 prints the TIFFs perfectly but can't read
past page one of a multy page fax. Every program I have tried that can read
multi-page TIFFS prints them out half hieght.

So it appears that my main question is... Is it the modem or the software
I'm using to view the TIFFs. Or am I just stupid and have missed something
really basic in the HylaFAX setup process.

Configuration:
  Slackware Linux 3.4
  Kernel 2.0.34
  hylafax-v4.0pl2

Any help would be greatly appreciated.

Thanks,
  Andrew Radke

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 09:08:54 +0800 (HKT)
From: Hong Kong Observatory <d1swdev@asiaonline.net>
To: Josh Duncan <duncan@msmd.com>
cc: flexfax@sgi.com
Subject: Re: flexfax: questions on modemclass, where and how
Sender: owner-flexfax@celestial.com

Hi Josh :

   It's me again !!

   I also configured  modem class in my system. I partitioned my modems
for different groups of users for sending FAX. Here is what you can do :

   Suppose you have modems cua_a , cua_b , cua_c , cua_d and cua_e. Now
you want to partition the modems into 2 groups. You can add the following
2 lines into the file 'config' (which should be in the same directory of
config.cua_b) :

   ModemClass:		"GroupA:cua_[abc]"
   ModemClass:		"GroupB:cua_[de]"

Now if you want to send fax using any modem in 'GroupA', you can issue the
following command :
   sendfax -h 'GroupA@FaxServer' -d...........

Sorry I don't have any experience on WHFC. For inbound is simple, you
may just hide you outbound FAX numbers from the users.

On Wed, 22 Jul 1998, Josh Duncan wrote:

> Hi all...
>
> I have read the faq a bit on this, and think i understand it, but need
> some details.
>
> suppose I had two modems on my server, i wanted one to be totally
> dedicated to outbound, the other totally dedicated to inbound.  I know i
> can make classes and put one modem in each class, say "inbound" and
> "outbound" for the classes.
>
> what file do I specify this in?  config.cua_b?(where config.cua_b is the
> modem config file for one of the modems)
>
> also, will the users need to specify anything different when they
> fax(using whfc from win95/nt peecee's)  if so, could this be avoided by
> specifying only one modem in the "any" group, and specifying the
> other(inbound) modem in the "inbound" group?  Also, would I need to
> specify anythingspecial for it to accept inbound faxes on that modem, or
> will it do it automatically regardless of the modemclass of the
> inbound modem?
>
>
> i hope i haven't confused any of yo uwth my questions, thanks in advance
> for any help you can give me(my apologies if theseare covered in the faq,
> i didn't see enough info to answer my concerns)
>
> Josh
>
>  ---- Josh Duncan
> duncan@msmd.org
>
> God's like Comet(TM), nothing cleans better.
>
>

K.S.Wat SSA(D)12
Computer Division,
Hong Kong Observatory.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 00:31:18 -0400 (EDT)
From: Josh Duncan <duncan@msmd.com>
To: Hong Kong Observatory <d1swdev@asiaonline.net>
cc: Josh Duncan <duncan@msmd.com>, flexfax@sgi.com
Subject: Re: flexfax: questions on modemclass, where and how
Sender: owner-flexfax@celestial.com


Hello,

I noticed on the web pages that the default for sending faxes is the "any"
ModemClass.  So I  think I should be able to set up the outbound modem
in the "any" class(leaving out the inbound modem) then by virtue of only
tellingpeople the one incoming fax phone number I can restrict incoming
faxes to one line/modem., and outbound faxes would get restricted to the
other line/modem. and with your help, now I know where to put the
modemclass config info :)

Man, I need to think things through more clearly the first time i think
about them.  this isn't rocket science.  None the less, though, thanks for
the help.

Josh


On Thu, 23 Jul 1998, Hong Kong Observatory wrote:

> Hi Josh :
> 
>    It's me again !!
> 
>    I also configured  modem class in my system. I partitioned my modems
> for different groups of users for sending FAX. Here is what you can do :
> 
>    Suppose you have modems cua_a , cua_b , cua_c , cua_d and cua_e. Now
> you want to partition the modems into 2 groups. You can add the following
> 2 lines into the file 'config' (which should be in the same directory of
> config.cua_b) :
> 
>    ModemClass:		"GroupA:cua_[abc]"
>    ModemClass:		"GroupB:cua_[de]"
> 
> Now if you want to send fax using any modem in 'GroupA', you can issue the
> following command :
>    sendfax -h 'GroupA@FaxServer' -d...........
> 
> Sorry I don't have any experience on WHFC. For inbound is simple, you
> may just hide you outbound FAX numbers from the users.
> 
> On Wed, 22 Jul 1998, Josh Duncan wrote:
> 
> > Hi all...
> >
> > I have read the faq a bit on this, and think i understand it, but need
> > some details.
> >
> > suppose I had two modems on my server, i wanted one to be totally
> > dedicated to outbound, the other totally dedicated to inbound.  I know i
> > can make classes and put one modem in each class, say "inbound" and
> > "outbound" for the classes.
> >
> > what file do I specify this in?  config.cua_b?(where config.cua_b is the
> > modem config file for one of the modems)
> >
> > also, will the users need to specify anything different when they
> > fax(using whfc from win95/nt peecee's)  if so, could this be avoided by
> > specifying only one modem in the "any" group, and specifying the
> > other(inbound) modem in the "inbound" group?  Also, would I need to
> > specify anythingspecial for it to accept inbound faxes on that modem, or
> > will it do it automatically regardless of the modemclass of the
> > inbound modem?
> >
> >
> > i hope i haven't confused any of yo uwth my questions, thanks in advance
> > for any help you can give me(my apologies if theseare covered in the faq,
> > i didn't see enough info to answer my concerns)
> >
> > Josh
> >
> >  ---- Josh Duncan
> > duncan@msmd.org
> >
> > God's like Comet(TM), nothing cleans better.
> >
> >
> 
> K.S.Wat SSA(D)12
> Computer Division,
> Hong Kong Observatory.
> 
> 

----
Josh Duncan
duncan@msmd.org

God's like Comet(TM), nothing cleans better.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 22 Jul 1998 18:17:00 -0400 (EDT)
From: Ludovic Marcotte <ludovic@Sophos.ca>
To: flexfax@sgi.com
Subject: flexfax: Reset'ing the modem..
Sender: owner-flexfax@celestial.com

Hi all,
	First of all, thanks a lot for HylaFAX.. it's really an awesome
piece of software.

Secondly.. I've a simple problem :-) .. I'm using 4.0pl1 on a RedHat 5.1
Linux boxen with a USR Sporster 33,6 internal modem. I've ~20 Win95
clients using the fax server for sending and receiving faxes. Everything
works well.

The problem I have is that sometime.. when we're receiving an incoming
fax, if the luser on the other end hang up before the transfert is
finished, our USR modem doesn't "reset" itselfs.. and it no longer answers
incoming calls or processes the send queue. When I face a situation like
this, I kill -HUP faxgetty, restart hfaxd etc..

The modem is configured as a class 1 fax modem. Is there a way for me to
reset it automatically? through a cron job or with a good init string on
my side?

Suggestions are very welcome,

Thanks a lot.

		Ludovic

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: flexfax@sgi.com
Date: Wed, 22 Jul 1998 20:07:39 -0700
From: "nagu nagu" <nagu@my-dejanews.com>
X-Sent-Mail: on
Subject: flexfax: modem problem?
X-Sender-Ip: 38.218.161.149
Organization: Deja News Mail  (http://www.my-dejanews.com:80)
Sender: owner-flexfax@celestial.com

I am using  HylaFAX v4.0pl1 for SVR4.2 (Unixware 2.1) and US robotics sportster 28.8 modem with V.34. Whenever I send page, the server drops the connection after successfully sending the page. The send command does not get any status back on the client side. On the server side log, I find this....

Jul 22 22:10:48.32: [  408]: SEND PAGE: FROM mailm@mailsrv4 TO 918009464644 (sent in 0:22)
Jul 22 22:10:48.32: [  408]: <-- [5:ATH0\r]
Jul 22 22:10:49.90: [  408]: --> [30:t[4f^B.Bb^K7j#YUUUUUUUUUUUUUUUUU]
Jul 22 22:10:49.90: [  408]: --> [10:NO CARRIER]
Jul 22 22:10:49.90: [  408]: MODEM No carrier
Jul 22 22:10:49.90: [  408]: STATE CHANGE: SENDING -> MODEMWAIT
Jul 22 22:10:49.90: [  408]: MODEM input buffering enabled
Jul 22 22:10:49.90: [  408]: MODEM set DTR OFF
Jul 22 22:10:49.92: [  408]: SESSION END


The ATH0 is dropping the line(on hook).It is normally followed by some garbage. Another sample.....

Jul 22 22:10:17.16: [  402]: SEND PAGE: FROM mailm@mailsrv4 TO 918009464644 (sen
t in 0:22)
Jul 22 22:10:17.16: [  402]: <-- [5:ATH0\r]
Jul 22 22:10:18.30: [  402]: --> [41:FJ_o;&D^A6[yHUUUUUUUUUUUUUUUUUUUUUUUUUUUUU]
Jul 22 22:10:18.30: [  402]: --> [10:NO CARRIER]
Jul 22 22:10:18.30: [  402]: MODEM No carrier
Jul 22 22:10:18.30: [  402]: STATE CHANGE: SENDING -> MODEMWAIT
Jul 22 22:10:18.30: [  402]: MODEM input buffering enabled
Jul 22 22:10:18.30: [  402]: MODEM set DTR OFF
Jul 22 22:10:18.30: [  402]: SESSION END

Can anyone point out the problem?

thanks,

nagu
~


-----== Sent via Deja News, The Discussion Network ==-----
http://www.dejanews.com/  Easy access to 50,000+ discussion forums

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
X-Lotus-FromDomain: KISTERS
From: "Bernd Kisters" <Bernd.Kisters@kisters.de>
To: flexfax@sgi.com
Date: Thu, 23 Jul 1998 12:21:42 +0200
Subject: flexfax: HylaFax and ISDN
Sender: owner-flexfax@celestial.com

Hi there,

is it possible to use the  ISDN card B1 from AVM with Hylafax under Linux.
I have got a capi driver for it, but do not know how to setup the server
for it.


Bye
Bernd Kisters

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 14:14:34 +0200
From: Toni Mueller <support-hylafax@oeko.net>
To: flexfax@sgi.com
Subject: flexfax: faxgetty dying
Reply-To: support-hylafax@oeko.net
X-Info: Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder Meinungsforschung.
Sender: owner-flexfax@celestial.com



Hello,

we are trying to get it up also for receiving faxes, but faxgetty doesn't
work. When running from hand it says "Segmentation fault". So I built a
version with debugging symbols and traced the execution, and voila, it
crashes while trying to read the config file. That appears to be pretty
standard, however, and it actually crashes when trying to enlarge a buffer
that contains the config file somewhere within malloc() as far as my
debugging goes. That appears to be very weird to me.


Any Insights are very much appreciated!

This is on Linux 2.0.33 with hylafax 4.0pl1.



Best Regards,

Toni Mueller.

--------					NIC: TM2155
Oeko.neT Mueller & Brandt GbR 			sales: info@oeko.net
v: +49 2261 979364 f: +49 2261 979366		http://www.oeko.net
Unix, networking, administration, consulting, programming, Internet services

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christoph Stotz <pif@logo.de>
To: flexfax@sgi.com
Subject: flexfax: Problems submitting very large Number of jobs sequential
	ly
Date: Thu, 23 Jul 1998 10:14:20 +0200
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id KAA00584

Hello !

We are using hylafax to send information to our customers. Normally
about 500 faxes/day.

>From time to time we have to send more than 5000/day. Before sending we
generate all the .tifs and
then call a batch-programm that submits all the faxes sequentially.
After some time
submitting becomes slower and slower and CPU-Usage by faxq gets higher:

ps -aux | grep faxq

uucp      5139 24.0  2.1  2552  1348  ?  R    Jul 21 631:16
/usr/sbin/faxq

We are using 200MHz Pentium Pro with 64MB of RAM and 12GB of Harddisk,
so this
should not be the problem. After 1500 jobs in the queue, the time
between two submitted jobs
is about 7-10 seconds.

Is there a way to change this ?


Regards,

Christoph Stotz
logo: GmbH

PS: Im suspecting that it could by a "low memory" problem, but I do not
understand whay hylafax
should use 50 MB of RAM for 1500 jobs ???

PPS:

Linux 2.0.30
Hylafax 4.0pl

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christoph Stotz <pif@logo.de>
To: raoul@cirl.meei.harvard.edu
Subject: AW: flexfax: Problems submitting very large Number of jobs sequen
	tial ly
Date: Fri, 24 Jul 1998 09:08:36 +0200
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id IAA01822

Hi!

The answers to you questions are:

Operating System is Linux 2.0.30.
Hylafax is 4.0pl2.

The batch script looks like that:

<---cut---><---cut---><---cut---><---cut--->
faxconfig ModemClass
"exgroup:ttyD2|ttyD3|ttyD4|ttyD5|ttyD6|ttyD7|ttyX00|ttyX04"
sendfax -n -s 'a4' -t 3 -k 'now + 1 month' -m -B 14400 -b 2400 -i
'ex0001' -h exgroup@ -d '<number_to_dial1>' <filename1>.tif
sendfax -n -s 'a4' -t 3 -k 'now + 1 month' -m -B 14400 -b 2400 -i
'ex0002' -h exgroup@ -d '<number_to_dial2>' <filename2>.tif
sendfax -n -s 'a4' -t 3 -k 'now + 1 month' -m -B 14400 -b 2400 -i
'ex0003' -h exgroup@ -d '<number_to_dial3>' <filename3>.tif
sendfax -n -s 'a4' -t 3 -k 'now + 1 month' -m -B 14400 -b 2400 -i
'ex0004' -h exgroup@ -d '<number_to_dial4>' <filename4>.tif
sendfax -n -s 'a4' -t 3 -k 'now + 1 month' -m -B 14400 -b 2400 -i
'ex0005' -h exgroup@ -d '<number_to_dial5>' <filename5>.tif
(5000 lines like these following)
<---cut---><---cut---><---cut---><---cut--->

Ovviously the "<..>" strings in the real batch-file are replaced by real
data.

The Spool partition is 3.5GB. With 5000 faxes on it and (!) in the queue
it is 93% full.
My Swap-Partition is about 130MB (I know, Im Crazy ;-)
Total (real) Memory is 64MB. During the Submitting-Phase (after 2000
faxes), cat /proc/meminfo gives:

<---cut---><---cut---><---cut---><---cut--->
        total:    used:    free:  shared: buffers:  cached:
Mem:  65560576 64159744  1400832 15183872 19591168 30703616
Swap: 133885952  8286208 125599744
MemTotal:     64024 kB
MemFree:       1368 kB
MemShared:    14828 kB
Buffers:      19132 kB
Cached:       29984 kB
SwapTotal:   130748 kB
SwapFree:    122656 kB
<---cut---><---cut---><---cut---><---cut--->


hfaxd is running as standalone and is started at bootup by
/sbin/init.d/hylafax start.

Why do you believe Im overloading hfaxd with too many TCP-Connections ?
I believe that
the tcp-Connection is made only in the moment of submitting the job. If
it is in the
Queue, waiting for a line to become free, it should not use any
resource...

By the way: may I submit a job without using "sendfax", writing directly
the Queue-File ?

Regards,

Christoph Stotz
logo: GmbH
Superfaxing-Center ;-9

-----Ursprngliche Nachricht-----
Von: Nico Kadel-Garcia [mailto:raoul@cirl.meei.harvard.edu]
Gesendet am: Donnerstag, 23. Juli 1998 17:44
An: Christoph Stotz
Cc: flexfax@sgi.com
Betreff: Re: flexfax: Problems submitting very large Number of jobs
sequential ly

-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 23 Jul 1998, Christoph Stotz wrote:

> Hello !
> 
> We are using hylafax to send information to our customers. Normally
> about 500 faxes/day.

Cool. What operating system, Linux? And what version of HylaFAX?

> >From time to time we have to send more than 5000/day. Before sending
we
> generate all the .tifs and
> then call a batch-programm that submits all the faxes sequentially.
> After some time
> submitting becomes slower and slower and CPU-Usage by faxq gets
higher:
> 
> ps -aux | grep faxq
> 
> uucp      5139 24.0  2.1  2552  1348  ?  R    Jul 21 631:16
> /usr/sbin/faxq

Umm. Could we see the batch script?

> We are using 200MHz Pentium Pro with 64MB of RAM and 12GB of Harddisk,
> so this
> should not be the problem. After 1500 jobs in the queue, the time
> between two submitted jobs
> is about 7-10 seconds.

*1500 faxes in the queue*? Yowzah! How big is your spool partition, and
could it be getting over-stuffed and slowing down?

> PS: Im suspecting that it could by a "low memory" problem, but I do
not
> understand whay hylafax
> should use 50 MB of RAM for 1500 jobs ???

Umm. I assume you have a good chunk of swap space enabled? And are
you running hfaxd from inetd or as a stand-alone daemon?

Also, each job is (I think) opening a connection to hfaxd: you could
be vastly over-loading your available TCP connections....


			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNbdaIT/+ItycgIJRAQExlgP/bpsIpwv6s3xfRwDXXfLj11aajIcJt3Qn
mnIBrD1YDz8G6eM5sNJ8aGAMiX98UWWzmssAYQbLXG9xUfqVU5tSs8iS2u79cdvC
pGuZlEoBb0TbIRhAiqXo9zFAcbWU9XMvxVFQmZufYafbdbE5GO1gkfqVvf+UEm3a
iDIG7oA4iAw=
=WtzM
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 24 Jul 1998 15:08:36 +0800 (HKT)
From: Hong Kong Observatory <d1swdev@asiaonline.net>
To: Christoph Stotz <pif@logo.de>
cc: flexfax@sgi.com
Subject: Re: flexfax: Problems submitting very large Number of jobs sequential ly
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by derrick.elgro.co.uk id IAA01824

Hi Chris,,

On Thu, 23 Jul 1998, Christoph Stotz wrote:

> Hello !
>
> We are using hylafax to send information to our customers. Normally
> about 500 faxes/day.
>
> >From time to time we have to send more than 5000/day. Before sending we
> generate all the .tifs and
> then call a batch-programm that submits all the faxes sequentially.
> After some time
> submitting becomes slower and slower and CPU-Usage by faxq gets higher:
>
> ps -aux | grep faxq
>
> uucp      5139 24.0  2.1  2552  1348  ?  R    Jul 21 631:16
> /usr/sbin/faxq
>
> We are using 200MHz Pentium Pro with 64MB of RAM and 12GB of Harddisk,
> so this
> should not be the problem. After 1500 jobs in the queue, the time
> between two submitted jobs
> is about 7-10 seconds.
>

I don't think it's the problem of CPU usage or disk space shortage. May be
it is because of too many files created in a directory. In UNIX, when too
many files created in a directory (I forgotten how many), the system will
be required to create indirect pointers for disk blocks. Then the system
performance will be degraded very much.

> Is there a way to change this ?

I think you may control the number of FAX job to submit each time. Say
after submitting 500 jobs then wait some time and then another 500 jobs.

> > > Regards,
>
> Christoph Stotz
> logo: GmbH
>
> PS: Im suspecting that it could by a "low memory" problem, but I do not
> understand whay hylafax
> should use 50 MB of RAM for 1500 jobs ???
>
> PPS:
>
> Linux 2.0.30
> Hylafax 4.0pl
>
>

K.S.Wat SSA(D)12
Computer Division,
Hong Kong Observatory.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christoph Stotz <pif@logo.de>
To: d1swdev@asiaonline.net
Cc: flexfax@sgi.com
Subject: AW: flexfax: Problems submitting very large Number of jobs sequen
	tial ly
Date: Fri, 24 Jul 1998 09:15:12 +0200
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id IAA01830

Hello!

The theory of too many files dont seem to me to be the solution. 

But if it is - how to work-around this problem ?

Is it possible to tell hylafax to call a batch-file if the number
of jobs in queue is smaller than the number of free modemlines
avaible ?

Regards,

Christoph Stotz
logo: GmbH

-----Ursprngliche Nachricht-----
Von: Hong Kong Observatory [mailto:d1swdev@asiaonline.net]
Gesendet am: Freitag, 24. Juli 1998 09:09
An: Christoph Stotz
Cc: flexfax@sgi.com
Betreff: Re: flexfax: Problems submitting very large Number of jobs
sequential ly

Hi Chris,,

On Thu, 23 Jul 1998, Christoph Stotz wrote:

> Hello !
>
> We are using hylafax to send information to our customers. Normally
> about 500 faxes/day.
>
> >From time to time we have to send more than 5000/day. Before sending
we
> generate all the .tifs and
> then call a batch-programm that submits all the faxes sequentially.
> After some time
> submitting becomes slower and slower and CPU-Usage by faxq gets
higher:
>
> ps -aux | grep faxq
>
> uucp      5139 24.0  2.1  2552  1348  ?  R    Jul 21 631:16
> /usr/sbin/faxq
>
> We are using 200MHz Pentium Pro with 64MB of RAM and 12GB of Harddisk,
> so this
> should not be the problem. After 1500 jobs in the queue, the time
> between two submitted jobs
> is about 7-10 seconds.
>

I don't think it's the problem of CPU usage or disk space shortage. May
be
it is because of too many files created in a directory. In UNIX, when
too
many files created in a directory (I forgotten how many), the system
will
be required to create indirect pointers for disk blocks. Then the system
performance will be degraded very much.

> Is there a way to change this ?

I think you may control the number of FAX job to submit each time. Say
after submitting 500 jobs then wait some time and then another 500 jobs.

> > > Regards,
>
> Christoph Stotz
> logo: GmbH
>
> PS: Im suspecting that it could by a "low memory" problem, but I do
not
> understand whay hylafax
> should use 50 MB of RAM for 1500 jobs ???
>
> PPS:
>
> Linux 2.0.30
> Hylafax 4.0pl
>
>

K.S.Wat SSA(D)12
Computer Division,
Hong Kong Observatory.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 11:44:08 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Christoph Stotz <pif@logo.de>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Problems submitting very large Number of jobs sequential ly
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by derrick.elgro.co.uk id RAA01216

-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 23 Jul 1998, Christoph Stotz wrote:

> Hello !
> 
> We are using hylafax to send information to our customers. Normally
> about 500 faxes/day.

Cool. What operating system, Linux? And what version of HylaFAX?

> >From time to time we have to send more than 5000/day. Before sending we
> generate all the .tifs and
> then call a batch-programm that submits all the faxes sequentially.
> After some time
> submitting becomes slower and slower and CPU-Usage by faxq gets higher:
> 
> ps -aux | grep faxq
> 
> uucp      5139 24.0  2.1  2552  1348  ?  R    Jul 21 631:16
> /usr/sbin/faxq

Umm. Could we see the batch script?

> We are using 200MHz Pentium Pro with 64MB of RAM and 12GB of Harddisk,
> so this
> should not be the problem. After 1500 jobs in the queue, the time
> between two submitted jobs
> is about 7-10 seconds.

*1500 faxes in the queue*? Yowzah! How big is your spool partition, and
could it be getting over-stuffed and slowing down?

> PS: Im suspecting that it could by a "low memory" problem, but I do not
> understand whay hylafax
> should use 50 MB of RAM for 1500 jobs ???

Umm. I assume you have a good chunk of swap space enabled? And are
you running hfaxd from inetd or as a stand-alone daemon?

Also, each job is (I think) opening a connection to hfaxd: you could
be vastly over-loading your available TCP connections....


			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNbdaIT/+ItycgIJRAQExlgP/bpsIpwv6s3xfRwDXXfLj11aajIcJt3Qn
mnIBrD1YDz8G6eM5sNJ8aGAMiX98UWWzmssAYQbLXG9xUfqVU5tSs8iS2u79cdvC
pGuZlEoBb0TbIRhAiqXo9zFAcbWU9XMvxVFQmZufYafbdbE5GO1gkfqVvf+UEm3a
iDIG7oA4iAw=
=WtzM
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 12:34:12 -0400 (EDT)
From: Ludovic Marcotte <ludovic@Sophos.ca>
To: flexfax@sgi.com
Subject: flexfax: reset prob.. please help.
Sender: owner-flexfax@celestial.com

Hi,
	Sorry about asking the same question two time.. but now I've
attached a log.

Look at the 3 last lines.. Those 3 lines have been written more than 150
000 times.. creating a huge 30MB file. I've stopped that manually by
kill -HUP'ing faxgetty. I'm using an USR Sportster 33,6 modem (internal)
configured with the usr-rts file in the ../fax/config directory. It did
that 2 times in 2 days.

What's causing that? How can I prevent that to happen again?

Thanks a lot in advance,
			Ludovic
Jul 23 14:23:17.55: [  343]: SESSION BEGIN 00000165 15146970343
Jul 23 14:23:17.55: [  343]: <-- [22:AT+FCLASS=1&H1&I0&R2A\r]
Jul 23 14:23:22.83: [  343]: --> [7:CONNECT]
Jul 23 14:23:22.83: [  343]: ANSWER: FAX CONNECTION
Jul 23 14:23:22.83: [  343]: RECV FAX: begin
Jul 23 14:23:22.84: [  343]: <-- data [23]
Jul 23 14:23:22.84: [  343]: <-- data [2]
Jul 23 14:23:22.85: [  343]: --> [7:CONNECT]
Jul 23 14:23:22.85: [  343]: <-- data [10]
Jul 23 14:23:22.85: [  343]: <-- data [2]
Jul 23 14:23:24.82: [  343]: --> [2:OK]
Jul 23 14:23:24.82: [  343]: <-- [9:AT+FRH=3\r]
Jul 23 14:23:27.92: [  343]: --> [0:]
Jul 23 14:23:27.92: [  343]: MODEM <Empty line>
Jul 23 14:23:27.92: [  343]: <-- data [1]
Jul 23 14:23:27.93: [  343]: --> [2:OK]
Jul 23 14:23:27.93: [  343]: DELAY 1500 ms
Jul 23 14:23:29.44: [  343]: <-- [9:AT+FTH=3\r]
Jul 23 14:23:29.47: [  343]: --> [7:CONNECT]
Jul 23 14:23:29.47: [  343]: <-- data [23]
Jul 23 14:23:29.47: [  343]: <-- data [2]
Jul 23 14:23:29.48: [  343]: --> [7:CONNECT]
Jul 23 14:23:29.48: [  343]: <-- data [10]
Jul 23 14:23:29.48: [  343]: <-- data [2]
Jul 23 14:23:31.55: [  343]: --> [2:OK]
Jul 23 14:23:31.55: [  343]: <-- [9:AT+FRH=3\r]
Jul 23 14:23:32.45: [  343]: --> [7:CONNECT]
Jul 23 14:23:33.89: [  343]: --> [2:OK]
Jul 23 14:23:33.89: [  343]: REMOTE TSI "5855628"
Jul 23 14:23:33.89: [  343]: <-- [9:AT+FRH=3\r]
Jul 23 14:23:33.90: [  343]: --> [7:CONNECT]
Jul 23 14:23:34.18: [  343]: --> [2:OK]
Jul 23 14:23:34.18: [  343]: REMOTE wants 9600 bit/s
Jul 23 14:23:34.18: [  343]: REMOTE wants page width 1728 pixels in 215 mm
Jul 23 14:23:34.18: [  343]: REMOTE wants unlimited page length 
Jul 23 14:23:34.18: [  343]: REMOTE wants 3.85 line/mm
Jul 23 14:23:34.18: [  343]: REMOTE wants 1-D MR
Jul 23 14:23:34.18: [  343]: RECV training at v.29 9600 bit/s
Jul 23 14:23:34.18: [  343]: <-- [10:AT+FRM=96\r]
Jul 23 14:23:34.55: [  343]: --> [7:CONNECT]
Jul 23 14:23:36.18: [  343]: RECV: TCF 1953 bytes, 4% non-zero, 1862 zero-run
Jul 23 14:23:36.18: [  343]: --> [10:NO CARRIER]
Jul 23 14:23:36.18: [  343]: DELAY 75 ms
Jul 23 14:23:36.27: [  343]: <-- [9:AT+FTH=3\r]
Jul 23 14:23:36.46: [  343]: --> [7:CONNECT]
Jul 23 14:23:36.46: [  343]: <-- data [3]
Jul 23 14:23:36.46: [  343]: <-- data [2]
Jul 23 14:23:37.64: [  343]: --> [2:OK]
Jul 23 14:23:37.64: [  343]: TRAINING succeeded
Jul 23 14:23:37.64: [  343]: <-- [10:AT+FRM=96\r]
Jul 23 14:23:38.58: [  343]: --> [7:CONNECT]
Jul 23 14:23:38.58: [  343]: RECV: begin page
Jul 23 14:23:53.66: [  343]: RECV: 565 total lines, 0 bad lines, 0 consecutive bad lines
Jul 23 14:23:53.67: [  343]: RECV: end page
Jul 23 14:23:53.67: [  343]: --> [10:NO CARRIER]
Jul 23 14:23:53.67: [  343]: <-- [9:AT+FRH=3\r]
Jul 23 14:24:11.65: [  343]: --> [10:NO CARRIER]
Jul 23 14:24:11.65: [  343]: MODEM No carrier
Jul 23 14:24:11.65: [  343]: <-- [9:AT+FRH=3\r]
Jul 23 14:24:11.66: [  343]: --> [10:NO CARRIER]
Jul 23 14:24:17.17: [  343]: MODEM No carrier
Jul 23 14:24:17.72: [  343]: <-- [9:AT+FRH=3\r]
Jul 23 14:24:17.73: [  343]: --> [10:NO CARRIER]
Date: Thu, 23 Jul 1998 18:12:46 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
X-Sender: raoul@earmuff
To: Ludovic Marcotte <ludovic@Sophos.ca>
Cc: flexfax@sgi.com
Subject: Re: flexfax: reset prob.. please help.
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 23 Jul 1998, Ludovic Marcotte wrote:

> 	Sorry about asking the same question two time.. but now I've
> attached a log.
> 
> Look at the 3 last lines.. Those 3 lines have been written more than 150
> 000 times.. creating a huge 30MB file. I've stopped that manually by
> kill -HUP'ing faxgetty. I'm using an USR Sportster 33,6 modem (internal)
> configured with the usr-rts file in the ../fax/config directory. It did
> that 2 times in 2 days.

This may be related to the flow control problem of the USR Sportster:
certain versions have a serious wedging problem that USR doesn't like
to talk about. This is why certain models of the 33.6 Sportster are
sold so cheap, and most people don't rely on their modems enough to
tickle the bug a lot and chalk it up to the Windows system.

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNbe1Vj/+ItycgIJRAQGYlAP/ZHk7vyNYtTXaO44m1jYRpPjHq7yW+Bo8
SuXe2JBlw00EzMOWY9n5pM3gR8ALeD6puAy2QrkDULs/COkZzNalnCEuRF5htA/J
251dPulg9m+Qm++78oBPdm5kZCwFzwnEsz8A3+Y9TXGtwszqOHqmuqyhtwy2qJAd
NBb6TMRpxFU=
=6aXG
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 23 Jul 1998 18:07:00 -0500 (CDT)
From: Daniel Manrique <roadmr@entropia.com.mx>
Reply-To: Daniel Manrique <roadmr@entropia.com.mx>
To: flexfax@sgi.com
Subject: flexfax: Help! recvd faxes get chopped
Sender: owner-flexfax@celestial.com


We just installed HylaFAX 4.0p1 and are having a weird problem with
received faxes. All pages arrive, however they all get truncated at about
1/4 of the page's length (not always the same spot). PaintShop Pro reports
an "invalid huffman code" in the tiff file.

We have no problems with sent faxes; they arrive fine at their
destination. 

I'm using a Boca 14.4 Kbps external faxmodem (reported by faxgetty as
"MODEM ROCKWELL RC32ACL/V1.410-AS29"). This is on a Red Hat 5.0 system
with HylaFAX installed from an RPM. It's a no-name Pentium-150.

We're wondering if this has anything to do with it:

Jul 23 15:04:54.26: [20768]: --> [22:+FDCS: 1,5,0,2,0,0,0,0]
Jul 23 15:04:54.26: [20768]: REMOTE wants 14400 bit/s
Jul 23 15:04:54.26: [20768]: REMOTE wants page width 1728 pixels in 215 mm
Jul 23 15:04:54.26: [20768]: REMOTE wants unlimited page length
Jul 23 15:04:54.27: [20768]: REMOTE wants 7.7 line/mm
Jul 23 15:04:54.27: [20768]: REMOTE wants 1-D MR
Jul 23 15:04:54.27: [20768]: --> [2:OK]

(unlimited page length?!).

Thanks in advance!

	- Roadmaster

----------------
*
Save a tree- use E-Mail!				
*

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: flexfax@sgi.com
Date: Thu, 23 Jul 1998 15:15:29 -0700
From: "nagu nagu" <nagu@my-dejanews.com>
X-Sent-Mail: off
Subject: flexfax: How does HOLD of SNPP work in hylafax
X-Sender-Ip: 38.218.161.101
Organization: Deja News Mail  (http://www.my-dejanews.com:80)
Sender: owner-flexfax@celestial.com

hi,

   How does the HOLD command work in hylafax? I have a setup for paging(Hylafax r.0pl1 running on Unixware 2.1). When I issue HOLD yymmddhhmmss -0400, I get a response that says message will be processed at xxx time. If I quit(telnet interface), nothing happens. If I issue a send after hold, the page is sent out immediately.

Also how do I get paging requests to queue up in the server? The SNPP protocol revision 3 (two-way) has options for queuing transactions. How is it done in hylafax.

thanks,

nagu


-----== Sent via Deja News, The Discussion Network ==-----
http://www.dejanews.com/  Easy access to 50,000+ discussion forums

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christoph Stotz <pif@logo.de>
To: flexfax@sgi.com
Subject: flexfax: Least Cost Routing for Call-by-Call Provider
Date: Fri, 24 Jul 1998 08:43:19 +0200
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id IAA01817

Hello !

A long time here in Germany there was only one Provider for
Telecommunications. Since the beginning of the
Year this changed (Thank you God!). Now there are about 40-50 Providers,
every one with diffrent costs.

Now I want to realize a "Least Cost Routing" for faxes. In relation to
the time of the day and to the "type" 
of the day (Sunday, Chrismas etc.), I want to choose a diffrent Provider
by using a diffrent Call-by-Call prefix.

Is it possible to pass the number before it is send in the dialstring to
a batch-programm which returns a
"translated" number without touching job parameters ? The translation
has to be made in the moment of 
sending, not at the moment of submitting.

I believe that realizing the LCR-Function in a separate Program is a
good idea in order to use it with other
packages. But where in the hylafax sourcecodes must the function be
called ? and how ? (Im not a C-Programmer).

Any help appreciated.


Best Regards,

Christoph Stotz
logo: GmbH

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 24 Jul 1998 13:01:53 +0200
From: SIMONE PRINCIPI <sara@isi.mc.it>
Reply-To: sara@isi.mc.it
Organization: I.S.I. S.r.l.
To: flexfax@sgi.com
Subject: flexfax: Problem whit sendfax program on linux 
Sender: owner-flexfax@celestial.com

Hi,
I am sorry for my English............

I have installed HylaFAX v4.0pl1 under Linux S.u.S.E. 5.1with modem
USRobotics Sportester Voice 33.6.

I have problem with option of "sendfax" command:

- "-P" for priority Job don't work (take always the default "127")
- "-a" for scheduling job at the time/date specify, not scheduling the
job properly with the
         string "16:00 31.07.98" but scheduling job immediately.

Plese help me with example or with explanation of configuration
parameter.

Thanks

Principi Simone (ISI s.r.l.) ITALY

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 24 Jul 1998 16:41:09 +0200
From: Erich Schechinger <Erich.Schechinger@EMBL-Heidelberg.de>
Reply-To: Erich.Schechinger@EMBL-Heidelberg.de
Organization: EMBL
To: flexfax@sgi.com
Subject: flexfax: Hylafax permission problems
Sender: owner-flexfax@celestial.com

Hello,

I'm trying to set up Hylafax on Linux. When I try to run faxstat I get
the following
error message

550 Cannot set priviledges.
login failed:

thanx for your help.



Erich Schechinger

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 24 Jul 1998 11:49:44 -0400 (EDT)
From: Michael Blaustein <mblauste@CapAccess.org>
To: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
cc: flexfax@sgi.com
Subject: Re: flexfax: configure question - new setup
Sender: owner-flexfax@celestial.com

On Wed, 22 Jul 1998, Nico Kadel-Garcia wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> On Wed, 22 Jul 1998, Michael Blaustein wrote:
> 
> > Hello,
> > 
> > I'm trying to configure hylafx (4.0p12-1) on linux (2.0.34), and I'm 
> > sorry to say I'm having some basic difficulties that reading the manuals 
> > has not cleared up for me (because I'm new to linux and communications 
> > software?).  Please help if you are willing.
> > 
> > I start hfaxd, then faxgetty.
> 
> Did you run faxsetup, and do you have faxq running?
> 

Yes, and yes;  I still get messages from faxgetty that the modem can't be
initialized and appears to be "wedged" and faxstat can't connect (does
this indicate a problem with my network setup, which includes only the
loopback interface?)

I've read most of the documentation adn still don't have a clue how to 
troubleshoot.

Thanks for any advice

Michael Blaustein
mblauste@capaccess.org

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 24 Jul 1998 12:26:54 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Michael Blaustein <mblauste@CapAccess.org>
Cc: flexfax@sgi.com
Subject: Re: flexfax: configure question - new setup
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 24 Jul 1998, Michael Blaustein wrote:

> > > I'm trying to configure hylafx (4.0p12-1) on linux (2.0.34), and I'm 
> > > sorry to say I'm having some basic difficulties that reading the manuals 
> > > has not cleared up for me (because I'm new to linux and communications 
> > > software?).  Please help if you are willing.
> > > 
> > > I start hfaxd, then faxgetty.
> > 
> > Did you run faxsetup, and do you have faxq running?
> > 
> 
> Yes, and yes;  I still get messages from faxgetty that the modem can't be
> initialized and appears to be "wedged" and faxstat can't connect (does
> this indicate a problem with my network setup, which includes only the
> loopback interface?)

Hmm. Can you ping "localhost", which is the default FAXSERVER? And
if faxstat fails, you probably either have a network problem or your
$SPOOLDIR/etc/hosts table is not permitting connections to your hfaxd.
Read the manual page on the HylaFAX "hosts" file carefully and see
where that gets you...

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNbi1xj/+ItycgIJRAQG22QP6ApDW99Y1XWTvvEHGUD/OMG7JeZy4sNsY
keBY31iVxtoQdvk0FEZeR+7WeL6Rs1Wfzcuvf9qjp3cksaNYBqhSC8qKJxZrQ9UU
32t3qVuQrore1AWeY8ZAVCZFmEbF5mUQP0uceOTY1fqT2Fiy7u6flHQa+fwkVkzW
DdJZHyR6/R4=
=/l/6
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 24 Jul 1998 16:13:58 -0400 (EDT)
From: Michael Blaustein <mblauste@CapAccess.org>
To: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
cc: flexfax@sgi.com
Subject: Re: flexfax: configure question - new setup
Sender: owner-flexfax@celestial.com

On Fri, 24 Jul 1998, Nico Kadel-Garcia wrote:

> 
> 
> Hmm. Can you ping "localhost", which is the default FAXSERVER? And
> if faxstat fails, you probably either have a network problem or your
> $SPOOLDIR/etc/hosts table is not permitting connections to your hfaxd.
> Read the manual page on the HylaFAX "hosts" file carefully and see
> where that gets you...
> 
> 			Nico Garcia

Yes, localhost can be pinged.  The man page for "hosts" stipulates that 
the file "hosts" must be owned by fax.  ls -l tells me it is owned by 
uucp, not fax, even after I chown it to fax.  Could this be the problem?  
Otherwise, all looks fine -- the two entries in hosts are
  localhost.localdomain
  127.0.0.1
as one would expect.

     Michael Blaustein
     mblauste@CapAccess.org 

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Subject: Re: flexfax: configure question - new setup
To: flexfax@celestial.com (HylaFAX list)
Date: Fri, 24 Jul 1998 20:07:26 -0500 (CDT)
From: Dave Parker <uw!dlparker@uunet.uu.net>
Original-Content-Type: text
Reply-To: dlparker@dlpinc00.com
Sender: owner-flexfax@celestial.com

Michael Blaustein wrote:
>
>On Fri, 24 Jul 1998, Nico Kadel-Garcia wrote:
>
>> 
>> 
>> Hmm. Can you ping "localhost", which is the default FAXSERVER? And
>> if faxstat fails, you probably either have a network problem or your
>> $SPOOLDIR/etc/hosts table is not permitting connections to your hfaxd.
>> Read the manual page on the HylaFAX "hosts" file carefully and see
>> where that gets you...
>> 
>> 			Nico Garcia
>
>Yes, localhost can be pinged.  The man page for "hosts" stipulates that 
>the file "hosts" must be owned by fax.  ls -l tells me it is owned by 
>uucp, not fax, even after I chown it to fax.  Could this be the problem?  

If you accepted the defaults during installation, I believe that the fax
user and group were set up with the same uid/gid as uucp.
-- 
Dave Parker/DLP, Inc     dlparker@dlpinc00.com

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Fri, 24 Jul 1998 16:41:04 -0600
From: Bob Worthy <bworthy@worthy.com>
Reply-To: bworthy@worthy.com
Organization: Key Computer Consultants, Inc.
To: flexfax@sgi.com
Subject: flexfax: faxgetty dial-in hangs and times out on Linux 2.0.30
Sender: owner-flexfax@celestial.com

I've just installed HylaFAX 4.0pl2 for use as occasional fax out on
Linux 2.0.30 (Slackware).  Installed smooth, works very nicely.  Modem
is a super cheap ($25) CREATIVE Rockwell chip external that was handy
when the USR Sportster 33.6 proved to be wholly inadequate.

Faxing out (via sendfax) works fine, can be scheduled with cron with
faxq and faxgetty running.

Dial-in to the modem with regular getty or uugetty also works fine.

Dial-in with faxgetty does NOT work.  The modem answers and there is
never any login prompt.  Something times out after about a minute and
drops carrier.  I've looked for a sample getty.ttyC0, which is where I
think the problem must be, but haven't seen one.

If i eliminate the WAITFOR and CONNECT entries from getty.ttyC0, it
hangs up immediately after connect. I have included the
ModemWaitForConnect:	Yes
line in config.ttyC0 as suggested in other posts.

The config.ttyC0, getty.ttyC0, dial-up remote screen, and the relevant
bit of /var/log/messages is included below.

I'd appreciate any help.

------------minicom dialup-------------------
NO CARRIER
atdt4439999
CONNECT 14400/ARQ

NO CARRIER

-------------from /var/log/messages----------
Jul 24 15:04:41 pilot FaxGetty[106]: HELLO
Jul 24 15:12:11 pilot FaxGetty[106]: CLOSE /dev/ttyC0
Jul 24 15:12:11 pilot FaxGetty[231]: OPEN /dev/ttyC0
Jul 24 15:12:18 pilot FaxGetty[231]: MODEM ROCKWELL AC/VFC/V1.0R2-CS39
VFC
Jul 24 15:13:56 pilot FaxGetty[231]: ANSWER: DATA CONNECTION
Jul 24 15:13:56 pilot FaxGetty[231]: GETTY: START "/sbin/getty -h ttyC0
38400", pid 235
Jul 24 15:14:33 pilot FaxGetty[231]: GETTY: exit status 0
Jul 24 15:14:37 pilot FaxGetty[231]: /dev/ttyC0: Can not initialize
modem.
Jul 24 15:15:13 pilot FaxGetty[231]: MODEM ROCKWELL AC/VFC/V1.0R2-CS39
VFC

--------------/etc/default/getty.ttyC0--------
CLEAR = NO
HANGUP=NO
#INIT="" ATZ\r OK
#WAITFOR=RING
#CONNECT="" ATA\r CONNECT \s\A
WAITFOR=CONNECT
CONNECT=""
#INIT="" AT\sM0\sE1\sQ0\sV1\sX4\sS0=0\r OK\r\n

--------------/var/spool/fax/etc/config.ttyC0
# $Id: rockwell,v 1.2 1996/06/24 02:58:40 sam Rel $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
# 
# Permission to use, copy, modify, distribute, and sell this software
and 
# its documentation for any purpose is hereby granted without fee,
provided
# that (i) the above copyright notices and this permission notice appear
in
# all copies of the software and related documentation, and (ii) the
names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
# 
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
# 
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY
OF 
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
# OF THIS SOFTWARE.
#

#
# Configuration for a Rockwell-based modem not otherwise handled by
# another prototype configuration file.  This file assumes the modem
# is compatible with the Rc144AC, RC96AC or RC144DP.
#
# This configuration file sets up the modem to run at 38.4 with
# RTS/CTS flow control used by default.  XON/XOFF is automatically
# enabled for fax recv.  Beware of modems that also lock sending
# to 19.2; add ModemSendBeginCmd: "<19200>" if this is required.
# Also beware that the adaptive-answer facility, when supported,
# is often unreliable.
#
#
CountryCode:		1
AreaCode:		406
FAXNumber:		+1.406.443.1875
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		off
##GettyArgs:		"-h %l dx_%s"
##GettyArgs:		"-h %l %s vt100"
GettyArgs:		"-h %l %s"
LocalIdentifier:	"Heritage Propane"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%p of %%t"
QualifyTSI:		etc/tsi
MaxRecvPages:		25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2		# use class 2 interface
ModemRate:		38400
ModemFlowControl:	rtscts		# default
#
#ModemResetCmds:	AT&F2		# what you want for a Supra
ModemNoFlowCmd:		AT&K		# disable flow control cmd
ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
ModemSoftFlowCmd:	AT&K4		# software flow control cmd
ModemSetupDTRCmd:	AT&D3		# DTR off causes modem to reset
#ModemSetupDTRCmd:	AT&D2S25=1S38=0	# Dynalink 1414VE needs this
ModemSetupDCDCmd:	AT&C1		# DCD follows carrier
ModemSetupAACmd:	AT+FAA=1+FCLASS=0 # enable in current class
#
ModemSendFillOrder:	LSB2MSB		# as expected
ModemRecvFillOrder:	MSB2LSB		# opposite of what makes sense
#
ModemAnswerFaxBeginCmd:	"<19200><xon>"	# modem switches on fax receive
#
ModemWaitForConnect:	Yes	# modem switches on fax receive
#
# Caller ID configuration setup for Supra.
#
#QualifyCID:		etc/cid		# CID access control list file
#CIDNumber:		"NMBR = "	# pattern string for phone number info
#CIDName:		"NAME = "	# pattern string for identity info
-------------end config.ttyC0-------------------
-- 
Bob Worthy
bworthy@worthy.com
http://www.worthy.com/
406 443 5219 v
406 442 6665 v

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Sat, 25 Jul 98 13:59:53 EDT
From: gary@sabot.com (Gary Sabot)
To: flexfax@sgi.com
Subject: flexfax: receive fax image problem
Sender: owner-flexfax@celestial.com


I'm using HylaFAX v4.0pl2 on Solaris 2.6/ultra 60 using gcc 2.8.1
(with the hylafax-gcc-2.8.x.sh patches) and a multitech 56384zbav
modem.  I switched to a Central Data serial port card with full
bidirectional hardware flow control to avoid the buffer overruns I had
been experiencing with the internal ports, but I still have a problem
receiving faxes.  I had blamed the problem before on the buffer
overruns, but that excuse is gone; no error messages now, and good
flow control).

When I receive a fax, the log looks fine, the image file gets created
and I receive email about it.  However, the fax seems screwed up, as
if horizontal hold on a TV was misadjusted (i.e. as if data is missing
randomly from scanlines which then get shortened and dont all start at
the left.)  I'm viewing it using a ghostview that is known to work.

When I run fax2ps by hand, I get a string of messages like this:

    /tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 2 (x 1246).
    /tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 3 (x 1246).
    /tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 4 (x 183).
    /tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 7 (x 1246).
    /tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 8 (x 1246).
    /tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 9 (x 1246).

Everything else works fine: sending faxes, adaptive answer and
faxgetty login, uucp, tip, etc.

Help!

--gary
_______________________________________________________
Gary Sabot              |  Voice:    (781) 647-7776
Sabot Associates, Inc.  |  FAX:      (781) 647-7779
10 Carroll Circle       |  Internet: gary@sabot.com
Weston, MA 02493  USA   |  
-------------------------------------------------------

P.S. for what its worth, below I include my config file, followed by
the fax receive log:

CountryCode:		1
AreaCode:		781
FAXNumber:		+1.781.647.7779
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	"etc/dialrules"
ServerTracing:		1     #was 1, 11 or 15 for lots of detail, output in /var/spool/fax/etc/syslog
SessionTracing:		11
RecvFileMode:		0666
LogFacility:		"local5"
LogFileMode:		0666
DeviceMode:		0666
RingsBeforeAnswer:	1     #0 is dont answer, 1 is answer on first ring
SpeakerVolume:		off
GettyArgs:		"-g -h -d /dev/cua/0 -l contty8H -m ldterm,ttcompat"
LocalIdentifier:	"+1.781.647.7779"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%p of %%t"
MaxRecvPages:		300
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2		# use class 2 interface
ModemRate:		115200		# lock rate for DCE-DTE communication
ModemFlowControl:	rtscts		# default
#
ModemHardFlowCmd:	AT&K3		# hardware flow controlK3
ModemSoftFlowCmd:	AT&K4		# software flow controlK4
ModemSetupDTRCmd:	AT&D3		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
ModemSetupAACmd:	AT+FAA=1	# enable adaptive-answer in class 2
#
# NB: some models get confused by the @
#
ModemDialCmd:		ATDT%s@		# T for tone dialing, @ for silence
#
Class2RecvDataTrigger:	"\022"		# character sent to modem to start recv


Jul 25 12:48:29.05: [  997]: SESSION BEGIN 00000019 17816477779
Jul 25 12:48:29.05: [  997]: <-- [4:ATA\r]
Jul 25 12:48:42.00: [  997]: --> [5:+FCON]
Jul 25 12:48:42.00: [  997]: ANSWER: FAX CONNECTION
Jul 25 12:48:42.02: [  997]: RECV FAX: begin
Jul 25 12:48:42.05: [  997]: --> [28:+FTSI:"     +1 781 647 7779"]
Jul 25 12:48:42.05: [  997]: REMOTE TSI "+1 781 647 7779"
Jul 25 12:48:42.33: [  997]: --> [21:+FDCS:0,3,0,2,0,0,0,0]
Jul 25 12:48:42.33: [  997]: REMOTE wants 9600 bit/s
Jul 25 12:48:42.33: [  997]: REMOTE wants page width 1728 pixels in 215 mm
Jul 25 12:48:42.33: [  997]: REMOTE wants unlimited page length 
Jul 25 12:48:42.33: [  997]: REMOTE wants 3.85 line/mm
Jul 25 12:48:42.33: [  997]: REMOTE wants 1-D MR
Jul 25 12:48:42.33: [  997]: --> [2:OK]
Jul 25 12:48:42.33: [  997]: <-- [7:AT+FDR\r]
Jul 25 12:48:45.36: [  997]: --> [5:+FCFR]
Jul 25 12:48:46.28: [  997]: --> [7:CONNECT]
Jul 25 12:48:46.28: [  997]: RECV: begin page
Jul 25 12:48:46.28: [  997]: RECV: send trigger 022
Jul 25 12:48:46.28: [  997]: <-- data [1]
Jul 25 12:49:06.02: [  997]: RECV: 23724 bytes of data, 574 total lines
Jul 25 12:49:06.02: [  997]: --> [12:+FPTS:1,1082]
Jul 25 12:49:07.63: [  997]: --> [6:+FET:2]
Jul 25 12:49:07.63: [  997]: RECV recv EOP (no more pages or documents)
Jul 25 12:49:07.63: [  997]: --> [2:OK]
Jul 25 12:49:07.63: [  997]: RECV send MCF (message confirmation)
Jul 25 12:49:07.63: [  997]: RECV FAX (00000019): from +1 781 647 7779, page 1 in 0:25, INF, 3.85 line/mm, 1-D MR
Jul 25 12:49:07.63: [  997]: RECV FAX (00000019): recvq/fax00005.tif from +1 781 647 7779, route to <unspecified>, 1 pages in 0:25
Jul 25 12:49:07.63: [  997]: <-- [7:AT+FDR\r]
Jul 25 12:49:10.75: [  997]: --> [7:+FHNG:0]
Jul 25 12:49:10.75: [  997]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Jul 25 12:49:10.75: [  997]: RECV FAX: bin/faxrcvd "recvq/fax00005.tif" "cua_0" "00000019" ""
Jul 25 12:49:10.92: [  997]: RECV FAX: end
Jul 25 12:49:10.92: [  997]: SESSION END

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Sat, 25 Jul 1998 10:16:08 +0800
From: Jahan <jahan@jjsoft.com>
To: "flexfax@sgi.com" <flexfax@sgi.com>
Subject: flexfax: Why ?
Sender: owner-flexfax@celestial.com

Why flexfax emails is not filterred in netscape ? 

my filter for netscape filter is if To: or From: contains flexfax go to
flexfax folder.

I know its not related question, but wondering .

Jahan

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
X-Envelope-To: flexfax@sgi.com
Date: Sat, 25 Jul 1998 16:09:10 -0400 (EDT)
From: Josh Duncan <duncan@msmd.com>
To: Jahan <jahan@jjsoft.com>
cc: "flexfax@sgi.com" <flexfax@sgi.com>
Subject: Re: flexfax: Why ?
Sender: owner-flexfax@celestial.com


Hello,

I know on my system the user id of the flexfax program user(the user
id/name it runs under) is also that of uucp.

So, if your mailer is doing a username lookup for that uid, it will most
likely find the uucp username matching the id before the flexfax username
will, and mail it to you as uucp@host being the sender.

This may be why your filter is missing it.. try checking your headers very
closely.
(anyone on the list want to back me up/shoot me down here?)

cheers,
Josh

On Sat, 25 Jul 1998, Jahan wrote:

> Why flexfax emails is not filterred in netscape ? 
> 
> my filter for netscape filter is if To: or From: contains flexfax go to
> flexfax folder.
> 
> I know its not related question, but wondering .
> 
> Jahan
> 

----
Josh Duncan
duncan@msmd.org

God's like Comet(TM), nothing cleans better.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Sun, 26 Jul 1998 00:14:42 +0200
From: Philippe Vanhaesendonck <philippe.vanhaesendonck@topgame.be>
Organization: Topgame
To: flexfax@sgi.com
Cc: pvanhaes@topgame.be
Subject: flexfax: pagesend -- Bug in StackBuffer
Sender: owner-flexfax@celestial.com

- Pardon me if this my exlanations are not always clear, but this is the
first time I looked at C++ code...

- My environment:
    - Hylafax  4.0 pl2
    - gcc: egcs-2.90.29 980515 (egcs-1.0.3 release)
    - Linix 2.0.34
    - Modem Xircom PCMCIA (class 1)

- Problem:
    SIGSEV in pagesend after (successfully) sending ucp page

- Dignostic:
    the problem can be easily reproduced with the following piece of
code:
int
main(int argc, char** argv)
{
    fxStackBuffer tmp;
    fxStackBuffer buf;

    buf.put("azertyuiopazertyuiopazertyuiop");
    tmp.put("azertyuiopazertyuiopazertyuiop");

    buf = tmp;
}

    What's happening? actually, after the 'buf = tmp', we have
        buf.buf contains the same value than tmp.buf
        buf.base == tmp.base  == tmp.buf
    so the destructor for fxStackBuffer tries free() something which
cannot be freed (tmp.buf) --look at  StackBuffer.c++ /
fxStackBuffer::~fxStackBuffer()

Solution: the following pagesend hack fixes the problem (note that this
piece of code only impacts UCP pagers):

-- Phil.

*** pageSendApp.c++.ori Sat Feb 14 11:49:44 1998
--- pageSendApp.c++     Sat Jul 25 23:10:16 1998
***************
*** 1069,1075 ****
      addUcpChecksum(tmp);      // append packet checksum
      tmp.put("\x03");

!     buf = tmp;

      /*
       * Send the packet to paging central.
--- 1069,1078 ----
      addUcpChecksum(tmp);      // append packet checksum
      tmp.put("\x03");

!     // buf = tmp;
!     // this gives problem with the destroy :-) VHD
!     buf.reset();              // VHD
!     buf.put(tmp);             // VHD

      /*
       * Send the packet to paging central.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 27 Jul 1998 12:00:11 +1000
To: Philippe Vanhaesendonck <philippe.vanhaesendonck@topgame.be>,
        flexfax@sgi.com
From: Robert Colquhoun <rjc@trump.net.au>
Subject: Re: flexfax: pagesend -- Bug in StackBuffer
Sender: owner-flexfax@celestial.com

Hi Philippe,

I looked at you patch, i think there might be a better way of doing it.

The cause of the problem is that in ths fxStackBuffer class there is no
equals operator ( ie operator= ) function defined.  The C++ compiler
therefore drops back to doing a memberwise copy which is fine if copying
regular numbers but breaks badly for pointers and dynamically allocated data.

A defined operator= would catch other instances of code assigning one
fxStackBuffer to another.

I have included a patch below that does this - warning it needs testing!!!

PS If you need a Stack today in new C++ code don't write your own, use the
STL :-)

- Robert

*** StackBuffer.h.orig  Sat Feb 14 21:47:49 1998
--- StackBuffer.h       Mon Jul 27 11:04:21 1998
***************
*** 60,65 ****
--- 60,66 ----
      operator const unsigned char*() const;// Return base of buffer
      char& operator[](u_int i) const;  // Return character in buffer
      char& operator[](int i) const;    // Return character in buffer
+     fxStackBuffer& operator=(const fxStackBuffer&);
  protected:
      char      buf[1000];
      char*     next;     

c StackBuffer.c++.orig StackBuffer.c++
*** StackBuffer.c++.orig        Sat Feb 14 21:47:26 1998
--- StackBuffer.c++     Mon Jul 27 11:41:36 1998
***************
*** 117,119 ****
--- 117,133 ----
      vput(fmt, ap);
      va_end(ap);
  }
+
+ fxStackBuffer& fxStackBuffer::operator=(const fxStackBuffer& other)
+ {
+     if (&other != this) {
+         u_int size = other.end - other.base;
+         u_int len = other.getLength();
+         if (base != buf) free(base);
+         base = (size > sizeof(buf)) ? (char*) malloc(size) : &buf[0];
+         end = base + size;
+         next = base + len;
+         memcpy(base, other.base, len);
+    }
+    return *this;
+ }           

 

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 27 Jul 1998 16:57:09 +0000
From: Didier Gautheron <dgautheron@magic.fr>
To: Christoph Stotz <pif@logo.de>
CC: flexfax@sgi.com
Subject: Re: AW: AW: flexfax: Problems submitting very large Number of jobs se 	quentially
Sender: owner-flexfax@celestial.com

Hi,

Christoph Stotz wrote:
> 
> How do you changed the assignModem behaviour ? Any patch or code
> snippit avaible ?
> 
Yes, but I don't use (test) it!
It's a small patch but a major change to faxq behavior :
- now runScheduler is not the main function 
- out of date jobs will not be process in the same order
- idem for events
- runScheduler could exit with dead jobs in the run queue
- run queue could become very large,(spool directories).
and so on.

So old problems could pop up, and many new ones could pour in :(

It's up to you.
Didier
*** /Y/hylafax/baseline/faxd/Modem.c++	Tue Jul 21 00:42:18 1998
--- /home/fao/hylafax.C015/faxd/Modem.c++	Mon Jul 27 00:24:26 1998
***************
*** 136,143 ****
   * work associated with the specified job.
   */
  Modem*
! Modem::findModem(const Job& job)
  {
      RegEx* c = ModemClass::find(job.device);
      if (c) {
  	/*
--- 136,144 ----
   * work associated with the specified job.
   */
  Modem*
! Modem::findModem(const Job& job, fxBool *nofound)
  {
+     *nofound = TRUE;
      RegEx* c = ModemClass::find(job.device);
      if (c) {
  	/*
***************
*** 149,154 ****
--- 150,156 ----
  	    Modem& modem = iter;
  	    if (modem.getState() != Modem::READY)
  		continue;
+ 	    *nofound = FALSE;
  	    if (c->Find(modem.devID) && modem.isCapable(job))
  		return (&modem);
  	}
***************
*** 162,167 ****
--- 164,170 ----
  	    Modem& modem = iter;
  	    if (modem.getState() != Modem::READY)
  		continue;
+ 	    *nofound = FALSE;
  	    if (job.device != modem.devID)
  		continue;
  	    return (modem.isCapable(job) ? &modem : (Modem*) NULL);
*** /Y/hylafax/baseline/faxd/Modem.h	Sun May  4 20:31:02 1997
--- /home/fao/hylafax.C015/faxd/Modem.h	Mon Jul 27 00:23:18 1998
***************
*** 107,113 ****
  
      static Modem& getModemByID(const fxStr& id);
      static Modem* modemExists(const fxStr& id);
!     static Modem* findModem(const Job& job);
  
      fxBool assign(Job&);		// assign modem
      void release();			// release modem
--- 107,113 ----
  
      static Modem& getModemByID(const fxStr& id);
      static Modem* modemExists(const fxStr& id);
!     static Modem* findModem(const Job& job, fxBool *nofound);
  
      fxBool assign(Job&);		// assign modem
      void release();			// release modem
*** /Y/hylafax/baseline/faxd/faxQueueApp.c++	Thu Jul 16 02:03:34 1998
--- /home/fao/hylafax.C015/faxd/faxQueueApp.c++	Mon Jul 27 00:29:30 1998
***************
*** 1996,2001 ****
--- 1996,2002 ----
  	close();
  	return;
      }
+     int rep;
      /*
       * Reread the configuration file if it has been
       * changed.  We do this before each scheduler run
***************
*** 2098,2104 ****
  		job.remove();			// remove from run queue
  		delayJob(job, *req, "Delayed by time-of-day restrictions", tts);
  		delete req;
! 	    } else if (assignModem(job)) {
  		job.remove();			// remove from run queue
  		/*
  		 * We have a modem and have assigned it to the
--- 2099,2109 ----
  		job.remove();			// remove from run queue
  		delayJob(job, *req, "Delayed by time-of-day restrictions", tts);
  		delete req;
! 	    } else if (0 != (rep = assignModem(job))) {
! 		if (-1 == rep) {
! 		   delete req;
! 		   break;
! 		}
  		job.remove();			// remove from run queue
  		/*
  		 * We have a modem and have assigned it to the
***************
*** 2141,2159 ****
   * do not get information about when modems are in
   * use from faxgetty processes.
   */
! fxBool
  faxQueueApp::assignModem(Job& job)
  {
      fxAssert(job.modem == NULL, "Assigning modem to job that already has one");
! 
      fxBool retryModemLookup;
      do {
  	retryModemLookup = FALSE;
! 	Modem* modem = Modem::findModem(job);
  	if (modem) {
  	    if (modem->assign(job)) {
  		Trigger::post(Trigger::MODEM_ASSIGN, *modem);
! 		return (TRUE);
  	    }
  	    /*
  	     * Modem could not be assigned to job.  The
--- 2146,2164 ----
   * do not get information about when modems are in
   * use from faxgetty processes.
   */
! int
  faxQueueApp::assignModem(Job& job)
  {
      fxAssert(job.modem == NULL, "Assigning modem to job that already has one");
!     fxBool noModemReady;
      fxBool retryModemLookup;
      do {
  	retryModemLookup = FALSE;
! 	Modem* modem = Modem::findModem(job, &noModemReady);
  	if (modem) {
  	    if (modem->assign(job)) {
  		Trigger::post(Trigger::MODEM_ASSIGN, *modem);
! 		return (1);
  	    }
  	    /*
  	     * Modem could not be assigned to job.  The
***************
*** 2172,2178 ****
  	} else
  	    traceJob(job, "No assignable modem located");
      } while (retryModemLookup);
!     return (FALSE);
  }
  
  /*
--- 2177,2183 ----
  	} else
  	    traceJob(job, "No assignable modem located");
      } while (retryModemLookup);
!     return (noModemReady?-1:0);
  }
  
  /*
*** /Y/hylafax/baseline/faxd/faxQueueApp.h	Sun May  4 20:31:02 1997
--- /home/fao/hylafax.C015/faxd/faxQueueApp.h	Mon Jul 27 00:25:53 1998
***************
*** 153,159 ****
      fxStr	canonicalizePhoneNumber(const fxStr& ds);
  // modem support
      void	scanForModems();
!     fxBool	assignModem(Job& job);
      void	releaseModem(Job& job);
      void	notifyModemWedged(Modem&);
      void	pollForModemLock(Modem& modem);
--- 153,160 ----
      fxStr	canonicalizePhoneNumber(const fxStr& ds);
  // modem support
      void	scanForModems();
! //    fxBool	assignModem(Job& job);
!     int	assignModem(Job& job);
      void	releaseModem(Job& job);
      void	notifyModemWedged(Modem&);
      void	pollForModemLock(Modem& modem);

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christoph Stotz <pif@logo.de>
To: raoul@cirl.meei.harvard.edu
Cc: flexfax@sgi.com
Subject: AW: AW: flexfax: Problems submitting very large Number of jobs se
	quen tial ly
Date: Mon, 27 Jul 1998 09:26:42 +0200
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id HAA05329

Hello Nico!

Sorry, my email was send to the mailing list too, it goes "BCC" - my
error.

Writing a loop is a nice Idea, but Im generating this batch-Script from
a Windows-PC connected to a SQL-Server where all the Data is stored.
Every
fax is diffrent (Name, Address, even logos and firms). Fax-Attributes
may
change (Priority, Modempool, Send-Time etc.). I thought about
trasmitting
every fax by connecting directly to the daemon (ftp isnt really
difficult),
but I have to resend the failures 2 or 3 times and using my batch-script
I dont have to regenerate every time the tiffs...

Dont worry about your time - You already helped me and maybe some other
flexfax-User has some more idea what could by the problem. My first
step will be to buy another 64/128MB of Memory...

Thanx!

Christoph Stotz
logo: GmbH
-----Ursprngliche Nachricht-----
Von: Nico Kadel-Garcia [mailto:raoul@cirl.meei.harvard.edu]
Gesendet am: Freitag, 24. Juli 1998 17:04
An: Christoph Stotz
Betreff: Re: AW: flexfax: Problems submitting very large Number of jobs
sequen tial ly

-----BEGIN PGP SIGNED MESSAGE-----

Chris, I'd much rather look at this kind of stuff on the mailing list:
it gets more people involved.

> The answers to you questions are:
> 
> Operating System is Linux 2.0.30.
> Hylafax is 4.0pl2.
> 
> The batch script looks like that:
> 
> <---cut---><---cut---><---cut---><---cut--->
> faxconfig ModemClass
> "exgroup:ttyD2|ttyD3|ttyD4|ttyD5|ttyD6|ttyD7|ttyX00|ttyX04"
> sendfax -n -s 'a4' -t 3 -k 'now + 1 month' -m -B 14400 -b 2400 -i
> 'ex0001' -h exgroup@ -d '<number_to_dial1>' <filename1>.tif
> sendfax -n -s 'a4' -t 3 -k 'now + 1 month' -m -B 14400 -b 2400 -i
> 'ex0002' -h exgroup@ -d '<number_to_dial2>' <filename2>.tif
> sendfax -n -s 'a4' -t 3 -k 'now + 1 month' -m -B 14400 -b 2400 -i
> 'ex0003' -h exgroup@ -d '<number_to_dial3>' <filename3>.tif
> sendfax -n -s 'a4' -t 3 -k 'now + 1 month' -m -B 14400 -b 2400 -i
> 'ex0004' -h exgroup@ -d '<number_to_dial4>' <filename4>.tif
> sendfax -n -s 'a4' -t 3 -k 'now + 1 month' -m -B 14400 -b 2400 -i
> 'ex0005' -h exgroup@ -d '<number_to_dial5>' <filename5>.tif
> (5000 lines like these following)
> <---cut---><---cut---><---cut---><---cut--->

AAAARRRGGGHHH! You are cranking up *HOW MANY* sendfaxes via shell
script?
Wouldn't it make more sense to write a small loop for this? And to use
the
same sendfax command and file to send to multiple recipients?

> Ovviously the "<..>" strings in the real batch-file are replaced by
real
> data.
> 
> The Spool partition is 3.5GB. With 5000 faxes on it and (!) in the
queue
> it is 93% full.

GACK!

> My Swap-Partition is about 130MB (I know, Im Crazy ;-)
> Total (real) Memory is 64MB. During the Submitting-Phase (after 2000
> faxes), cat /proc/meminfo gives:

Swap looks reasonable for your system size, but oh, my ghod, that is a
lot of faxes. 

> <---cut---><---cut---><---cut---><---cut--->
>         total:    used:    free:  shared: buffers:  cached:
> Mem:  65560576 64159744  1400832 15183872 19591168 30703616
> Swap: 133885952  8286208 125599744
> MemTotal:     64024 kB
> MemFree:       1368 kB
> MemShared:    14828 kB
> Buffers:      19132 kB
> Cached:       29984 kB
> SwapTotal:   130748 kB
> SwapFree:    122656 kB
> <---cut---><---cut---><---cut---><---cut--->

Looks like you're running out of memory, doesn't it? When you start
running
out of real memory in a lot of active processes, expect a lot of
swapping.
Do you hear the disk grinding a lot when this happens?

> hfaxd is running as standalone and is started at bootup by
> /sbin/init.d/hylafax start.

Good.

> Why do you believe Im overloading hfaxd with too many TCP-Connections
?
> I believe that
> the tcp-Connection is made only in the moment of submitting the job.
If
> it is in the
> Queue, waiting for a line to become free, it should not use any
> resource...

As I understand it, the TCP connection transmits the fax data from
sendfax, through the hfaxd, to the faxq, in an FTP like fashion.  Thus
each sendfax opens up its own TCP connection for a significant amount
of time, and operating systems can only handle so many TCP
requests. Then they tend to crash.

I could be wrong: the HylaFAX could be using hfaxd in this case merely
to notify the faxq of a file stashed in its queue by sendfax, but I
doubt it....

> By the way: may I submit a job without using "sendfax", writing
directly
> the Queue-File ?

Maybe? I never explored that. You'd have to make sure the files were
pre-processed into TIFF correctly, but I think you're already doing
that.

It's not clear to me whether the batch script you use needs genuinely
different TIFF files, or whether you can bundle up your faxes in the
same sendfax script and save a *lot* of disk and processing time, which
might help.

If you need a more thorough consultation on this, maybe we should
arrange a teleconsulting setup and professional rates: I'm reluctant
to get too deeply into your setup on my own limited free time....

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNbiiYD/+ItycgIJRAQG/HgP+IueS8RFgWcJ3Rytya6+Qz6M78mzogfdZ
XTH5ElPacjf5q3moC8+KJVG0Ok+piEsPVqEEwohfnl2Jzjf1sZAyBpUOY8Hn0jf6
ukgowhu02t/Q/zOKyzzSqK+lzeepx/OJ7U238Vh/Tmk285ofwIBIptpQOvjtL9Wv
cAXNKpNm594=
=ry8t
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 27 Jul 1998 02:42:19 +0000
From: Didier Gautheron <dgautheron@magic.fr>
To: Christoph Stotz <pif@logo.de>
CC: flexfax@sgi.com
Subject: Re: AW: flexfax: Problems submitting very large Number of jobs sequen 	tial ly
X-MIME-Autoconverted: from 8bit to quoted-printable by sgi.sgi.com id TAA04163
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id HAA05361

Hi

Christoph Stotz wrote:
> The theory of too many files dont seem to me to be the solution.
Yes but a 1500-5000 files in a directory is a problem on all OS. and
here you have 4 to 5 dirs :
info
sendq
doneq
docq

and the directory from where jobs are 'sendfaxed'.

I don't undertand yours numbers
- Where did you get the 50Mbytes number for faxq?
- Spool partition 5000 faxes --> 3.5 Giga? How many pages per fax?

> Is it possible to tell hylafax to call a batch-file if the number
> of jobs in queue is smaller than the number of free modemlines
> avaible ?
I don't think you could do this out of the box.
But you could use some trick on xferlog and or faxwatch to get a tick
each time a fax is sent.


- Do you have starvation: some modems are staying a little idle at the
end of a call with plenty of jobs waiting? 
- Do you have more errors than under light load? 
 
The text below is over simplified but I hope there's no big mistake.

The delay is coming from the faxq's scheduler : it's a multi threads prg
using fork and exec to achieve its goals.
The main thread (faxq) is waiting in a loop for events:
events are coming from:
fifo : 
- hfaxq submiting job
- faxgetty
- faxsend (not sendfax , faxsend is the prg which actually sends the
fax)
child's dead:
- mainly faxsend
timeout
- mainly from jobs waiting queue

Of course when faxq is not in its waiting loop it doesn't see other
events coming, they are waiting in system's buffers.

faxq is shooting itself in the foot and it's pushing your computer in
the red zone with big queue :
runScheduler in faxd/faxQueueApp.c++ is processing all the jobs in the
run gueue even if no modems are in READY state. So in your case the main
thread is reading 1500 and up files (jobs status file) for nothing - if
the main goal of hylafax is sending faxes, not trashing out of
delay,tries or whatever faxes, of course - And runSheduler is called
many times: each time you add a job, each time a job finished, and so
on.

It's easy to change this ie : change assignModem behavior so
runScheduler will return when there's no more modems available . I tried
and yes now with a 10000 run queue, sendfax takes the same time. 
But side effects are unknow, after all it's just faxq's main routines
:).


Didier.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christoph Stotz <pif@logo.de>
To: dgautheron@magic.fr
Cc: flexfax@sgi.com
Subject: AW: AW: flexfax: Problems submitting very large Number of jobs se
	quentially
Date: Mon, 27 Jul 1998 09:18:52 +0200
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id HAA05364

Hello!

The 50MB was "spinning" out of my mind. Only 1 Page/fax, about
45-60kb/fax.

The number of errors and the idle-Times of the modems is constant.

How do you changed the assignModem behaviour ? Any patch or code
snippit avaible ?

Thanks!

Christoph

-----Ursprngliche Nachricht-----
Von: Didier Gautheron [mailto:dgautheron@magic.fr]
Gesendet am: Montag, 27. Juli 1998 04:42
An: Christoph Stotz
Cc: flexfax@sgi.com
Betreff: Re: AW: flexfax: Problems submitting very large Number of jobs
sequen tial ly

Hi

Christoph Stotz wrote:
> The theory of too many files dont seem to me to be the solution.
Yes but a 1500-5000 files in a directory is a problem on all OS. and
here you have 4 to 5 dirs :
info
sendq
doneq
docq

and the directory from where jobs are 'sendfaxed'.

I don't undertand yours numbers
- Where did you get the 50Mbytes number for faxq?
- Spool partition 5000 faxes --> 3.5 Giga? How many pages per fax?

> Is it possible to tell hylafax to call a batch-file if the number
> of jobs in queue is smaller than the number of free modemlines
> avaible ?
I don't think you could do this out of the box.
But you could use some trick on xferlog and or faxwatch to get a tick
each time a fax is sent.


- Do you have starvation: some modems are staying a little idle at the
end of a call with plenty of jobs waiting? 
- Do you have more errors than under light load? 
 
The text below is over simplified but I hope there's no big mistake.

The delay is coming from the faxq's scheduler : it's a multi threads prg
using fork and exec to achieve its goals.
The main thread (faxq) is waiting in a loop for events:
events are coming from:
fifo : 
- hfaxq submiting job
- faxgetty
- faxsend (not sendfax , faxsend is the prg which actually sends the
fax)
child's dead:
- mainly faxsend
timeout
- mainly from jobs waiting queue

Of course when faxq is not in its waiting loop it doesn't see other
events coming, they are waiting in system's buffers.

faxq is shooting itself in the foot and it's pushing your computer in
the red zone with big queue :
runScheduler in faxd/faxQueueApp.c++ is processing all the jobs in the
run gueue even if no modems are in READY state. So in your case the main
thread is reading 1500 and up files (jobs status file) for nothing - if
the main goal of hylafax is sending faxes, not trashing out of
delay,tries or whatever faxes, of course - And runSheduler is called
many times: each time you add a job, each time a job finished, and so
on.

It's easy to change this ie : change assignModem behavior so
runScheduler will return when there's no more modems available . I tried
and yes now with a 10000 run queue, sendfax takes the same time. 
But side effects are unknow, after all it's just faxq's main routines
:).


Didier.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 28 Jul 1998 10:11:55 +0100
From: Mike Bristow <michaelb@bessie.mojo.org>
To: flexfax@sgi.com
Subject: Re: AW: flexfax: Problems submitting very large Number of jobs sequen 	tial ly
X-MIME-Autoconverted: from 8bit to quoted-printable by sgi.sgi.com id CAA28597
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id HAA06541

Hi,

On Mon, Jul 27, 1998 at 02:42:19AM +0000, Didier Gautheron wrote:
> Hi
> 
> Christoph Stotz wrote:
> > The theory of too many files dont seem to me to be the solution.
> Yes but a 1500-5000 files in a directory is a problem on all OS. and

[only those that use a linked list for directories; those that use btrees
 are much happier with big directories.]

> here you have 4 to 5 dirs :
> info
> sendq
> doneq
> docq

I've got a patch that puts the info files in subdirectories under info,
although I don't think that will help here as (AFAIU) as the numbers 
being called are in a small subset of all possible numbers.   (as opposed to
the tpc cell I see which reached a totally stupid info directory size with
~30,000 entries)

> > Is it possible to tell hylafax to call a batch-file if the number
> > of jobs in queue is smaller than the number of free modemlines
> > avaible ?
> I don't think you could do this out of the box.
> But you could use some trick on xferlog and or faxwatch to get a tick
> each time a fax is sent.

This is probably the approach I'd take; prep the queue with the number 
of modems + 1 or two; run sendfax everytime a line gets written which 
matches /""$/ or something.

> The text below is over simplified but I hope there's no big mistake.
> 
> The delay is coming from the faxq's scheduler : it's a multi threads prg
> using fork and exec to achieve its goals.
> The main thread (faxq) is waiting in a loop for events:
> events are coming from:
> fifo : 
> - hfaxq submiting job
> - faxgetty
> - faxsend (not sendfax , faxsend is the prg which actually sends the
> fax)
> child's dead:
> - mainly faxsend
> timeout
> - mainly from jobs waiting queue
> 
> Of course when faxq is not in its waiting loop it doesn't see other
> events coming, they are waiting in system's buffers.
> 
> faxq is shooting itself in the foot and it's pushing your computer in
> the red zone with big queue :
> runScheduler in faxd/faxQueueApp.c++ is processing all the jobs in the
> run gueue even if no modems are in READY state. So in your case the main
> thread is reading 1500 and up files (jobs status file) for nothing - if
> the main goal of hylafax is sending faxes, not trashing out of
> delay,tries or whatever faxes, of course - And runSheduler is called
> many times: each time you add a job, each time a job finished, and so
> on.
> 
> It's easy to change this ie : change assignModem behavior so
> runScheduler will return when there's no more modems available . I tried
> and yes now with a 10000 run queue, sendfax takes the same time. 
> But side effects are unknow, after all it's just faxq's main routines
> :).

Perhaps it would be better to change:

while (getnextentryinqueue() != NULL) {
...

to:

while (getnextentryinqueue() != NULL && ++counter < QUEUE_TOO_BIG) {
...

[or whatever]

That will help cut faxq down to size when it's deciding which fax to send
as well; when the queue has 9,000,000 entries it's probably less important 
to weight each entry and ponder on the relative merits of each one.  
QUEUE_TOO_BIG 	should probably be at least a compile time, probably better
as run time, tweakable.  It should be different on a 386 with a shonky modem
compared to a dual P-II 400 with a bank of 256 modems. :-)

-- 
"Virgin Trains: It's quicker by balloon."
	-- Peter Corlett

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christoph Stotz <pif@logo.de>
To: michaelb@bessie.mojo.org
Cc: flexfax@sgi.com
Subject: AW: AW: flexfax: Problems submitting very large Number of jobs se
	quen 	tial ly
Date: Wed, 29 Jul 1998 09:01:01 +0200
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id PAA07721

Thank you for your posting. I have a few Questions about it:

How can I use "btrees" for my big directories under Linux ?

May I delete the info/* files after every faxmailing and will I improve
speed in this way ?

Why should I programm a Queue-Controller for the Queue-Controller ?
Writing for
"nr_fax_in_queue<modems+x" seems to me the job of faxq...


Regards,

Christoph Stotz
logo: GmbH


-----Ursprngliche Nachricht-----
Von: Mike Bristow [mailto:michaelb@bessie.mojo.org]
Gesendet am: Dienstag, 28. Juli 1998 11:12
An: flexfax@sgi.com
Betreff: Re: AW: flexfax: Problems submitting very large Number of jobs
sequen tial ly

Hi,

On Mon, Jul 27, 1998 at 02:42:19AM +0000, Didier Gautheron wrote:
> Hi
> 
> Christoph Stotz wrote:
> > The theory of too many files dont seem to me to be the solution.
> Yes but a 1500-5000 files in a directory is a problem on all OS. and

[only those that use a linked list for directories; those that use
btrees
 are much happier with big directories.]

> here you have 4 to 5 dirs :
> info
> sendq
> doneq
> docq

I've got a patch that puts the info files in subdirectories under info,
although I don't think that will help here as (AFAIU) as the numbers 
being called are in a small subset of all possible numbers.   (as
opposed to
the tpc cell I see which reached a totally stupid info directory size
with
~30,000 entries)

> > Is it possible to tell hylafax to call a batch-file if the number
> > of jobs in queue is smaller than the number of free modemlines
> > avaible ?
> I don't think you could do this out of the box.
> But you could use some trick on xferlog and or faxwatch to get a tick
> each time a fax is sent.

This is probably the approach I'd take; prep the queue with the number 
of modems + 1 or two; run sendfax everytime a line gets written which 
matches /""$/ or something.

> The text below is over simplified but I hope there's no big mistake.
> 
> The delay is coming from the faxq's scheduler : it's a multi threads
prg
> using fork and exec to achieve its goals.
> The main thread (faxq) is waiting in a loop for events:
> events are coming from:
> fifo : 
> - hfaxq submiting job
> - faxgetty
> - faxsend (not sendfax , faxsend is the prg which actually sends the
> fax)
> child's dead:
> - mainly faxsend
> timeout
> - mainly from jobs waiting queue
> 
> Of course when faxq is not in its waiting loop it doesn't see other
> events coming, they are waiting in system's buffers.
> 
> faxq is shooting itself in the foot and it's pushing your computer in
> the red zone with big queue :
> runScheduler in faxd/faxQueueApp.c++ is processing all the jobs in the
> run gueue even if no modems are in READY state. So in your case the
main
> thread is reading 1500 and up files (jobs status file) for nothing -
if
> the main goal of hylafax is sending faxes, not trashing out of
> delay,tries or whatever faxes, of course - And runSheduler is called
> many times: each time you add a job, each time a job finished, and so
> on.
> 
> It's easy to change this ie : change assignModem behavior so
> runScheduler will return when there's no more modems available . I
tried
> and yes now with a 10000 run queue, sendfax takes the same time. 
> But side effects are unknow, after all it's just faxq's main routines
> :).

Perhaps it would be better to change:

while (getnextentryinqueue() != NULL) {
.

to:

while (getnextentryinqueue() != NULL && ++counter < QUEUE_TOO_BIG) {
.

[or whatever]

That will help cut faxq down to size when it's deciding which fax to
send
as well; when the queue has 9,000,000 entries it's probably less
important 
to weight each entry and ponder on the relative merits of each one.  
QUEUE_TOO_BIG 	should probably be at least a compile time, probably
better
as run time, tweakable.  It should be different on a 386 with a shonky
modem
compared to a dual P-II 400 with a bank of 256 modems. :-)

-- 
"Virgin Trains: It's quicker by balloon."
	-- Peter Corlett

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 10:17:34 +0100
From: Mike Bristow <michaelb@bessie.mojo.org>
To: flexfax@sgi.com
Subject: Re: AW: flexfax: Problems submitting very large Number of jobs se quen 	tial ly
Sender: owner-flexfax@celestial.com

On Wed, Jul 29, 1998 at 09:01:01AM +0200, Christoph Stotz wrote:
> Thank you for your posting. I have a few Questions about it:
> 
> How can I use "btrees" for my big directories under Linux ?

Wait untill the code to do this is written (it's being worked on IIRC).
It might be in 2.3.

> May I delete the info/* files after every faxmailing and will I improve
> speed in this way ?

I doubt it, as the info files aren't looked at _that_ much, also you
will have problems  with large directrories elsewhere in the system, eg
in the docq, sendq etc, which are probably irmpacting performance harder.

How big is your info directory?  How many files are in it?

> Why should I programm a Queue-Controller for the Queue-Controller ?
> Writing for
> "nr_fax_in_queue<modems+x" seems to me the job of faxq...

Absolutly.  A quick hack solutions (and tailing xferlog counts IMHO)
is a reasonable short term solution.  

Unfortunatly, until I fix my computer at home I'm not going to be a 
position to look at the code in any depth and fix the problem 
``properly'' - however, there are people here who are better 
C++ programmers than me, and thus better able to decide what a 
``proper'' fix would be.  [ not hard, I admit, to be a better C++
programmer than me ]

-- 
"Virgin Trains: It's quicker by balloon."
	-- Peter Corlett

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: flexfax: modem problem?
To: nagu@my-dejanews.com (nagu nagu)
Date: Sat, 25 Jul 1998 14:11:57 +0100 (BST)
Cc: flexfax@sgi.com
Reply-To: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> 
> The ATH0 is dropping the line(on hook).It is normally followed by some garbage. Another sample.....

Yes it should do.
> 
> Can anyone point out the problem?

There is no apparent problem.  Why do you think there is?

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Sun, 26 Jul 98 20:46:12 EDT
From: gary@sabot.com (Gary Sabot)
To: flexfax@sgi.com
Subject: Re: flexfax: receive fax image problem
Sender: owner-flexfax@celestial.com


   Gary Sabot wrote:
   > When I receive a fax, the log looks fine, the image file gets created
   > and I receive email about it.  However, the fax seems screwed up, as
   > if horizontal hold on a TV was misadjusted 

Didier Gautheron <dgautheron@magic.fr> sent me the answer to my
problem; unlike other multitech modems, this one requires a

   ModemRecvFillOrder: MSB2LSB

command.  It has a lucent chipset.

--gary
_______________________________________________________
Gary Sabot              |  Voice:    (781) 647-7776
Sabot Associates, Inc.  |  FAX:      (781) 647-7779
10 Carroll Circle       |  Internet: gary@sabot.com
Weston, MA 02493  USA   |  
-------------------------------------------------------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Michael Riedel" <mr@fto.de>
To: flexfax@sgi.com
Date: Mon, 27 Jul 1998 11:06:54 +0200
Subject: flexfax: Mail-to-Fax gateway
Reply-to: mr@fto.de
Sender: owner-flexfax@celestial.com

Hi,

i want to restrict this gateway to certain numbers, any hints ?

 

Bye
   |\/|ichael Riedel

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: flexfax: TIFFs displaying and printing at half height
To: radke@iig.com.au (Andrew Radke)
Date: Sat, 25 Jul 1998 14:28:19 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> So it appears that my main question is... Is it the modem or the software

The software.  You are getting the pixels of a normal resolution fax
printed on a square grid.  Normal resolution is 98 x 196 dpi.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: flexfax: receive fax image problem
To: gary@sabot.com (Gary Sabot)
Date: Sun, 26 Jul 1998 11:28:18 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> modem.  I switched to a Central Data serial port card with full
> bidirectional hardware flow control to avoid the buffer overruns I had

There is no end to end flow control in fax, so you've probably just moved
the overrun into the modem.  The real solution is to provide enough
processing resources to avoid the need for flow control.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 27 Jul 1998 10:09:44 -0600
From: Iris <iris@interlink.com.ni>
Organization: INTERLINK
To: flexfax@sgi.com
Subject: flexfax: faxaddmodem problems on BSDI..
Sender: owner-flexfax@celestial.com

I'm trying to install this Hylafax 4.0pl2 on BSDI 2.1.
when i run faxaddmodem, on this way:  faxaddmodem (enter), this require
me some information as his normal operation, but when is probing for
best speed to talk to modem, read from the modem 38400 and still
delaying until i kill the process when too
many time is passed.

i tested the way: faxaddmodem -s 9600, but it  produce me the following
output:
"Something seems to be hung, check the modem", i revised both cable and
modem, but it doesn't seem have problems.

My modem is a USRobotics 28.8Kbps and is installed on COM1 port server
(tty00)

What can i do?
Thanks in advance.

Iris Silva

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Sun, 26 Jul 1998 15:48:00 +0300
From: Yadid <yadid@mmi.co.il>
To: flexfax@sgi.com
Subject: flexfax: installation problems
Sender: owner-flexfax@celestial.com

im trying to install hylafax under sparc-sun-sunos4.1.3_U1
using gcc 2.5.8 with no luck at all.

for example:


"Array.c++", line 178: error: bad argument  1 type for realloc():
fxArray::fxAddress ( malloc_t expected)
"Array.c++", line 300: error: bad argument  1 type for free(): void * (
char * expected)
Compilation failed
*** Error code 9
make: Fatal error: Command failed for target `Array.o'
Current working directory /export/shimmi3/tmp/fax1/hylafax-v4.0pl1/util


*** Error c./port.h", line 88: error: two different return value types
for crypt():  char * and  const char *
ode 1
"faxmail.c++", line 697: error: bad argument  1 type for strcasecmp():
const ch


make: Fatal error: Command failed for target 

i havnt got a clue to what is wrong the configure finishes o.k.


help!!!

yadid ayzenberg

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: flexfax@sgi.com
Date: Mon, 27 Jul 1998 11:03:15 -0700
From: "nagu nagu" <nagu@my-dejanews.com>
X-Sent-Mail: off
Subject: Re: flexfax: modem problem?
X-Sender-Ip: 38.218.160.249
Organization: Deja News Mail  (http://www.my-dejanews.com:80)
Sender: owner-flexfax@celestial.com

 
--

On Sat, 25 Jul 1998 14:11:57   David Woolley wrote:
>> 
>> The ATH0 is dropping the line(on hook).It is normally followed by some garbage. Another sample.....
>
>Yes it should do.
>> 
>> Can anyone point out the problem?
>
>There is no apparent problem.  Why do you think there is?
>
Somebody told me that the garbage after on hook is post connection noise in the phone line. I think that there is a problem because the SEND command of SNPP does not return any status and the server just drops the connection after sending the page.




-----== Sent via Deja News, The Discussion Network ==-----
http://www.dejanews.com/  Easy access to 50,000+ discussion forums

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 27 Jul 98 08:01:28 EDT
From: gary@sabot.com (Gary Sabot)
To: flexfax@sgi.com
Subject: flexfax: new DisplayNumber dialrules has no effect on cover page
Sender: owner-flexfax@celestial.com


I'm trying to strip the 1010xxx long distance dialing code from the
front of a the cover-page displayed telephone number so recipients do
not see how I routed a fax.  I created a rule to strip this stuff:

DisplayNumber := [
    ^1010[0-9][0-9][0-9]1 = 1    
    ^1010[0-9][0-9][0-9]-1 = 1   
]

Dialtest shows this rule to work the way I expect, 
turning a phone number like
  10103331-617-6477779
into
  1-617-6477779
for display purposes.

But when I do a sendfax, the cover page still contains the full
number.  I only have one machine, it is both server and client, so I
put the new rule in the /var/spool/fax/etc/dialrules file, pointed to
by

   DialStringRules:   "etc/dialrules"

in the corresponding /var/spool/fax/etc/config file.  I know my
changed file is being read in, becuase if I make a syntax error in the
dialrules, the console complains about it when I send a fax.

I also tried adding an identical DialStringRules to my config.cua_0
file, and finally I took my DisplayNumber rule out of etc/dialrules
and created a /usr/local/lib/fax/dialrules file for it instead, like
the dialrules man pages says, and that had no effect either (but since
no config file points to that I don't see why it would).

So how can I get DisplayNumber to work? 

--gary
_______________________________________________________
Gary Sabot              |  Voice:    (781) 647-7776
Sabot Associates, Inc.  |  FAX:      (781) 647-7779
10 Carroll Circle       |  Internet: gary@sabot.com
Weston, MA 02493  USA   |  
-------------------------------------------------------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Mon, 27 Jul 1998 18:18:17 -0400
From: "Satish Joshi" <satish@amteva.com>
To: flexfax@sgi.com
Subject: flexfax: Question about HylaFax and using modem pools..
Sender: owner-flexfax@celestial.com

Hi,

I was wondering whether anyone has successfully  used HylaFax with modem
pools like 3COM Total Control and/or Ascend Max product line.

Thanks.


Attachment Converted: "C:\PROGRAM FILES\EUDORA\Attach\vcard3.vcf"

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Markus Jckle" <markus.jaeckle@logimatik.ch>
To: <flexfax@sgi.com>
Subject: flexfax: sending problem
Date: Tue, 28 Jul 1998 10:15:34 +0200
Sender: owner-flexfax@celestial.com

hi out there
i am running hylafax 4.0pl2-4 on a linux 5.2 system 
my roblem is taht hylafax dont send faxes
when i start SUSEFAX i get the satus that hylafax is running but when i try
to send a fax nothing happens
i only get the error message 
SuSEFax.actionPerformed:SuSEFax.PROTOException:NetCon.check:empty Reply
String
and i get the mail

Your facsimile job to 3387 was not sent because
the document conversion script was not found.

    ---- Unsent job status ----

   Destination: 3387
         JobID: 27
       GroupID: 27
        Sender: Markus J ckle
      Mailaddr: markus.jaeckle@logimatik.ch
Submitted From: gfproxy1.bsh.logimatik.ch
    Page Width: 209 (mm)
   Page Length: 296 (mm)
    Resolution: 98 (lpi)
        Status: Unrecoverable error: undefined in to

Unexpected interpreter error -21.
Error object: to(d84)name(0x81c1740#bff)
Execution stack at 0x8149b88:
0x8152e9c: 0x0f oper --F---e-- 0x0000 0x0806d844 = %interp_exit
0x8152ea4: 0x12 str  --F-rxe-- 0x0000 0x00000000 = 
0x8152eac: 0x03 file --L-rxe-- 0x0001 0x0815a6d8
0x8152eb4: 0x0e null --F---e-- 0x0000 0x08078750
0x8152ebc: 0x03 file --S-rxe-- 0x0001 0x0814d400
0x8152ec4: 0x0f oper --F---e-- 0x0000 0x0807870c = %runexec_finish
0x8152ecc: 0x03 file --S-rxe-- 0x0001 0x0814d400
0x8152ed4: 0x05 mpry --G-rxe-- 0x0039 0x0818933e
Dictionary stack at 0x8149ab0:
0x81536cc: 0x02 dict --Gwrx--- 0x0000 0x0815381c
0x81536d4: 0x02 dict --Gwrx--- 0x0000 0x08198584
0x81536dc: 0x02 dict --Lwrx--- 0x0000 0x08158720
0x81536e4: 0x02 dict --Lwrx--- 0x0815 0x0815a96c

       Dialogs: 0 (exchanges with remote device)
         Dials: 0 (consecutive failed calls to destination)
         Calls: 0 (total phone calls placed)
         Pages: 0 (pages transmitted)
      TotPages: 0 (total pages to transmit)
      Attempts: 0 (attempts to send current page)
        Dirnum: 0 (directory of next page to send)

    ---- Documents submitted for transmission ----

can you help me

thanks
mj

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 28 Jul 1998 16:15:37 +0200
From: Ralf Graefe <ralf.graefe@ecrc.de>
Organization: ecrc
To: flexfax@sgi.com
Subject: flexfax: problems sending to ISDN fax machines
Sender: owner-flexfax@celestial.com

Hi there,

I can't send faxes with Hylafax to ISDN fax machines. I use Linux kernel
2.0.33 and a Zyxel 2864D modem. The usual error message is "no carrier
detected". OK the ISDN fax doesn't go off the hook because it doesn'
check its a faxmodem calling. On the other hand there seem to be no
problems using a real analog fax machine sending to those ISDN boxes. 

It is possible to make any adjustments so the ISDN fax will answer the
call? I would appreciate a little bit theory on that topic too :).

thanks , Ralf!
-- 
------------------------------------------
ECRC Network Services GmbH
e-mail : ralf@ecrc.de
Tel.: 089/92699-259
------------------------------------------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 28 Jul 1998 12:44:01 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: tpcadmin@info.tpc.int
Cc: Hylafax Mailing List <flexfax@sgi.com>
Subject: flexfax: HylaFAX rpm notes
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----


Hi, Arlington! I finally grabbed your source and popped it on my Linux
box (which I updated to RedHat 5.1 last week). And I have some notes
for you.

1.) The gcc-2.8.x patch was apparently not included in your patches.
	This is important for glibc users and now ecgs users for
	RedHat 5.1, and harms nothing for other people. I suggest
	installing it. (You've got this one, but there's a copy
	in my patches).

2.) The default location for TIFFBIN in /usr/local/bin is not correct
	for RedHat 5.x I therefore recommend a config.local
	file for Linux that sets this to /usr/bin. (See config.linux
	in my patch files).

3.) The "ghostscript" patch I wrote is apparently still needed to find
	where the ghostscript fonts normally live under
	RedHat. Additionally, a location for the AFM is not set (IMHO)
	correctly.  (See config.linux in my patch files).

4.) The default location for the HTML and CGI under RedHat is off.
	(See config.linux in my patch files).

5.) The default location for egetty and vgetty under RedHat is off.
	(See config.linux in my patch files).

6.) I'm delighted that you included the fixhtml patch that I proposed.
	Unfortunately, this is not sufficient to make the web documentation
	work completely for other OS's. Many of the URL's actually
	contain the section numbers, which are just plain wrong for
	Linux. Therefore, it is easiest to simply delete these
	numbers. There is only one place where their lack causes
	confusion, where the HylaFAX man page is referred to in two different
	manual sections, and I think that's a reasonable sacrifice for
	 accessibility. (See my manpage patch).

This whole craziness is making me think: Sam put a *LOT* of work into
that configure script, getting it to set things correctly for
different systems.  But the number of OS's, etc. is growing. Would it
make more sense to have a "conf" directory with configurations for
various OS's, such as a config.linux, config.sunos, config.aix,
etc. for different operating systems? This would permit simplifying
the configure script enormously, and potentially make it much more
robust rather than doing its amazingly sophisticated testing.

			 Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNb3/wT/+ItycgIJRAQFWXQQAhFfAbkKGp5WwYA4vCQaRqfxkGrvQbweL
L8AsAnkgT/nktQEuSxP0AtKF09SzRJpM3kHXABxq1nTqKr/ode6TeGF7v6y9xZax
oZEJEhd/S2y+emCpQ/H5/mCYrO23Cwkos9LasTEu2gnMT1AcLLzx/9ZapG8RJHMc
NlodDzmZPm8=
=N48H
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
cc: Hylafax Mailing List <flexfax@sgi.com>
Subject: flexfax: Re: HylaFAX rpm notes 
Date: Tue, 28 Jul 1998 18:04:51 +0100
From: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
Sender: owner-flexfax@celestial.com


>>>>> On Tue, 28 Jul 1998, "NKG" == Nico Kadel-Garcia wrote:

  NKG> Hi, Arlington! I finally grabbed your source and popped it on my Linux
  NKG> box (which I updated to RedHat 5.1 last week). And I have some notes for
  NKG> you.

Thanks! Please, call me Darren - Arlington is a role account.

  NKG> 1.) The gcc-2.8.x patch was apparently not included in your patches.
  NKG> This is important for glibc users and now ecgs users for RedHat 5.1, and
  NKG> harms nothing for other people. I suggest installing it. (You've got
  NKG> this one, but there's a copy in my patches).

I will look into this, thanks.

  NKG> 2.) The default location for TIFFBIN in /usr/local/bin is not correct
  NKG> for RedHat 5.x I therefore recommend a config.local file for Linux that
  NKG> sets this to /usr/bin. (See config.linux in my patch files).

You missed the arguments passed to ./configure in the SRPM. I would have been 
happier if you had just assessed the RPM itself to see how it worked, but as 
you have commented here on the SRPM, then I will address your comments.

+ ./configure --with-DIR_BIN=/usr/bin --with-DIR_SBIN=/usr/sbin 
--with-DIR_LIBEXEC=/usr/sbin --with-DIR_LIBDATA=/usr/share/fax 
--with-DIR_LOCKS=/var/lock --with-TIFFINC=/usr/include --with-TIFFBIN=/usr/bin 
--with-DIR_MAN=/usr/man --with-PATH_GSRIP=/usr/bin/gs --with-DEFVRES=196 
--with-DBLIBINC=/usr/include --with-DIR_AFM=/usr/share/fax/afm 
--with-LIBTIFF=-ltiff --with-DIR_HTML=/usr/doc/hylafax-4.0pl2/html 
--with-DIR_CGI=/usr/doc/hylafax-4.0pl2/html/cgi-bin 
--with-DIR_SPOOL=/var/spool/fax --with-LIBDB=-ldb --with-ZLIB=no --with-AFM=no 
--with-DSO=LINUX --with-DSOSUF=so --with-HTML=yes

Hence you see --with-TIFFBIN=/usr/bin. Case closed.

  NKG> 3.) The "ghostscript" patch I wrote is apparently still needed to find
  NKG> where the ghostscript fonts normally live under RedHat. Additionally, a
  NKG> location for the AFM is not set (IMHO) correctly.  (See config.linux in
  NKG> my patch files).

Sorry, no dice. gs fonts are EXACTLY where they are supposed to be when the 
explicit ghostscript-5.10 dependency is satisfied. We've thrashed this issue 
to death, the dependency will be in there. I know you don't like it ;-)

As for AFM:
 
	--with-DIR_AFM=/usr/share/fax/afm

case closed.

  NKG> 4.) The default location for the HTML and CGI under RedHat is off.  (See
  NKG> config.linux in my patch files).

	--with-DIR_HTML=/usr/doc/hylafax-4.0pl2/html 		 			
--with-DIR_CGI=/usr/doc/hylafax-4.0pl2/html/cgi-bin

;-)

  NKG> 5.) The default location for egetty and vgetty under RedHat is off.
  NKG> (See config.linux in my patch files).

?? faxsetup looks for them and warns not there. Is this not adequate?

  NKG> 6.) I'm delighted that you included the fixhtml patch that I proposed.
  NKG> Unfortunately, this is not sufficient to make the web documentation
  NKG> work completely for other OS's. Many of the URL's actually contain the
  NKG> section numbers, which are just plain wrong for Linux. Therefore, it is
  NKG> easiest to simply delete these numbers. There is only one place where
  NKG> their lack causes confusion, where the HylaFAX man page is referred
  NKG> to in two different manual sections, and I think that's a reasonable
  NKG> sacrifice for accessibility. (See my manpage patch).

You lost me.

-Darren

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 28 Jul 1998 16:02:56 -0400 (EDT)
From: Dave Wreski <dave@nic.com>
To: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
cc: tpcadmin@info.tpc.int, Hylafax Mailing List <flexfax@sgi.com>
Subject: Re: flexfax: HylaFAX rpm notes
Sender: owner-flexfax@celestial.com


> This whole craziness is making me think: Sam put a *LOT* of work into
> that configure script, getting it to set things correctly for
> different systems.  But the number of OS's, etc. is growing. Would it
> make more sense to have a "conf" directory with configurations for
> various OS's, such as a config.linux, config.sunos, config.aix,
> etc. for different operating systems? This would permit simplifying
> the configure script enormously, and potentially make it much more
> robust rather than doing its amazingly sophisticated testing.

Yes, I think so..  And if it was even further modularized, you could
specify even more options per OS.

Very good idea.  Perhaps the sendmail distribution can give us some ideas,
as they do it very similiar to what you are talking about here.

Dave

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 09:31:11 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
Cc: Hylafax Mailing List <flexfax@sgi.com>
Subject: flexfax: Re: HylaFAX rpm notes 
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 28 Jul 1998, Mr. Arlington Hewes wrote:

[ about various RPM source comments I made ]

>   NKG> 3.) The "ghostscript" patch I wrote is apparently still needed to find
>   NKG> where the ghostscript fonts normally live under RedHat. Additionally, a
>   NKG> location for the AFM is not set (IMHO) correctly.  (See config.linux in
>   NKG> my patch files).
> 
> Sorry, no dice. gs fonts are EXACTLY where they are supposed to be when the 
> explicit ghostscript-5.10 dependency is satisfied. We've thrashed this issue 
> to death, the dependency will be in there. I know you don't like it ;-)

And we still disagree. For people new to this, I consider it an unnecessary
burden to force users to download the contributed ghostscript 5.10 fonts
and binaries when the ghostscript 3.33 with the RedHat distribution is
quite satisfactory. Considering that this download is happening for people
who may not have the modem working yet, and we see that the several megs
of extra installation may be a bit of a burden.

You also put the AFM files in their own subdirectory. Cool.

>   NKG> 5.) The default location for egetty and vgetty under RedHat is off.
>   NKG> (See config.linux in my patch files).
> 
> ?? faxsetup looks for them and warns not there. Is this not adequate?

When they are installed under RedHat Linux, they go in a different
location than the one listed.  If someone installs them from source or
RPM, faxsetup may not find them, and the incorrect location may
confuse people about where to go looking for them in other RPM's.

>   NKG> 6.) I'm delighted that you included the fixhtml patch that I proposed.
>   NKG> Unfortunately, this is not sufficient to make the web documentation
>   NKG> work completely for other OS's. Many of the URL's actually contain the
>   NKG> section numbers, which are just plain wrong for Linux. Therefore, it is
>   NKG> easiest to simply delete these numbers. There is only one place where
>   NKG> their lack causes confusion, where the HylaFAX man page is referred
>   NKG> to in two different manual sections, and I think that's a reasonable
>   NKG> sacrifice for accessibility. (See my manpage patch).
> 
> You lost me.

A bunch of the HTML manpage references are like this:

	<A HREF="/cgi-bin/manpage?4+textfmt">textfmt(4)</A>

Since many of the HylaFAX man pages go in different sections than
those specified under the IRIX where this stuff got written, the
section numbers are incorrect and make the CGI fail to find the man
page. The patch I wrote just pulls out all the section numbers, rather
than trying to cleverly keep track and figure out what they all should
be (which would be a *lot* of work). This only causes a problem for
two man pages with the same name referred to in different sections, a
"hylafax" man page in section 1 and section 5 under SunOS, and I'm not
sure which sections under Linux, and I don't consider this one a big
losss.

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNb8kGz/+ItycgIJRAQFqUgP8CHfzTk6/xNWVVmsFpDBb4zQXpFoS+q4p
IMPRLocL2qrIL08/VUvO/lKlgKeWLiwceTPOAcYWlqabz1ekQ0bCClSc5L4Xdin2
TzQ320/BliD5y4dtlE2pkcFR8VGS1ec0Cma6ogVCoMf+G2OhouZuVHIFQ6jpLgN/
LOjfZEOoN5A=
=snpU
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 28 Jul 1998 12:22:05 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Markus Jckle <markus.jaeckle@logimatik.ch>
Cc: flexfax@sgi.com
Subject: Re: flexfax: sending problem
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by derrick.elgro.co.uk id HAA06540

-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 28 Jul 1998, [ISO-8859-1] Markus Jckle wrote:

> Date: Tue, 28 Jul 1998 10:15:34 +0200
> From: "[ISO-8859-1] Markus Jckle" <markus.jaeckle@logimatik.ch>
> To: flexfax@sgi.com
> Subject: flexfax: sending problem
> 
> hi out there
> i am running hylafax 4.0pl2-4 on a linux 5.2 system 

5.2? RedHat isn't shipping this. Who sent it?

> my roblem is taht hylafax dont send faxes
> when i start SUSEFAX i get the satus that hylafax is running but when i try
> to send a fax nothing happens
> i only get the error message 
> SuSEFax.actionPerformed:SuSEFax.PROTOException:NetCon.check:empty Reply
> String
> and i get the mail

SuSEFax? I have to assume that there is some interface between this
tool and HylaFAX. How do you have these cross-connected?

> Your facsimile job to 3387 was not sent because
> the document conversion script was not found.
> 
>     ---- Unsent job status ----
> 
>    Destination: 3387
>          JobID: 27
>        GroupID: 27
>         Sender: Markus J ckle
>       Mailaddr: markus.jaeckle@logimatik.ch
> Submitted From: gfproxy1.bsh.logimatik.ch
>     Page Width: 209 (mm)
>    Page Length: 296 (mm)
>     Resolution: 98 (lpi)
>         Status: Unrecoverable error: undefined in to
> 
> Unexpected interpreter error -21.
> Error object: to(d84)name(0x81c1740#bff)
> Execution stack at 0x8149b88:
> 0x8152e9c: 0x0f oper --F---e-- 0x0000 0x0806d844 = %interp_exit
> 0x8152ea4: 0x12 str  --F-rxe-- 0x0000 0x00000000 = 
> 0x8152eac: 0x03 file --L-rxe-- 0x0001 0x0815a6d8
> 0x8152eb4: 0x0e null --F---e-- 0x0000 0x08078750
> 0x8152ebc: 0x03 file --S-rxe-- 0x0001 0x0814d400
> 0x8152ec4: 0x0f oper --F---e-- 0x0000 0x0807870c = %runexec_finish
> 0x8152ecc: 0x03 file --S-rxe-- 0x0001 0x0814d400
> 0x8152ed4: 0x05 mpry --G-rxe-- 0x0039 0x0818933e
> Dictionary stack at 0x8149ab0:
> 0x81536cc: 0x02 dict --Gwrx--- 0x0000 0x0815381c
> 0x81536d4: 0x02 dict --Gwrx--- 0x0000 0x08198584
> 0x81536dc: 0x02 dict --Lwrx--- 0x0000 0x08158720
> 0x81536e4: 0x02 dict --Lwrx--- 0x0815 0x0815a96c
> 
>        Dialogs: 0 (exchanges with remote device)
>          Dials: 0 (consecutive failed calls to destination)
>          Calls: 0 (total phone calls placed)
>          Pages: 0 (pages transmitted)
>       TotPages: 0 (total pages to transmit)
>       Attempts: 0 (attempts to send current page)
>         Dirnum: 0 (directory of next page to send)
> 
>     ---- Documents submitted for transmission ----

Uh, oh. Where did you get the Postscript you are using for this?
Perchance from some !@W#$ MicroSquishy driver?

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNb36pj/+ItycgIJRAQF/1QP/ZPsU6jKY+QpC0SKjZXl3iv1LVc69HGUt
KNV00OBXhS0/ufL/+xJegcdC9lqWflceupcAJrvNc7kKkmQ1m/2SWjbva99UYWG3
tKPFqYHg9Xr88SP/SQJ/2rkQwr0e/b/i152A91sznti2xoBx8tETQEV1c3/GHDmo
LHfOFxfHM5c=
=V82i
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 28 Jul 1998 10:40:44 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Yadid <yadid@mmi.co.il>
Cc: flexfax@sgi.com
Subject: Re: flexfax: installation problems
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Sun, 26 Jul 1998, Yadid wrote:

> im trying to install hylafax under sparc-sun-sunos4.1.3_U1
> using gcc 2.5.8 with no luck at all.

GAAACK! Forget it. Update your gcc, QUICK!

There are also SunOS notes at http://cirl.meei.harvard.edu/hylafax, and
a SunOS binary that may work for you.


			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNb3i5z/+ItycgIJRAQHrZgP/QjoNe3ltE61miTqlTBgkqxgHn1PJ7OGV
kyePCXSvKA69y/gnrbwy49mu3o2zSGIRYgNQFubHo0+/feBYIkN/YgMu105wZdxQ
/f7Qps1/gcN3F/frYIpR4/Tz8qrMlUvTMS56NIu5E8niEMTXy8Q7F7PREM3pvImW
Lxix79OK+gg=
=j1g5
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 28 Jul 1998 13:01:43 -0500
From: Ronald Greenberg <rig@math.luc.edu>
Organization: Loyola University of Chicago
To: flexfax@sgi.com
Subject: flexfax: Sending to a line shared between voice and fax
Sender: owner-flexfax@celestial.com

Is it supposed to be possible with my FlexFAX (circa 1994) or a more up
to date HylaFAX to send faxes to a line that is shared between voice and
fax?
The line has an answering machine on it that says to leave a message at
the tone or to proceed with a fax now.  Presumably, when it hears my fax
machine,
it is supposed to switch the call to the receiving fax machine. 
Presumably, if a person answers instead of the answering machine, they
also have
a way to switch the call to the receiving fax.  I've succesfully sent to
this line before by putting paper into an ordinary fax machine, but when
I send something via sendfax, I get a response of "No carrier
detected".  Can I change the outcome by altering the line in
/usr/spool/fax/etc/config.cua0
that says

ModemDialCmd:                DT%s@           # T for tone dialing, @ for
silence

or by adding some codes to the phone number used in the sendfax
command?  Please CC me on any responses to the mailing list, because I
don't ordinarily
read it (but I've searched diligently in the FAQ on the web).
-- 

Ronald I. Greenberg	(Ron)		rig@math.luc.edu

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 28 Jul 1998 08:25:36 -0500 (EST)
From: "David N. Lewis" <dlewis@appp.ci.in.ameritech.com>
To: Satish Joshi <satish@amteva.com>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Question about HylaFax and using modem pools..
Sender: owner-flexfax@celestial.com

Satish,

	We've been using a 3Com Total Control chassis for about 4 months
now, and it was supposed to be an 'upgrade' from our previous fax modem
pool, which consisted of a variety of desktop modems.  Unfortunately, I
personally can't recommend the Total Control chassis at this time.  We're
experiencing a large number of "communication error in phase B/C" errors,
which is an in-between fax-page timeout at the AT+FDT command.  (class
2.0) I've been working with 3Com's tech support in an attempt to solve
this problem, however, no results yet.  On the plus side, however, this
chassis has proven to be 'wedge-proof';  i.e., I've not had to reset any
of the modems manually, which was something I occasionally had to do with
desktop modems. 

	You might consider a MultiTech chassis.  I don't know the exact
part numbers, but I know they sell a chassis.  I've had very positive
results with desktop MT1432's, and encouraging results with an even older
MT244.  In addition, MultiTech modems have been recommended for use with
Hylafax for quite some time.  Perhaps some other users have MultiTech
chassis experience? 

Regards, Dave


On Mon, 27 Jul 1998, Satish Joshi wrote:

> Hi,
> 
> I was wondering whether anyone has successfully  used HylaFax with modem
> pools like 3COM Total Control and/or Ascend Max product line.
> 
> Thanks.
> 
> 

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 13:25:37 +1200
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: "David L. Aldridge" <dlac@aldridge.com>
cc: flexfax@sgi.com
Subject: Re: flexfax: HylaFAX mailing list
Sender: owner-flexfax@celestial.com

On Tue, 28 Jul 1998, David L. Aldridge wrote:

> What is the address of the mailing list for HylaFAX?
> It did not stand out to me on the site.

You've just posted to it. flexfax@sgi.com *IS* the mailing list for
HylaFAX.
--
Jonathan Chen
--
~/.signature: Permission denied

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 28 Jul 1998 15:37:16 -0700 (PDT)
From: Jon Harvey <jonh@mail.brainstorm.net>
To: flexfax@sgi.com
Subject: flexfax: Pagermap
Sender: owner-flexfax@celestial.com

I have a very simple pager map file with the lines

__________
sam   5551212/99
tony  3777689
dave  818006625742/3668795 
=========

but when I invoke "sendpage' with "-p tony" or "-p dave"
I always get the message:

sendpage: No match.

What gives?

Jonathan Harvey

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: flexfax@sgi.com
Subject: flexfax: tiff height/width swap?
X-Face: "csXK}xnnsH\h_ce`T#|pM]tG,6Xu.{3Rb\]&XJgVyTS'w{E+|-(}n<m88'RZQA.<2]zo&R
 I8nHuPumSNjsAN&WGhll?v}1#%)~2%QI~4Vs%IuWb#OmZmKck_1Ee&C\k&vJ}BWx:Bb#Mx8>:c(Cc*
 $cbtusxDP6T)Hr'k&zrwq0.3&~bAI~YJco[r.mE+K|(q]F=ZNXug:s6tyOk{VTqARy0#axm6BWti9C
 d
Date: Tue, 28 Jul 1998 15:06:54 -0400
From: Harlan Stenn <Harlan.Stenn@pfcs.com>
Sender: owner-flexfax@celestial.com

(Please Cc: me in any replies; I'm not presently subscribed to the list.)

I'm running 4.0pl2 on a FreeBSD-2.2.6-STABLE box.  At the moment, the fax 
modem I'm using is a Cardinal 33.6 voice/fax/data modem, probably with a 
56k flash upgrade (I forget - I have too many modems here).

> ldd `which hfaxd`
/usr/local/sbin/hfaxd:
        -ltiff34.1 => /usr/local/lib/libtiff34.so.1.0 (0x20064000)
        -ljpeg.7 => /usr/local/lib/libjpeg.so.7.0 (0x20091000)
        -lz.2 => /usr/lib/libz.so.2.0 (0x200af000)
        -ljpeg.9 => /usr/local/lib/libjpeg.so.9.0 (0x200bc000)
        -lcrypt.2 => /usr/lib/libcrypt.so.2.0 (0x200d8000)
        -lutil.2 => /usr/lib/libutil.so.2.2 (0x200db000)
        -lm.2 => /usr/lib/libm.so.2.0 (0x200e2000)
        -lc.3 => /usr/lib/libc.so.3.1 (0x200fd000)
>

Incoming faxes seem to have the height and width "swapped".  At least, xv 
tries to display faxes in landscape orientation instead of in portrait 
orientation, and it's clear that these faxes were sent "normally".

Suggestions on what I can do to solve this problem (on my end) would be 
most helpful.  I'm hoping to find a solution that is transparent, as 
opposed to having to incant:

	xv -geometry 1070x1728 foo.tiff

every time I want to view a fax, or my other solution (convert to .ps and 
then back to .tif).

Here's the results of tiffinfo on an "old" fax (HylaFAX 3.X):

# tiffinfo fax00000.tif 
TIFF Directory at offset 0x52c8
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1728 Image Length: 1066
  Resolution: 204, 98 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: lsb-to-msb
  Date & Time: "1996:04:28 15:08:22"
  Host Computer: "brown.pfcs.com"
  Software: "HylaFAX (tm) Version 3.0pl1113"
  Image Description: "813 545 2583"
  Make: "ROCKWELL"
  Model: "020-0480"
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: (infinite)
  Planar Configuration: single image plane
  Group 3 Options: 2-d encoding (1 = 0x1)
  Fax Data: clean (0 = 0x0)
TIFF Directory at offset 0x97aa
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1728 Image Length: 1067
  Resolution: 204, 98 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: lsb-to-msb
  Date & Time: "1996:04:28 15:08:44"
  Host Computer: "brown.pfcs.com"
  Software: "HylaFAX (tm) Version 3.0pl1113"
  Image Description: "813 545 2583"
  Make: "ROCKWELL"
  Model: "020-0480"
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: (infinite)
  Planar Configuration: single image plane
  Group 3 Options: 2-d encoding (1 = 0x1)
  Fax Data: clean (0 = 0x0)
...

and here's the output from a recent fax:
#  tiffinfo fax00031.tif 
TIFF Directory at offset 0x331a
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1728 Image Length: 1069
  Resolution: 204, 98 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: lsb-to-msb
  Date & Time: "1998:07:16 13:58:50"
  Host Computer: "brown.pfcs.com"
  Software: "HylaFAX (tm) Version 4.0pl2"
  Image Description: "5036600198"
  Make: "ROCKWELL"
  Model: "020-0480"
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 151
  Planar Configuration: single image plane
  Group 3 Options: 2-d encoding (1 = 0x1)
  Fax Data: clean (0 = 0x0)
  Fax Receive Parameters: 0000030a
  Fax Receive Time: 35 secs
TIFF Directory at offset 0x8398
  Subfile Type: multi-page document (2 = 0x2)
  Image Width: 1728 Image Length: 1071
  Resolution: 204, 98 pixels/inch
  Bits/Sample: 1
  Compression Scheme: CCITT Group 3
  Photometric Interpretation: min-is-white
  FillOrder: lsb-to-msb
  Date & Time: "1998:07:16 13:59:08"
  Host Computer: "brown.pfcs.com"
  Software: "HylaFAX (tm) Version 4.0pl2"
  Image Description: "5036600198"
  Make: "ROCKWELL"
  Model: "020-0480"
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 151
  Planar Configuration: single image plane
  Group 3 Options: 2-d encoding (1 = 0x1)
  Fax Data: clean (0 = 0x0)
  Fax Receive Parameters: 0000030a
  Fax Receive Time: 20 secs
...

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Tue, 28 Jul 1998 14:35:09 +0200
From: Toni Mueller <support-hylafax@oeko.net>
To: flexfax@sgi.com
Subject: flexfax: Re: faxgetty dying (solved 1st half)
Reply-To: support-hylafax@oeko.net
X-Info: Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder Meinungsforschung.
Sender: owner-flexfax@celestial.com


Hello,

a few days back I wrote:

On 07/23/1998 14:14 +0200, Toni Mueller (support-hylafax@oeko.net) wrote:
> we are trying to get it up also for receiving faxes, but faxgetty doesn't
> work. When running from hand it says "Segmentation fault". So I built a

> This is on Linux 2.0.33 with hylafax 4.0pl1.

Instead of digging into 4.0pl1 i decided to try out 4.0pl2 and found faxgetty
working, sort of. Using std Zyxel 1496 EG+, I only got data answers with the
supplied config files until I manually inserted such things like S0=2 and
+FCLASS=2 into the strings. Reading further into the documentation I found
that in reality AA should be _off_ instead of _on_, but this didn't make
the modem answer any call at all.

Now for the second problem. When trying to send a fax I get
"the document conversion script was not found". From the FAQ I know that
this should mean that ps2fax can not be found, but quite the contrary
is the case, I also get the debugging output I implanted into this
script. So the script runs, gs is of the right kind (and there), the
supporting files are there, what gives?


Regards,

Toni Mueller.

--------					NIC: TM2155
Oeko.neT Mueller & Brandt GbR 			sales: info@oeko.net
v: +49 2261 979364 f: +49 2261 979366		http://www.oeko.net
Unix, networking, administration, consulting, programming, Internet services

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 10:18:34 +0200
From: Toni Mueller <support-hylafax@oeko.net>
To: Ralf Graefe <ralf.graefe@ecrc.de>
Cc: flexfax@sgi.com
Subject: Re: flexfax: problems sending to ISDN fax machines
Reply-To: support-hylafax@oeko.net
X-Info: Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder Meinungsforschung.
Sender: owner-flexfax@celestial.com



Hello,

On 07/28/1998 16:15 +0200, Ralf Graefe (ralf.graefe@ecrc.de) wrote:
> 2.0.33 and a Zyxel 2864D modem. The usual error message is "no carrier
> detected". OK the ISDN fax doesn't go off the hook because it doesn'
> check its a faxmodem calling. On the other hand there seem to be no
> problems using a real analog fax machine sending to those ISDN boxes. 

you might want to check the service type ("Dienstmerkmal") which also
caused problems for us using "real" fax machines. If you don't get through
the other side when it's an ISDN box, your call may be delivered as of
type "voice" or type "data". Also try to fiddle with the settings of your
PBX.


Regards,

Toni.

--------					NIC: TM2155
Oeko.neT Mueller & Brandt GbR 			sales: info@oeko.net
v: +49 2261 979364 f: +49 2261 979366		http://www.oeko.net
Unix, networking, administration, consulting, programming, Internet services

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 10:14:33 +0200
From: Toni Mueller <support-hylafax@oeko.net>
To: flexfax@sgi.com
Subject: flexfax: Re: Question about HylaFax and using modem pools..
Reply-To: support-hylafax@oeko.net
X-Info: Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder Meinungsforschung.
Sender: owner-flexfax@celestial.com


Hello,

On 07/28/1998 08:25 -0500, David N. Lewis (dlewis@appp.ci.in.ameritech.com) wrote:
> 	We've been using a 3Com Total Control chassis for about 4 months
> now, and it was supposed to be an 'upgrade' from our previous fax modem

> 	You might consider a MultiTech chassis.  I don't know the exact
> part numbers, but I know they sell a chassis.  I've had very positive

this is interesting. I'd like to throw in the question about using a
PM3 for that purpose, too... The documentation says it may be possible,
but I never tried (yet).

> On Mon, 27 Jul 1998, Satish Joshi wrote:
> > I was wondering whether anyone has successfully  used HylaFax with modem
> > pools like 3COM Total Control and/or Ascend Max product line.

l8ter,

--Toni++

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 10:24:05 +0200
From: Toni Mueller <support-hylafax@oeko.net>
To: Ronald Greenberg <rig@math.luc.edu>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Sending to a line shared between voice and fax
Reply-To: support-hylafax@oeko.net
X-Info: Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder Meinungsforschung.
Sender: owner-flexfax@celestial.com


Hello,

On 07/28/1998 13:01 -0500, Ronald Greenberg (rig@math.luc.edu) wrote:
> this line before by putting paper into an ordinary fax machine, but when
> I send something via sendfax, I get a response of "No carrier
> detected".  Can I change the outcome by altering the line in
> /usr/spool/fax/etc/config.cua0
> that says
> 
> ModemDialCmd:                DT%s@           # T for tone dialing, @ for
> silence
> 
> or by adding some codes to the phone number used in the sendfax
> command?  Please CC me on any responses to the mailing list, because I

in theory yes, imho. Using modem settings it should be very possible to
tweak the code to do almost anything... eg you may want to enable blind
dialing and also set the modem to assume carrier is always on. AT<something>,
have a look at your modem manual. Of course this eliminates your chance
to identify a call to a real phone.

Perhaps you just have a way to increase the time you wait for carrier
for some 20 seconds to get past the initial voice message played by the
remote fax machine, but I didn't find that in the documentation.

Regards,

Toni.

--------					NIC: TM2155
Oeko.neT Mueller & Brandt GbR 			sales: info@oeko.net
v: +49 2261 979364 f: +49 2261 979366		http://www.oeko.net
Unix, networking, administration, consulting, programming, Internet services

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 11:45:08 +0200
From: Toni Mueller <support-hylafax@oeko.net>
To: flexfax@sgi.com
Subject: flexfax: Re: faxgetty dying (solved 2nd third)
Reply-To: support-hylafax@oeko.net
X-Info: Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder Meinungsforschung.
Sender: owner-flexfax@celestial.com


Hello, i wrote:

On 07/28/1998 14:35 +0200, Toni Mueller (support-hylafax@oeko.net) wrote:
> "the document conversion script was not found". From the FAQ I know that
> this should mean that ps2fax can not be found, but quite the contrary
> is the case, I also get the debugging output I implanted into this
> script. So the script runs, gs is of the right kind (and there), the
> supporting files are there, what gives?

this has now turned into "cant reopen document" as described in the
troubleshooting page. However, when implanting more debugging code into
ps2fax.gs _and_ listing the corresponding files in docq, I see that
these are generated with a GID of CONFIG_MAXGID and a 660 mode. The
directory isn't world readable anyway, and a chgrp uucp $out at the
bottom of ps2fax.gs didn't help anything. The intermediate file that
is generated by gs doesn't exist anyway shortly after the script exits.

The script itself runs as uucp, so the documents _should_ be readable.


BTW, this all is still on Linux 2.0.33 and v4.0beta023, regarding the
latest of all those "changes" pages.


Any ideas, please?


Regards,

Toni.

--------					NIC: TM2155
Oeko.neT Mueller & Brandt GbR 			sales: info@oeko.net
v: +49 2261 979364 f: +49 2261 979366		http://www.oeko.net
Unix, networking, administration, consulting, programming, Internet services

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 15:20:05 +0200
From: Carsten Hoeger <choeger@suse.de>
To: flexfax@sgi.com
Subject: flexfax: Security-Hole in faxsurvey-form
Sender: owner-flexfax@celestial.com

Hello all,


JFYI:


in the faxsurvey-cgi that comes with HylaFAX is a security-hole.

If you try this:

http://www.anyhost-with-this-cgi.com/cgi-bin/faxsurvey?/bin/cat%20/etc/passwd


You can e.g. read the host's passwd...


If this survey is from interest, I'll make a bug-fix.

-- 
mfG,
	Carsten Hoeger
------
Carsten Hoeger  - S.u.S.E. GmbH -  Gebhardtstr. 2  -  90762 Fuerth  -  Germany
fax +49-911-3206727                                     web http://www.suse.de
------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 17:01:13 +0200
From: Matthias Apitz <Matthias.Apitz@Sisis.de>
To: Carsten Hoeger <choeger@suse.de>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Security-Hole in faxsurvey-form
Sender: owner-flexfax@celestial.com

On Wed, Jul 29, 1998 at 03:20:05PM +0200, Carsten Hoeger wrote:
> Hello all,
> 
> 
> JFYI:
> 
> 
> in the faxsurvey-cgi that comes with HylaFAX is a security-hole.
> 
> If you try this:
> 
> http://www.anyhost-with-this-cgi.com/cgi-bin/faxsurvey?/bin/cat%20/etc/passwd
> 
> 
> You can e.g. read the host's passwd...
> 
> 
> If this survey is from interest, I'll make a bug-fix.

Until a better solution for collecting the faxsurvey we should
remove this from the distributiuons;

	matthias

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 10:29:40 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Yadid <yadid@mmi.co.il>
Cc: flexfax@sgi.com
Subject: Re: flexfax: (no subject)
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 29 Jul 1998, Yadid wrote:

> Date: Wed, 29 Jul 1998 16:56:08 +0300
> From: Yadid <yadid@mmi.co.il>
> To: flexfax@sgi.com
> Subject: flexfax: (no subject)
> 
> will trying to compile hylafax on SunOs 4.1.4 i got the following:

Proceed directly to http://cirl.meei.harvard.edu/hylafax/ and my SunOS
notes and patches there.  Enjoy.

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNb8xzz/+ItycgIJRAQF+qgP/fh5NUjCCo82IYvHNNiHMwSFm8THc1aNt
d7iT9sBlnj0EhOC3H6xH7zUWk9F59B4evpl8EkliJFB5sNXRPf8HZXjl2/yYEQPx
sECuwkKev8vYOGjTvH45fjh7RuTvmTj7u18s3ddVxA3kE2bsNy40EoW+BqGfNQt7
MH74grgIonY=
=jAfj
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 17:19:12 +0200
From: Carsten Hoeger <choeger@suse.de>
To: Matthias Apitz <Matthias.Apitz@Sisis.de>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Security-Hole in faxsurvey-form
Sender: owner-flexfax@celestial.com

On Wed, Jul 29, Matthias Apitz wrote:

> > in the faxsurvey-cgi that comes with HylaFAX is a security-hole.
> > 
> > If you try this:
> > 
> > http://www.anyhost-with-this-cgi.com/cgi-bin/faxsurvey?/bin/cat%20/etc/passwd
> > 
> > 
> > You can e.g. read the host's passwd...
> > 
> > 
> > If this survey is from interest, I'll make a bug-fix.
> 
> Until a better solution for collecting the faxsurvey we should
> remove this from the distributiuons;

O.k., I've already done this...

-- 
mfG,
	Carsten Hoeger
------
Carsten Hoeger  - S.u.S.E. GmbH -  Gebhardtstr. 2  -  90762 Fuerth  -  Germany
fax +49-911-3206727                                     web http://www.suse.de
------

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 12:26:59 -0400
To: Hylafax Mailing List <flexfax@sgi.com>
From: Joseph C King <jking@cos.com>
Subject: flexfax: Pager (SNPP) questions
Sender: owner-flexfax@celestial.com


I'm looking to migrate my qpage setup to hylafax and I do see one thing
hylafax can't seem to do.

in qpage you can send a message of 256 characters and break it up into 80
(User definable) character pages (4 different pager messages).  When a page
is sent to the terminal 1 connection is made and 4 seperate pages are sent
in 1 call.

Hylafax either rejects the page because it is too long (set at 128
characters) or trucates.  I know this is the way it is documented to work.

I haven't checked the SNPP or IXO RFC yet so I don't know what
implemenation is standard.

Has anyone got sendpage or hfaxd hacked up to do this or do I need to write
a wrapper or hack the code myself to get this function?

Thanks in advance, will summerize.

Joe
--
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Joseph C. King              |
Systems Administrator       | 
Community of Science, Inc.  |
Baltimore, MD               |
http://www.cos.com          |
(410)563-2378x213 (V)       |
(410)563-5389    (F)        |
ICQ# 1601268                |

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 15:09:36 -0400 (EDT)
From: David Ronis <ronis@onsager.chem.mcgill.ca>
Reply-To: David Ronis <ronis@onsager.chem.mcgill.ca>
Subject: flexfax: How to control idle state?
To: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

I'm running hylafax 4.0pl2 on a sparc-10, running SunOS 5.6.  I'm using
a usr-sportster 56K faxmodem (1 year old), and have configured hylafax to 
use it as a class 1 device.  Since we rarely send faxes and never receive them, 
I don't run faxgetty and hence manually turn on the software when we want to 
send (I know this is dumb).  

Here's my problem:  when finished sending a fax, the modem remains in fax mode 
and incoming data calls don't work.  This also is the case when I shutdown 
with faxquit.  The only thing that works is to manually send an atz0 to the 
device after faxq has exited.  

Here's what's at the end of my config.modem file, which suggests
that it should do what I want.


#
# The remainder of this configuration is included so that the
# modem "idles" in Class 0 while not sending or receiving facsimile.
#
ModemSetupAACmd:        AT+FCLASS=0&H1&I0&R2    # leave modem in class 0
ModemAnswerCmd:         AT+FCLASS=1&H1&I0&R2A   # force RTS/CTS after change
ModemResetCmds          ATZ0ATH0                # Modem reset commands


David Ronis

P.S.,  is there any information about adaptive answering and my modem?  Is it 
suported and if so, how well?

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christopher J Reahard <dominion@datasync.com>
To: flexfax@sgi.com
Subject: flexfax: Problem with MultiTech
Date: Wed, 29 Jul 1998 11:26:07 -0500
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

HylaFax Version 4.0pl2
GCC 2.7.2
Slackware Linux 2.0.34
MultiTech MT2834ZDX I don't see anything that looks like a version number...

The problem is, after a somewhat random period of time with no activity, the
modem will no longer respond to faxgetty. I've had this happen with other
modems on this and pl1, so I'm hoping it's something stupid I'm constanly
overlooking. I don't see any errors in the sending or receiving of faxes up to
that point.

 --
Chris Reahard		http://www.datasync.com/~dominion/public.asc

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNb9PP8BudOLe2LZZAQGq7wP/dLSL21mjGuOrC5OOaHTT4ROYUFS6vCng
buVriHFWamCqtC2trZyxXA8lsD3PUquAUUvwzr3C3hzOsmTXIF+HrLN2mWF07VP9
3p6fjt6zkPR+SVLOf2cL6OukIqBZbKxG/RkkAaRPalSieD6664I2LK/+WddLIVxz
b6C5O2wGiV8=
=usi9
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 15:31:24 -0500
From: "David L. Aldridge" <dlac@aldridge.com>
Organization: The Aldridge Company
To: flexfax@sgi.com
Subject: flexfax: Fax Cover
Sender: owner-flexfax@celestial.com

With reference to
Q36: How do I create a fax cover page template?
of the FAQ
http://www.vix.com/hylafax/FAQ/Q36.html

The answer "(From Randy Davis)" beginning with the 5th paragraph is clear and
works as advertised.

I cannot seem to get the comments macro to work and nothing on this page or the
rest of the FAQ addresses it.

If Randy Davis is out there, perhaps I could impose on him to add the special
case of comments to his otherwise concise instructions.

In Randy's absence, I would appreciate help from anyone who has done it.
Regards
Dave 
--
David L. Aldridge
The Aldridge Company 281.368.0166 (fax: 281.368.0381)
http://www.aldridge.com/
Powered by Pentium/FreeBSD/Apache - Because it works.

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 15:41:43 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: Christopher J Reahard <dominion@datasync.com>
Cc: flexfax@sgi.com
Subject: Re: flexfax: Problem with MultiTech
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 29 Jul 1998, Christopher J Reahard wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> HylaFax Version 4.0pl2
> GCC 2.7.2
> Slackware Linux 2.0.34
> MultiTech MT2834ZDX I don't see anything that looks like a version number...
> 
> The problem is, after a somewhat random period of time with no activity, the
> modem will no longer respond to faxgetty. I've had this happen with other
> modems on this and pl1, so I'm hoping it's something stupid I'm constanly
> overlooking. I don't see any errors in the sending or receiving of faxes up to
> that point.

Umm. Is this a PnP modem? Can you contact the modem with minicom or other
such tools? What does "faxstar" report?

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNb969D/+ItycgIJRAQG5aAQAoDc8qVDJUR5kl1HGY1JiVtvJy/Oya/ub
Gv1/ys6bdWjuLGUXJ6dTu4Ri79PrXefYUR2t60cJSiJlV++Y8pRRYD2jujjIJJCL
d+lEU7N8eBo8A3HJ6OqamoPvCFa7PqBBSvVw2Kf2Qhp5rGKflFj9AlNGyHwNB13j
ThOFa6Nc10U=
=pbWy
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 16:50:44 -0400 (EDT)
From: Ludovic Marcotte <ludovic@Sophos.ca>
To: flexfax@sgi.com
Subject: flexfax: USR Sportster users..
Sender: owner-flexfax@celestial.com

Hi all,
	I've sent a message or two on this list before asking help for a
problem I have with my USR Sportster 33.6 modem. Thanks for all the reply
I had.

My question is..  is anybody actually using this modem and if yes, does it
work properly for you? Everything is fine? If yes, I'm curious to see your
config.ttyXX and I'll be glad to have it :-)

Thanks,
		Ludovic

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 17:35:04 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
To: David Ronis <ronis@onsager.chem.mcgill.ca>
Cc: flexfax@sgi.com
Subject: Re: flexfax: How to control idle state?
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 29 Jul 1998, David Ronis wrote:

> I'm running hylafax 4.0pl2 on a sparc-10, running SunOS 5.6.  I'm using
> a usr-sportster 56K faxmodem (1 year old), and have configured hylafax to 
> use it as a class 1 device.  Since we rarely send faxes and never receive them, 
> I don't run faxgetty and hence manually turn on the software when we want to 
> send (I know this is dumb).  
> 
> Here's my problem:  when finished sending a fax, the modem remains in fax mode 
> and incoming data calls don't work.  This also is the case when I shutdown 
> with faxquit.  The only thing that works is to manually send an atz0 to the 
> device after faxq has exited.  

Run faxgetty, and set the config files  to answer calls as data only.

> ModemResetCmds          ATZ0ATH0                # Modem reset commands

This is run by faxgetty, near as I can tell.

> P.S.,  is there any information about adaptive answering and my modem?  Is it 
> suported and if so, how well?

I don't believe Class 1 modems support adaptive-answering. And USR has
gotten an *EXTREMELY* bad rep for their Sportster models, so that
might be part of other problems you've had.

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNb+VhT/+ItycgIJRAQE9VgP9HdQKsL3jXIgrvSOwXbAHnNs5vPfVweV+
eVhtYXmyWH7Lt1QM6JEQjm7x4TKoY/RkhWsOuU6A0RoanAJG47+Tp2UOsA1sU02x
wHbTOeDNdNWEjiLQTILmJIQxLlv1ILZShaFl6+lTD9sJGcm84TxlX4DNvNGTTLja
B1VNOwGLOrg=
=2uXx
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Wed, 29 Jul 1998 17:50:23 -0600
From: Bob Worthy <bworthy@worthy.com>
Reply-To: bworthy@worthy.com
Organization: Key Computer Consultants, Inc.
To: David Ronis <ronis@onsager.chem.mcgill.ca>
CC: flexfax@sgi.com
Subject: Re: flexfax: How to control idle state?
Sender: owner-flexfax@celestial.com

Nico, I've had a very similar problem (see message to the list as of
last Friday).  I was not able to get the Sportster (33.6) to work as a
class 1 (serial buffering too slow) or class 2.0 modem, and it doesn't
support class 2.  After grabbing a $25 modem that uses a Rockwell chip,
class 2 fax out works, but i have the same problem with mode switching
back to data.

It would be useful if somewhere in the docs there were some sample
config.ttyXX with corresponding getty.ttyXX files, since they need to be
coordinated if faxgetty is used.

It may be possible to forgo using faxgetty if you get just the right set
of entries in config.ttyXX, but all that is in the list archives are
snippets of commands that various people say work.  I spent about three
days on this, and never hit the right combination.

If you find a way to get the same modem to work both as fax send AMD
data receive, especially using a USR Sportster, I'd sure like to see
your config files.  Call me day or night.  (The $25 modems say
"CREATIVE" on the case and go up to 19200 for data.  According to the
guys who purchased them, most of 'em actually work.)

If no one offers any workable advice via this list I think that using
two modems to share the same phone line, one for fax out, and one for
dial up, no faxgetty, is going to be my solution.  Haven't tried it yet,
but it should work.

Good luck.

Nico Kadel-Garcia wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> On Wed, 29 Jul 1998, David Ronis wrote:
> 
> > I'm running hylafax 4.0pl2 on a sparc-10, running SunOS 5.6.  I'm using
> > a usr-sportster 56K faxmodem (1 year old), and have configured hylafax to
> > use it as a class 1 device.  Since we rarely send faxes and never receive them,
> > I don't run faxgetty and hence manually turn on the software when we want to
> > send (I know this is dumb).
> >
> > Here's my problem:  when finished sending a fax, the modem remains in fax mode
> > and incoming data calls don't work.  This also is the case when I shutdown
> > with faxquit.  The only thing that works is to manually send an atz0 to the
> > device after faxq has exited.
> 
> Run faxgetty, and set the config files  to answer calls as data only.
> 
> > ModemResetCmds          ATZ0ATH0                # Modem reset commands
> 
> This is run by faxgetty, near as I can tell.
> 
> > P.S.,  is there any information about adaptive answering and my modem?  Is it
> > suported and if so, how well?
> 
> I don't believe Class 1 modems support adaptive-answering. And USR has
> gotten an *EXTREMELY* bad rep for their Sportster models, so that
> might be part of other problems you've had.
> 
>                         Nico Garcia
>                         Senior Engineer, CIRL
>                         Mass. Eye and Ear Infirmary
>                         raoul@cirl.meei.harvard.edu
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.2
> 
> iQCVAwUBNb+VhT/+ItycgIJRAQE9VgP9HdQKsL3jXIgrvSOwXbAHnNs5vPfVweV+
> eVhtYXmyWH7Lt1QM6JEQjm7x4TKoY/RkhWsOuU6A0RoanAJG47+Tp2UOsA1sU02x
> wHbTOeDNdNWEjiLQTILmJIQxLlv1ILZShaFl6+lTD9sJGcm84TxlX4DNvNGTTLja
> B1VNOwGLOrg=
> =2uXx
> -----END PGP SIGNATURE-----

-- 
Bob Worthy
bworthy@worthy.com
http://www.worthy.com/
406 443 5219 v
406 442 6665 v

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: "Andrew Radke" <radke@iig.com.au>
To: <flexfax@celestial.com>
Subject: RE: flexfax: TIFFs displaying and printing at half height
Date: Thu, 30 Jul 1998 09:12:50 +1000
Importance: Normal
Sender: owner-flexfax@celestial.com

Wonderful. Absolutely Wonderful. Many thanks.

I hadn't even considered the "Imaging" software that comes with Windows. As
of Windows 95 OSR2 Wang Imaging came bundled and until now seemed completely
useless. Windows 98, I just noticed, renames it to 'Kodak Imaging' but it is
effectively the same. Both of these read an image perfectly that others
display at half height. It also reads the multi-page TIFFs that others won't
read and generaly loads faster as well. It looks like my problems are
solved.

Thanks again,
  Andrew Radke.

> -----Original Message-----
> From: David Woolley [mailto:david@djwhome.demon.co.uk]
> Sent: Monday, 27 July 1998 4:52pm
> To: Andrew Radke
> Subject: Re: flexfax: TIFFs displaying and printing at half height
>
>
> >
> > Many thanks. I don't suppose you would know of any software
> that understands
> > a different vertical resolution to horizontal resolution (like Corel
> > Photopaint) that also understands multi-page TIFFs, do you?
>
> I'm pretty sure that this is true for the Wang Imaging Tool, bundled with
> NT4, but Hylafax lost out to a propietory, non-Unix, solution, so I don't
> have a lot of test data.
>

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 30 Jul 1998 14:41:27 +1200
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Bob Worthy <bworthy@worthy.com>
cc: David Ronis <ronis@onsager.chem.mcgill.ca>, flexfax@sgi.com
Subject: Re: flexfax: How to control idle state?
Sender: owner-flexfax@celestial.com

On Wed, 29 Jul 1998, Bob Worthy wrote:

> After grabbing a $25 modem that uses a Rockwell chip,
> class 2 fax out works, but i have the same problem with mode switching
> back to data.

[snip]

Heres an example snippet for a Rockwell-chip modem relevant config
using faxgetty and class 2. The important bits are the
ModemSetupAACmd, and the ModemResetCmd (which *shouldn't* contain ATZ)

--
Jonathan Chen
---------------------------------------------------------------------
                When all other forms of communication fail, use words
---------------------------------------------------------------------
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:          Class2      # use class 2 interface
ModemRate:          38400       # locked for fax sending&receiving
ModemFlowControl:   rtscts      # default
#
# Reset with:
#   B0  CCITT operation
#   &G2 1800Hz Guard tone
#   S11=70  DTMF dial speed
ModemResetCmds:     ATB0&G2S11=70
#
ModemNoFlowCmd:     AT&K0       # disable flow control cmd
ModemSoftFlowCmd:   AT&K4       # software flow control cmd
ModemHardFlowCmd:   AT&K3       # hardware flow control cmd
ModemSetupDTRCmd:   AT&D3       # DTR off causes modem to reset
ModemSetupDCDCmd:   AT&C1       # DCD follows carrier
ModemSetupAACmd:    AT+FAA=1+FCLASS=0   # enable adaptive-answer, Class 0 idle
#
ModemRecvFillOrder: MSB2LSB     # bit order of received facsimile
ModemSendFillOrder: LSB2MSB     # bit order modem expects for transmit
#
ModemDialCmd:       ATDT%s      # T for tone dialing
#
# Chip locks the line rate and switches to xon/xoff flow
# control when receiving facsimile--we must follow suit.
#
ModemAnswerFaxBeginCmd: "<19200><xon>"  # lock line rate & switch flow control
#
Class2RecvDataTrigger:  "\022"      # character sent to modem to start recv

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 30 Jul 1998 13:10:37 +0700
From: Diana Dewi <d14na@cabi.net.id>
To: flexfax@sgi.com
Subject: flexfax: WHFC problem
Sender: owner-flexfax@celestial.com

Hi,
I tried to use WHFC version 0.8.9 Alpha but when I run it there has
error message :

Failed to submit job 35: Unspecified reason (scheduler NAK'd request)

Something wrong with my hylafax server or WHFC??? may someone can help
me for this problem???

Thank You,
Diana Dewi

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christoph Stotz <pif@logo.de>
To: "Ludovic Marcotte [ludovic@Sophos.ca]" <ludovic@Sophos.ca>
Cc: flexfax@sgi.com
Subject: AW: flexfax: USR Sportster users..
Date: Thu, 30 Jul 1998 08:55:26 +0200
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id IAA08381

Hello,

I was using some USR 33.6 but then changed to Elsa 33.6 because of too
many
Problems (check modem power, the modem is "hanging", problems faxing
etc.).

By the way: the Elsa seems to complete jobs slighly faster (less time is
needed for initialization etc.)

My last working configuration was:
<---cut---><---cut---><---cut---><---cut---><---cut---><---cut--->
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd:      "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
ModemEchoOffCmd:        ATE0            # disable command echo
ModemVerboseResultsCmd: ATV1            # enable verbose command results
ModemResultCodesCmd:    ATQ0            # enable result codes
ModemOnHookCmd:         ATH             # place phone on hook (hangup)
ModemSoftResetCmd:      ATZ             # do soft reset of modem
ModemWaitTimeCmd:       ATS7=60         # wait 60 seconds for carrier
ModemCommaPauseTimeCmd: ATS8=2          # comma pause time is 2 seconds
ModemRecvFillOrder:     LSB2MSB         # bit order of received
facsimile
ModemSendFillOrder:     LSB2MSB         # bit order modem expects for
transmit
#
# Configuration parameters for Class 2.0 modems.
#
Class2Cmd:              AT+FCLASS=2.0   # command to enter class 2.0
Class2BORCmd:           AT+FBO=0        # bit order for phase B/C/D
(direct)
Class2CQCmd:            ""              # commands to enable copy
quality proc.
Class2AbortCmd:         AT+FKS          # abort session command
Class2CQQueryCmd:       AT+FCQ=?        # query for copy quality
capabilities
Class2DCCQueryCmd:      AT+FCC=?        # query for modem capabilities
Class2TBCCmd:           AT+FPP=0        # setup stream mode
Class2CRCmd:            AT+FCR=1        # enable capability to receive
Class2PHCTOCmd:         AT+FCT=30       # set phase C timeout parameter
Class2BUGCmd:           AT+FBU=1        # enable HDLC frame tracing
Class2LIDCmd:           AT+FLI          # set local identifier command
Class2DCCCmd:           AT+FCC          # set modem capabilities command
Class2DISCmd:           AT+FIS          # set session parameters command
Class2DDISCmd:          ""              # disable pre-dial DIS command
hack
Class2CIGCmd:           AT+FPI          # set polling identifier command
Class2NRCmd:            AT+FNR=1,1,1,1  # setup status reporting command
Class2PIECmd:           AT+FIE=0        # disable interrupt-enable
command
Class2PTSCmd:           AT+FPS          # set post-page status command
Class2SPLCmd:           AT+FSP          # set polling indicator command
Class2NFLOCmd:          AT+FLO=0        # set no flow control command
Class2SFLOCmd:          AT+FLO=1        # set software flow control
command
Class2HFLOCmd:          AT+FLO=2        # set hardware flow control
command
<---cut---><---cut---><---cut---><---cut---><---cut---><---cut--->

-----Ursprngliche Nachricht-----
Von: Ludovic Marcotte [mailto:ludovic@Sophos.ca]
Gesendet am: Mittwoch, 29. Juli 1998 22:51
An: flexfax@sgi.com
Betreff: flexfax: USR Sportster users..

Hi all,
	I've sent a message or two on this list before asking help for a
problem I have with my USR Sportster 33.6 modem. Thanks for all the
reply
I had.

My question is..  is anybody actually using this modem and if yes, does
it
work properly for you? Everything is fine? If yes, I'm curious to see
your
config.ttyXX and I'll be glad to have it :-)

Thanks,
		Ludovic

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christoph Stotz <pif@logo.de>
To: "Mike Bristow [michaelb@bessie.mojo.org]" <michaelb@bessie.mojo.org>
Cc: flexfax@sgi.com
Subject: AW: AW: flexfax: Problems submitting very large Number of jobs se
	 quen 	tial ly
Date: Thu, 30 Jul 1998 08:46:01 +0200
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id IAA08417

Hello Mike!

Its a new installation. My info Directory actually contains 6000
files...

Im not able to Programm C at all. So, some C-Programmer in vacation out
there with nothing to do ?-)

Regards,

Christoph Stotz
logo: GmbH

-----Ursprngliche Nachricht-----
Von: Mike Bristow [mailto:michaelb@bessie.mojo.org]
Gesendet am: Mittwoch, 29. Juli 1998 11:18
An: flexfax@sgi.com
Betreff: Re: AW: flexfax: Problems submitting very large Number of jobs
se quen tial ly

On Wed, Jul 29, 1998 at 09:01:01AM +0200, Christoph Stotz wrote:
> Thank you for your posting. I have a few Questions about it:
> 
> How can I use "btrees" for my big directories under Linux ?

Wait untill the code to do this is written (it's being worked on IIRC).
It might be in 2.3.

> May I delete the info/* files after every faxmailing and will I
improve
> speed in this way ?

I doubt it, as the info files aren't looked at _that_ much, also you
will have problems  with large directrories elsewhere in the system, eg
in the docq, sendq etc, which are probably irmpacting performance
harder.

How big is your info directory?  How many files are in it?

> Why should I programm a Queue-Controller for the Queue-Controller ?
> Writing for
> "nr_fax_in_queue<modems+x" seems to me the job of faxq...

Absolutly.  A quick hack solutions (and tailing xferlog counts IMHO)
is a reasonable short term solution.  

Unfortunatly, until I fix my computer at home I'm not going to be a 
position to look at the code in any depth and fix the problem 
``properly'' - however, there are people here who are better 
C++ programmers than me, and thus better able to decide what a 
``proper'' fix would be.  [ not hard, I admit, to be a better C++
programmer than me ]

-- 
"Virgin Trains: It's quicker by balloon."
	-- Peter Corlett

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
Date: Thu, 30 Jul 1998 10:35:17 -0400 (EDT)
From: Nico Kadel-Garcia <raoul@cirl.meei.harvard.edu>
Cc: Hylafax Mailing List <flexfax@sgi.com>
Subject: Re: flexfax: How to control idle state?
Sender: owner-flexfax@celestial.com

-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 30 Jul 1998, Jonathan Chen wrote:

> On Wed, 29 Jul 1998, Bob Worthy wrote:
> 
> > After grabbing a $25 modem that uses a Rockwell chip,
> > class 2 fax out works, but i have the same problem with mode switching
> > back to data.
> 
> [snip]
> 
> Heres an example snippet for a Rockwell-chip modem relevant config
> using faxgetty and class 2. The important bits are the
> ModemSetupAACmd, and the ModemResetCmd (which *shouldn't* contain ATZ)

I've copied the PPI 14400 FXMT setup, a Rockwell chip one, to my 
http://cirl.meei.harvard.edu/hylafax/ directory. My setup for this
agrees with Jonathan.

I have a 33.6 dialup modem, but haven't worked with it yet to do
fax/data (for reasons of lack of time).

			Nico Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNcCEnD/+ItycgIJRAQGo7QP+PqKhn6nsvyA8gywFsW2fK52OYePx6Dsh
vPE9JdvKw/xt/Qs0nKkegyq7WtcBFJRujaaXXRPcRNgMyshvhLoAk+WaYeLjeLm+
3eOQgrjxCi0LhQcJ9kwZwbuTdb3/uPnCaUBQqxshRzYfUo5clWwiCYXWp9L0eETo
MGa4kc7OgCM=
=8YH+
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
To: flexfax@sgi.com
Date: Thu, 30 Jul 1998 13:20:50 -0700
From: "nagu nagu" <nagu@my-dejanews.com>
X-Sent-Mail: on
Subject: flexfax: MaxConcurrentJobs question
X-Sender-Ip: 38.218.160.249
Organization: Deja News Mail  (http://www.my-dejanews.com:80)
Sender: owner-flexfax@celestial.com

I don't think I understand MaxConcurrentJobs config correctly. If it controls max concurrent jobs to a destination, then what happens with multiple destinations and multiple modems?

Suppose I have 4 modems and dialing out two different destinations. If I have 4 jobs for each destinations,
what happens? I see in the log a msg saying "No assignable modem located". 

Another question I have is: I have a set-up for sending out paging requests. Without faxgetty, the jobs don't go. They just sit there in the queue. I am queuing up the jobs(SITE JQUEUE YES) and with just faxmodem, the jobs are not processed. I am using HylaFAX 4.0 pl1
on Irix 6.4, motorola montana modems

thanks,

nagu



-----== Sent via Deja News, The Discussion Network ==-----
http://www.dejanews.com/  Easy access to 50,000+ discussion forums

From owner-flexfax@celestial.com  Tue Feb 16 17:32:21 1999
From: Christoph Stotz <pif@logo.de>
To: "nagu nagu [nagu@my-dejanews.com]" <nagu@my-dejanews.com>
Cc: flexfax@sgi.com
Subject: AW: flexfax: MaxConcurrentJobs question
Date: Fri, 31 Jul 1998 09:39:24 +0200
Sender: owner-flexfax@celestial.com
X-MIME-Autoconverted: from quoted-printable to 8bit by derrick.elgro.co.uk id LAA09816

Hi!

Maybe I can explain the MaxConcurentJobs question:

With this Parameter you can avoid sending many faxes to the same
fax-machine at the same time. 
If you have to deliver 3 separate faxes to a destination, and the
destination has 1 only fax
machine, you should set MaxConcurrentJobs to 1. If your destination as a
pool with 10 fax-machines
(or a fax-server which can handle 10 incoming phone-lines) and these 10
phone-lines has the 
_same_ phone number (cascading pool), set MaxConcurrentjobs to 10.

If a fax is "blocked by concurrent job", youll see it using faxstat -s.

The "no assignable modem located" seems to me a problem using
destination groups and sendfax
option -h. Try "-h any@"

Regards,

Christoph Stotz
logo: GmbH

-----Ursprngliche Nachricht-----
Von: nagu nagu [mailto:nagu@my-dejanews.com]
Gesendet am: Donnerstag, 30. Juli 1998 22:21
An: flexfax@sgi.com
Betreff: flexfax: MaxConcurrentJobs question

I don't think I understand MaxConcurrentJobs config correctly. If it
controls max concurrent jobs to a destination, then what happens with
multiple destinations and multiple modems?

Suppose I have 4 modems and dialing out two different destinations. If I
have 4 jobs for each destinations,
what happens? I see in the log a msg saying "No assignable modem
located". 

Another question I have is: I have a set-up for sending out paging
requests. Without faxgetty, the jobs don't go. They just sit there in
the queue. I am queuing up the jobs(SITE JQUEUE YES) and with just
faxmodem, the jobs are not processed. I am using HylaFAX 4.0 pl1
on Irix 6.4, motorola montana modems

thanks,

nagu



-----== Sent via Deja News, The Discussion Network ==-----
http://www.dejanews.com/  Easy access to 50,000+ discussion forums

