From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Mon, 30 Jun 1997 21:44:28 -0400
From: Bob Berman <rjberman@mindspring.com>
To: flexfax@sgi.com
Subject: Silent Answer - how to do it? (like adaptive answer)
Sender: owner-flexfax@celestial.com


How can I get hylafax to work with my Supra modem to do Silent
Answer? The AT command to turn it on in the modem is AT+FAA=4 and
this feature works fine in Win95.

Silent Answer means the call is answered by the answering machine,
but the modem continues monitoring the line for fax tones, and when
it detects them it goes into fax mode and does not hang up. At one
time (Summer '96) I had hylafax working with this, but it no longer
does and I can't recall what I did to get it going.  Currently it
seems as if hylafax times out and hangs up (ATH). My
RingsBeforeAnswer is set to 6, my answering machine is set to 4
rings. I even pushed RingsBeforeAnswer up to 12, but hylafax still
issued an ATH.

PLEASE HELP!!

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Wed, 2 Jul 1997 13:07:00 -0400 (EDT)
To:flexfax@sgi.com
Cc:
Subject: hfaxd security considerations
From: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
X-Uri: http://www.tpc.int/
X-Pgp-Key-Fingerprint: 05 CA 3F B5 43 F2 6A CE  DB 9E 08 39 80 F0 57 9E
Sender: owner-flexfax@celestial.com


Folks,

Does anyone consider the default init script in the HylaFAX source 
distribution to be a wee bit dangerous?  I mean, hfaxd(8c) states:

OLD CLIENT-SERVER PROTOCOL SUPPORT
       If  hfaxd  is  started  with the -o option it will service
       clients using the old HylaFAX client-server protocol  that
       was  used in distributions prior to the 4.0 release.  Note
       however that this support is only available  if  hfaxd  is
       compiled with the support enabled.

       Emulation  of the old protocol is important for supporting
       non-UNIX clients such as the WinFlex  client  for  Windows
       systems  and the MacFlex client for Macintosh systems.  It
       is strongly recommended however that unless  you  need  to
       support  these  old-style clients that you not enable sup-
       port for the old protocol because of the  inherent  misde-
       sign of this protocol.

and yet the init script fires up hfaxd, by default, as:

            $HFAXD -i $FAXPORT -o 4557 -s $SNPPPORT

YIKES!!!

If you're at all concerned about controlling host access to your server, 
running the old (insecure) protocol is 'not a good idea'(tm).

-Darren



-----BEGIN PGP MESSAGE-----
Version: 2.6.3i

iQB1AwUBM7mYJ+q6rnjZTXDRAQH2pQMAsDKbqZbBkJucPvuBP7JeiRyAVdfnxNDG
vX/KhkKTAukP10dhJng0cwnmSYIQ9r0X0g5UVGmZfdeFBLn2QRXLK1Q1FuhpYQ29
05TO960Wx1sLRC8MdqWVm2zlbg1nKQxo
=NFTX
-----END PGP MESSAGE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Wed, 2 Jul 1997 13:07:00 -0400 (EDT)
From: Chad M Vande Pol <chad@is6.iserv.net>
To: flexfax@sgi.com
Subject: Problems getting a Courier to work
Sender: owner-flexfax@celestial.com


I am using a USR courier that is in a MP-8 modem bank, the modem works
fine with any comunication program and it will fax with hylafax once in a
while but I usually get these errors.

Jul  1 16:15:06 is6 FaxSend[15142]: /dev/ttyqf: Can not open modem (I/O error)
Jul  1 16:15:13 is6 FaxSend[15142]: /dev/ttyqf: Can not initialize modem.

I am also getting the I/O error when I try to add another modem, any
ideas?

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Thu, 3 Jul 1997 13:24:24 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Chad M Vande Pol <chad@is6.iserv.net>
cc: flexfax@sgi.com
Subject: Re: Problems getting a Courier to work
Sender: owner-flexfax@celestial.com

On Wed, 2 Jul 1997, Chad M Vande Pol wrote:

> 
> I am using a USR courier that is in a MP-8 modem bank, the modem works
> fine with any comunication program and it will fax with hylafax once in a
> while but I usually get these errors.
> 
> Jul  1 16:15:06 is6 FaxSend[15142]: /dev/ttyqf: Can not open modem (I/O error)
> Jul  1 16:15:13 is6 FaxSend[15142]: /dev/ttyqf: Can not initialize modem.

Is anything else using the modem as well? Have you got an outgoing
uucp config using that line as well?
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Wed, 2 Jul 1997 23:02:02 -0400 (EDT)
From: Chad M Vande Pol <chad@is6.iserv.net>
To: Jonathan Chen <jonc@pinnacle.co.nz>
cc: flexfax@sgi.com
Subject: Re: Problems getting a Courier to work
Sender: owner-flexfax@celestial.com


Nothing else is using the modem, I have a server dedicated to email to
fax.

On Thu, 3 Jul 1997, Jonathan Chen wrote:

> On Wed, 2 Jul 1997, Chad M Vande Pol wrote:
> 
> > 
> > I am using a USR courier that is in a MP-8 modem bank, the modem works
> > fine with any comunication program and it will fax with hylafax once in a
> > while but I usually get these errors.
> > 
> > Jul  1 16:15:06 is6 FaxSend[15142]: /dev/ttyqf: Can not open modem (I/O error)
> > Jul  1 16:15:13 is6 FaxSend[15142]: /dev/ttyqf: Can not initialize modem.
> 
> Is anything else using the modem as well? Have you got an outgoing
> uucp config using that line as well?
> --
> Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
>   Pinnacle Software Ltd                Voice  : +64.9.415.4460
>   Auckland, New Zealand                Fax    : +64.9.415.4250
> 

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Thu, 3 Jul 1997 16:30:09 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Chad M Vande Pol <chad@is6.iserv.net>
cc: flexfax@sgi.com
Subject: Re: Problems getting a Courier to work
Sender: owner-flexfax@celestial.com

On Wed, 2 Jul 1997, Chad M Vande Pol wrote:

> 
> Nothing else is using the modem, I have a server dedicated to email to
> fax.
> 
> On Thu, 3 Jul 1997, Jonathan Chen wrote:
> 
> > On Wed, 2 Jul 1997, Chad M Vande Pol wrote:
> > 
> > > 
> > > I am using a USR courier that is in a MP-8 modem bank, the modem works
> > > fine with any comunication program and it will fax with hylafax once in a
> > > while but I usually get these errors.
> > > 
> > > Jul  1 16:15:06 is6 FaxSend[15142]: /dev/ttyqf: Can not open modem (I/O error)
> > > Jul  1 16:15:13 is6 FaxSend[15142]: /dev/ttyqf: Can not initialize modem.
> > 
> > Is anything else using the modem as well? Have you got an outgoing
> > uucp config using that line as well?
> > --

Having asked the obvious question, how about more details on O/S
details, HylaFAX version, config files etc. Perhaps the problem is
a O/S related one, and someone else here may know about it.

What sort of multiport board are you using? Since you've mentioned
that the faxes _DO_ work sometimes, but fail with the above failures
on others, I'd suspect that you've got a wonky driver or flaky
hardware.

Cheers.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Thu, 03 Jul 1997 15:25:03 +0100
From: Kevin Faulkner <kfaulkne@celltech.co.uk>
Organization: Celltech Therapeutics
To: flexfax@sgi.com
Subject: Hylafax client
Sender: owner-flexfax@celestial.com

Please add me to the mailing list.

I am currently having a problem with the 0.3e Windows
95 client.  If I fax a long document I only get about
10 pages.  I have changed the spool setting on the printer
to only print after the last print is spooled and also changed the
postscript timeout values as suggested, but I still have a problem.

The printer I am using is the QMS PS-810.  Any help would be 
appreciated.

Thankyou


Kevin Faulkner.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Sat, 5 Jul 1997 13:28:18 -0400 (EDT)
From: Nico Garcia <raoul@cirl.meei.harvard.edu>
To: Donald Burr <dburr@POBoxes.com>
Cc: flexfax@sgi.com
Subject: Re: anyone gotten 'sfax' to work with hylafax 4.0pl1?
Sender: owner-flexfax@celestial.com

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

On Sat, 5 Jul 1997, Donald Burr wrote:

> Unfortunately, this package does not seem to work right with hylafax
> 4.0pl1.  When I send a fax using sfax, it seems to work -- no error
> messages are displayed, etc.  However, the fax that is sent looks
> weird: it contains *two* cover pages, and only one of them is filled
> in with the correct information (recipient name, etc.)

What? I added some tweaks to sfax to modify the generation of coverpages
so you can easily read the command lines associated with it and preview
them by just leaving the files in place instead of deleting them at the end:

Compare this one with the version you have:

   #!/usr/local/bin/perl
   #
   # $Id: sfax,v 1.12 1995/09/15 17:00:21 kenh Exp $
   #
   # sfax - cheap command-line front end to HylaFAX
   #

   #
   # The following three fields will probably have to be changed for your site
   #

   $faxcover='faxcover';				# location of faxcover binary
   $sendfax='sendfax';				# location of sendfax binary
   $sendmail='/usr/lib/sendmail -t';		# mail program
   $faxform='/usr/local/lib/FAXform';		# location of form file
   $faxcopy='3704';				# local fax for duplication

   %faxheaders = ('FaxTo:','faxto','FaxNumber:','faxnumber','FaxCompany:',
		   'faxcompany','FaxLocation:','faxlocation','FaxCommentStart:',
		   'dummy','FaxCommentEnd:',dummy,'FaxSubject:','faxsubject',
		   'Cc:',carboncopy);

   (($fromname, $homedir) = (getpwuid($<))[6,7]) ||
	   die "Who the hell are you??\n";

   $fromname =~ s/,.*$//;		# Edit out other user info in GCOS field

   $SIG{'INT'} = 'sigabort';
   $SIG{'QUIT'} = 'sigabort';
   $SIG{'TERM'} = 'sigabort';

   $tmpfaxcover="/tmp/sfaxcover.$$";
   $tmpfile="/tmp/sfax.$$";
   $textfile="/tmp/sfaxtxt.$$";

   #
   # Check to see if the person has a "dead fax" file, and ask if they want to
   # use that instead
   #

   if (-r "$homedir/dead.fax") {
	   $q = &response("$homedir/dead.fax exists - load that instead?",'y');
	   if ($q =~ /^[Yy]/) {
		   system("mv $homedir/dead.fax $tmpfile");
	   } else {
		   system("cp $faxform $tmpfile");
	   }
   } else {
	   system("cp $faxform $tmpfile");
   }

   if ($?) {
	   die "Could not copy FAXform to temporary file\n"
   }

   $editor = $ENV{'EDITOR'} || 'vi';
   system("$editor $tmpfile");

   &parsefile($tmpfile);

   &abort("No fax number specified") if ! $faxnumber;

   #
   # Ask the user if they want to add files to the fax
   #
   $fileq = &response("Append file(s) to fax?","n");

   if ($fileq =~ /^[Yy]/) {
	   print "\nPlease enter filenames below, one per line.\n";
	   print "Hit <return> on a blank to to exit.\n";

	   while(1) {
		   print "filename: ";
		   chop($file = <STDIN>);
		   last if ! $file;
		   if (! -e $file) {
			   $fileq = &response("File \"$file\" does not exist.  Add to fax list anyway?",'n');
			   if (! ($fileq =~ /^[Yy]/)) {
					   next;
			   }
		   }
		   print "Adding file \"$file\" to fax list\n";

		   push(@filelist,$file);
	   }
   }

   #
   # Verify everything
   #
   print <<EOF;

   Sending the following fax:

	   Name of recipient: 	$faxto
	   Fax number:		$faxnumber
	   Recipient's company:	$faxcompany
	   Recipient's location:	$faxlocation
	   Subject of fax:		$faxsubject

   EOF

   print "Cover page comments:\n\n$comment\n\n" if $comment;

   print "Text message included\n" if $faxtxt;

   print "Carbon copy will be e-mailed to: $carboncopy\n" if $carboncopy;
   print "\n";

   if (@filelist) {
	   print "Files to append to fax:\n\n";

	   foreach (@filelist) {
		   print "\t\t$_\n";
	   }
   }

   $q = &response('Send this fax?','y');

   #
   # Actually send the fax.  Build up an argument list and then call sendfax
   #

   if ($q =~ /^[Yy]/) {

	   #
	   # Since we want to be able to only send a cover page, we call
	   # faxcover by hand
	   #

	   push(@faxcoverargs, '-x', $faxcompany) if $faxcompany;
	   push(@faxcoverargs, '-l', $faxlocation) if $faxlocation;
	   push(@faxcoverargs, '-r', $faxsubject) if $faxsubject;
	   push(@faxcoverargs, '-c', $comment) if $comment;
	   push(@faxcoverargs, '-t', "$faxto");
	   push(@faxcoverargs, '-f', "$fromname");
	   push(@faxcoverargs, '-n', "$faxnumber");

	   print "$faxcover @faxcoverargs \> $tmpfaxcover\n";

	   #
	   # Sigh.  I wish open() could take argument as lists and assign
	   # each element to argv[], like system() and exec() can.
	   #

	   open(COVEROUT, ">$tmpfaxcover") ||
		&abort("Could not open temporary file for cover page, aborting");

	   if (($pid = fork()) == 0) {
		   open(STDOUT, ">&COVEROUT");
		   exec($faxcover, @faxcoverargs);
	   }

	   waitpid($pid, 0);

	   if ($?) {
		   &abort("faxcover failed, fax was not sent");
	   }

	   push(@faxargs, '-n');
   #
   #	push(@faxargs, '-d', "$faxcopy");
   #	push(@faxargs, '-a', "+2");
	   push(@faxargs, '-d', "$faxnumber");
	   push(@faxargs, '-m', '-D');
	   push(@faxargs, $tmpfaxcover);
	   push(@faxargs, $textfile) if $faxtxt;
	   push(@faxargs, @filelist);

	   print "$sendfax @faxargs\n";
	   system($sendfax,@faxargs);
	   if ($?) {
		   &abort("Sendfax failed, fax was not sent");
	   }
   } else {
	   &abort("Fax aborted");
   }

   print "Fax queued successfully\n";

   #
   # Carbon copy a user via e-mail, if so directed
   #

   if ($carboncopy) {
	   if ($faxtxt) {
		   open(TMP,$textfile) ||
			   &abort("Could not open temp file for carbon copy");
	   }
	   open(MAIL,"|$sendmail") || die "Could not pipe to sendmail: $!\n";

	   print MAIL "To: $carboncopy\n";
	   print MAIL "Subject: Fax Message CC: $faxsubject\n" if $faxsubject;
	   print MAIL "\nSFax: Carbon copy from fax sent to ";
	   print MAIL "$faxto \@ " if $faxto;
	   print MAIL "$faxnumber\n";
	   if ($comment) {
		   print MAIL "SFax: Fax cover page comment:\n";
		   print MAIL "SFax:\t$comment\n";
	   }

	   if (@filelist) {
		   print MAIL "SFax: Files appended to fax:\n";
		   foreach (@filelist) {
			   print MAIL "SFax:\t$_\n";
		   }
	   }

	   print MAIL "\n";

	   if ($faxtxt) {
		   while(<TMP>) {
			   print MAIL;
		   }
		   close TMP;
	   }

	   close MAIL;

	   print "Carbon copy mailed to: $carboncopy\n";
   }

   #
   # Remove temp files and exit
   #
   unlink($tmpfaxcover, $tmpfile, $textfile);

   exit(0);

   #
   # Parse a fax form template file
   #
   sub parsefile {
	   local($filename) = shift @_;

	   open(FILE,$filename) || die "Could not open file $filename: $!\n";

   # This is icky

	   while(<FILE>) {
		   next if /^#/;
		   next if /^$/;
		   if (/^(\S+:)\s*(\S.*)?$/) {
			   if ($faxheaders{$1}) {
				   eval "\$$faxheaders{$1} = '$2';";
				   if ($1 eq "FaxCommentStart:") {
					   $faxcomment = 1;
				   } elsif ($1 eq "FaxCommentEnd:") {
					   $faxend=1;
					   last;
				   }
			   } else {
				   &abort("Unknown header item: $1");
			   }
		   } elsif ($faxcomment) {
			   chop($_);
			   $comment .= $_ . ' ';
			   next;
		   } else {
			   &abort("Bad template line: \"$_\"");
		   }
	   }

	   if ($faxend && !eof(FILE)) {
		   open(TMPFILE,">$textfile") ||
			   die "Cannot open temp file \"$textfile\": $!\n";
		   while(<FILE>) {
			   print TMPFILE;
		   }
		   close TMPFILE;
		   $faxtxt = 1;
	   }

   }

   #
   # Abort the fax - save a copy of the template and clean up
   #

   sub abort {
	   local($message) = @_;

	   system("cp $tmpfile $homedir/dead.fax");
	   unlink($tmpfaxcover,$tmpfile,$textfile);
	   warn "$message\n";
	   warn "A copy of your fax template has been saved in $homedir/dead.fax\n";
	   exit(1);
   }

   sub sigabort {
	   &abort("Received interrupt signal");
   }

   #
   # Ask a question, get a response, with optional default
   #

   sub response {
	   local($text,$default,$nullok) = @_;
	   local($reply);

	   while(! $reply) {

		   print $text;
		   print " [$default]" if $default;
		   print " ";

		   chop($reply=<STDIN>);
		   if ($default && $reply eq '') {
			   $reply = $default;
		   }
	   }

	   return $reply;
   }


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

iQCVAwUBM76EIT/+ItycgIJRAQGc7wP8Ck4h5nkIAs9azXU9R0YAOPzo3BgEF3bc
weFtr+iPNjrRAGV4CKhDwHl3WWwYuRxr7EU/O7xIF/OzrxUoGJy+/oh9LMqCp2Ry
v9mXAevHXkbu9XoruIyMdS9mw8/+tyxwiJhlb8h+elaIev6trDIUs9X/4DhqvxMD
1tz9ZdsWDjs=
=X/1i
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
To: David Nesting <david@texas.net>
Cc: Brendon Perero <perero@wopr.inetu.net>, flexfax@sgi.com
Subject: Re: Restarting failed fax job?
From: Phil Abercrombie <Philip.Abercrombie@MCS.VUW.AC.NZ>
Date: 07 Jul 1997 09:42:12 +1200
Lines: 24
Sender: owner-flexfax@celestial.com

David Nesting <david@texas.net> writes:

> In short: recreate the fax entirely?  Is there no better way?  All of
> the job information (including destination and document(s)) is stored
> in the doneq (until it is purged).
> 
> Presently, I am presenting all of our employees with a WWW-based listing
> of all faxes in the sendq, and the last ten faxes in the doneq.  I'd like
> to give them a button to "re-send" a fax listed in the doneq.
> 
> If the only way to do this is by recreating the fax from scratch, I can
> work with that..
> 
> David

I posted a perl script to do just this about 2 months ago.  Mail me if
you want it.

        -phil


-- 
 Phil Abercrombie
 +64 4 495 5126

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
To: hlstyron <root@wcrklaw.com>
From: Eric Allman <eric@sendmail.org>
X-URL: http://WWW.Sendmail.ORG/~eric
cc: flexfax@sgi.com
Subject: Re: faxmail from sendmail 
Date: Sun, 06 Jul 1997 20:18:12 -0700
Sender: owner-flexfax@celestial.com

It looks like you are right that it is out of date, but my 4.0 man
pages indicate that the correct convention is

	faxmail -d $u@$h $f

I've tested this on my site and found that it works fine.

eric


============= In Reply To: ===========================================
: From:  hlstyron <root@wcrklaw.com>
: Subject:  faxmail from sendmail
: Date:  Sun, 6 Jul 1997 19:44:43 -0700 (PDT)

: Hi:
: 
: After much experimentation, it appears to me that
: the setup specified both in the Hylafax setup guide
: and as generated by the m4 files shipped with sendmail
: v8.8.5 will not work.  The hylafax program "faxmail"
: requires the -d flag to start fax delivery, and needs
: the arguments in the order <fax number> <addressee>
: <sender>.  Thus the Mfax line must have an A parameter
: as follows:
: 	A=faxmail -d $h $u $f
: in order to automatically forward mail.
: 
: Harry L. Styron
: hlstyron@wcrklaw.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Mon, 7 Jul 1997 08:37:57 -0400 (EDT)
From: Nico Garcia <raoul@cirl.meei.harvard.edu>
To: Carsten Hoeger <choeger@suse.de>
Cc: Hans Christiansen <hans@ljungbergs.se>, flexfax@sgi.com
Subject: Re: Viewing received faxes
Sender: owner-flexfax@celestial.com

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

On Mon, 7 Jul 1997, Carsten Hoeger wrote:

> I wrote a HylaFAX client in Java, called SuSEFax, that'll be on our newest
> S.u.S.E. Linux distribution 5.0, that comes end of this week. It'll also
> be available via ftp.suse.com, soon. ( rpm-packed )
> 
> Because it was written in Java, it runs also on Windows and on all the
> other plattforms, a jdk is available for. (Testet on WinNT4.0)
> 
> mfG,
> 	Carsten Hoeger

Bless your black flabby little heart. I don't suppose you'd be willing
to let me beta-test it under SunOS?


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

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

iQCVAwUBM8DjHj/+ItycgIJRAQG9qgQAljTai2WffkR43NiA3h8r1oxyuqKh6tKp
i5o3KwWtyyJyS4J1uNpQ9y/8PBJG/n/dSjO8eLdijeHvtdMB28gftWw82hPRx4sX
st6zwH1J55gsYU0PHjJbrPGgOD3K6uOaGgChmmD3kA503Jwy6M6F1ZowcOLoeuSg
y7xnyPI+ZeQ=
=ZqUv
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
From: Alexandre Meissonnier <ameissonnier@dohle.com>
To: "HylaFAX-Mailingliste (E-Mail)" <flexfax@sgi.com>
Subject: sending complex word documents
Date: Tue, 8 Jul 1997 09:07:25 +0200
Organization: Dohle Handelsgruppe Systemberatung GmbH
Sender: owner-flexfax@celestial.com

I send a lot of faxes from my Windows NT workstation using WHFC. Most faxes 
get through without problems. Only when I send a MS Word document that 
contains an image (e.g. from a scanner, or a Postscript document/received 
fax inserted into the word document), the conversion to postscript fails 
when it reaches the image. The first page (usually a text-only cover page) 
is sent though. You can find a sample error message from 
HylaFAX/ghostscript at the end of this mail.

My configuration:
Server side: SCO OpenServer 5.0.2
	HylaFAX v4.0pl1
	ghostscript 4.03

Client side: Windows NT Workstation 4.0
	MS Office 97
	WHFC 0.3e (dynamic)
	Printer driver used for WHFC: HP LaserJet 4/4M PS

---------------
Your facsimile job to xxxxxxxxx was not sent because document conversion to 
facsimile failed.  The output from the converter program was:
Unrecoverable error: ioerror in %image_file_continue
Unexpected interpreter error -12.
Error object: (f80)op(0)0x4e0b8
Execution stack at 0x43b844:
0x445acc: 0x0f oper-F---e-- 0x0000 0x000035c0 = %interp_exit 0x445ad4: 0x12 
str  --F-rxe-- 0x0000 0x00000000 = 0x445adc: 0x03 file-L-rxe-- 0x0001 
0x0044d104 0x445ae4: 0x0e null-F---e-- 0x0000 0x0000e1c0 0x445aec: 0x03 
file-S-rxe-- 0x0001 0x0044042c 0x445af4: 0x0f oper-F---e-- 0x0000 
0x0000e17c = %runexec_finish 0x445afc: 0x03 file-S-rxe-- 0x0001 0x0044042c 
0x445b04: 0x0e null-F---e-- 0x0000 0x0004e4b0 0x445b0c: 0x03 file -nS-rx--- 
0x0001 0x004adbd0 0x445b14: 0x0e null-F------ 0x0063 0x00046408 0x445b1c: 
0x0e null-F------ 0x0008 0x0058cbf4 0x445b24: 0x0e null-F------ 0x0000 
0x0000bb3c 0x445b2c: 0x0e null-F------ 0x0003 0x0058cc1c 0x445b34: 0x0e 
null-F------ 0x0003 0x0048b8e0 0x445b3c: 0x0e null-F------ 0x0000 
0x0003f1a4 0x445b44: 0x0e null-F------ 0x000c 0x0048c1c0 0x445b4c: 0x0b int 
 --F------ 0x0003 0x00000000 = 0 0x445b54: 0x0b int  --F------ 0x0003 
0x00000000 = 0 0x445b5c: 0x08 STRC-L------ 0x0000 0x0058e150 0x445b64: 0x05 
mpry-G-rxe-- 0x0039 0x0047bcb2 Dictionary stack at 0x43b8c4:
0x4462fc: 0x02 dict-Gwrx--- 0x0000 0x0044644c
0x446304: 0x02 dict-Gwrx--- 0x0000 0x0048b4c0
0x44630c: 0x02 dict-Lwrx--- 0x0000 0x0044b34c
0x446314: 0x02 dict-Lwrx--- 0x0000 0x0044d18c
0x44631c: 0x02 dict-Lwrx--- 0x0000 0x0058c0ac

Check any PostScript documents for non-standard fonts and invalid 
constructs.
---- Unsent job status ----
Destination: xxxxxxxxxxx
JobID: 262
GroupID: 262
Sender: xxxxx
Mailaddr: xxxxxxxx
Submitted From: xxxxx.dohle.com
Page Width: 194 (mm)
Page Length: 281 (mm)
Resolution: 196 (lpi)
Status: Unrecoverable error: ioerror in %image_file_continue
Unexpected interpreter error -12.
Error object: (f80)op(0)0x4e0b8
Execution stack at 0x43b844:
0x445acc: 0x0f oper-F---e-- 0x0000 0x000035c0 = %interp_exit 0x445ad4: 0x12 
str  --F-rxe-- 0x0000 0x00000000 = 0x445adc: 0x03 file-L-rxe-- 0x0001 
0x0044d104 0x445ae4: 0x0e null-F---e-- 0x0000 0x0000e1c0 0x445aec: 0x03 
file-S-rxe-- 0x0001 0x0044042c 0x445af4: 0x0f oper-F---e-- 0x0000 
0x0000e17c = %runexec_finish 0x445afc: 0x03 file-S-rxe-- 0x0001 0x0044042c 
0x445b04: 0x0e null-F---e-- 0x0000 0x0004e4b0 0x445b0c: 0x03 file -nS-rx--- 
0x0001 0x004adbd0 0x445b14: 0x0e null-F------ 0x0063 0x00046408 0x445b1c: 
0x0e null-F------ 0x0008 0x0058cbf4 0x445b24: 0x0e null-F------ 0x0000 
0x0000bb3c 0x445b2c: 0x0e null-F------ 0x0003 0x0058cc1c 0x445b34: 0x0e 
null-F------ 0x0003 0x0048b8e0 0x445b3c: 0x0e null-F------ 0x0000 
0x0003f1a4 0x445b44: 0x0e null-F------ 0x000c 0x0048c1c0 0x445b4c: 0x0b int 
 --F------ 0x0003 0x00000000 = 0 0x445b54: 0x0b int  --F------ 0x0003 
0x00000000 = 0 0x445b5c: 0x08 STRC-L------ 0x0000 0x0058e150 0x445b64: 0x05 
mpry-G-rxe-- 0x0039 0x0047bcb2 Dictionary stack at 0x43b8c4:
0x4462fc: 0x02 dict-Gwrx--- 0x0000 0x0044644c
0x446304: 0x02 dict-Gwrx--- 0x0000 0x0048b4c0
0x44630c: 0x02 dict-Lwrx--- 0x0000 0x0044b34c
0x446314: 0x02 dict-Lwrx--- 0x0000 0x0044d18c
0x44631c: 0x02 dict-Lwrx--- 0x0000 0x0058c0ac
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 ----
The following documents were submitted for transmission and are available 
on the server for reuse until they are automatically purged when this job 
is removed.  Documents may also be manually removed using the faxrm 
command; consult faxrm(1) for information.
Filename                 Size Type
docq/doc257.ps.262      54502 PostScript
--------------
--
Alexandre Meissonnier
Dohle Handelsgruppe Systemberatung GmbH
53719 Siegburg (Germany)
ameissonnier@dohle.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Tue, 8 Jul 1997 17:51:21 -0400 (EDT)
From: Nico Garcia <raoul@cirl.meei.harvard.edu>
To: Alexandre Meissonnier <ameissonnier@dohle.com>
Cc: "HylaFAX-Mailingliste (E-Mail)" <flexfax@sgi.com>
Subject: Re: sending complex word documents
Sender: owner-flexfax@celestial.com

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

On Tue, 8 Jul 1997, Alexandre Meissonnier wrote:

> I send a lot of faxes from my Windows NT workstation using WHFC. Most faxes 
> get through without problems. Only when I send a MS Word document that 
> contains an image (e.g. from a scanner, or a Postscript document/received 
> fax inserted into the word document), the conversion to postscript fails 
> when it reaches the image. The first page (usually a text-only cover page) 


> Client side: Windows NT Workstation 4.0
> 	MS Office 97
> 	WHFC 0.3e (dynamic)
> 	Printer driver used for WHFC: HP LaserJet 4/4M PS

This looks like your problem: I strongly suggest the Apple Laserwriter driver
instead of the LaserJet 4 one. The LaserJet 4 doesn't work well, even on a
LaserJet 4M printer.


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

iQCVAwUBM8K2RT/+ItycgIJRAQFqrwP8Dg9ICcDoKim1FesxNVnWY0xLsK+wj1im
6ZkpYDVV2RVTuujdSYbKY6JYvEVwFcjCf43vlqszuKK9HmeRS701wZnSvuSr+qNr
6O3o12hzty/vJZrnIzpB/TWGF1+PeLXTT7cgpJaYVWIVumvumYIwtiQU26i4s0te
v6BGXGnZ45U=
=DVov
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
From: "Luis Martin Rivera Fuentes" <callnow@ienlaces2.ienlaces.com.mx>
To: <flexfax@sgi.com>
Subject: Problem using Escape Codes in text document.
Date: Tue, 8 Jul 1997 20:53:44 -0600
X-MIME-Autoconverted: from 8bit to quoted-printable by ienlaces2.ienlaces.com.mx id UAA27244
Sender: owner-flexfax@celestial.com

  Hi!


    My configuration is the following:

    Operative System:  SCO UNIX 3.2v4.2 (ODT3.0)
    Modem:  Motorola Premier 33.6 desktop 68356 RAM sw Rev B 
    HylaFAX:  hylafax - v4.0pl1 - sco3.2v4.2-tar.gz (binary)
    GHOSTSCRIPT:  gs262 - sco3.2v4.2-tar.gz (binary)


    PROBLEM:

    I need to handle escape codes (\192, \179, \218, etc.)
    in my text document (FAX), but when I send the following
    instruction:

    sendfax - n - d 5640506 @@filetext

    the result is the following:

    filetext:  can not determine file type

    I try of making the conversion manually with the command
    textfmt and I did not had problems, but when use GS, I 
    send me the following message:

        60 Floating exception


    I dont know if it can be included in the documents these
    escape codes and appreciated if someone can help me.


          thanks


          Luis Martin Rivera


Telephone:
          voice - 2640702 
          fax - 5640506      

          In Mexico City.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Wed, 09 Jul 1997 08:30:31 +0200
From: Ulrich Eckhardt <uli@rgw-express.de>
Organization: RGW Express Airfreight GmbH
To: Aidan Van Dyk <aidan@magma.ca>
CC: Hylafax Mailing List <flexfax@sgi.com>
Subject: Re: Window HylaFAX Client and NT
Sender: owner-flexfax@celestial.com

Aidan Van Dyk wrote:
> 
> Hi.
> 
> I recently installed Windows NT on my compter, because I got tired or win95
> crashing.
> 
> But I can't figure out how to get NT to print to a file spool like in 95 so
> I can use whfc.
> 
> Am I missing some documentation somewhere?  How do I make NT print to a
> spool file?
> 
> Thanks

Hi,

enter the directory and spoolfile in the system dialog as in Win95.
WHFC should now add a printer port. Reboot NT.

When you add a printer, choose local printer. Then you should find
in the port settings a port directory/spoolfile . Connect your printer
to this port and now you can choose the fax printer feature.

Uli

PS: I know, i should make a better doku, but currently i am about to
    search a better working solution for the fax printer feature.
-- 
Ulrich Eckhardt		                   mailto:uli@rgw-express.de
http://people.frankfurt.netsurf.de/uli
Truly great madness can not be achieved without significant
intelligence. (Henrik Tikkanen)

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
From: Alexandre Meissonnier <ameissonnier@dohle.com>
To: "'Nico Garcia'" <raoul@cirl.meei.harvard.edu>
Cc: "HylaFAX-Mailingliste (E-Mail)" <flexfax@sgi.com>
Subject: RE: sending complex word documents
Date: Wed, 9 Jul 1997 08:48:42 +0200
Organization: Dohle Handelsgruppe Systemberatung GmbH
Sender: owner-flexfax@celestial.com



-----Original Message-----
From:	Nico Garcia [SMTP:raoul@cirl.meei.harvard.edu]
Sent:	Tuesday, July 08, 1997 11:51 PM
To:	Alexandre Meissonnier
Cc:	HylaFAX-Mailingliste (E-Mail)
Subject:	Re: sending complex word documents

> > 	Printer driver used for WHFC: HP LaserJet 4/4M PS

> This looks like your problem: I strongly suggest the Apple Laserwriter 
driver
> instead of the LaserJet 4 one. The LaserJet 4 doesn't work well, even on 
a
> LaserJet 4M printer.

I used the Apple Laserwriter driver when I first installed WHFC. It always 
complained about the margins of our company's cover page (the Word template 
we use to write faxes) - and skipped a centimeter of text on each side. 
Then I saw that the WHFC FAQ recommends the HP Laserjet 4M driver. This one 
worked without problems until I tried to send the first fax with an image 
in it.

Can anybody recommend any other printer drivers that work with WHFC? (Maybe 
different drivers for 95 and NT).

Thanks for any help,

	Alexandre
--
Alexandre Meissonnier
Dohle Handelsgruppe Systemberatung GmbH
53719 Siegburg (Germany)
ameissonnier@dohle.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Wed, 9 Jul 1997 09:54:35 -0700 (PDT)
From: Tim Rice <tim@trr.metro.NET>
To: Luis Martin Rivera Fuentes <callnow@ienlaces2.ienlaces.com.mx>
cc: flexfax@sgi.com
Subject: Re: Problem using Escape Codes in text document.
Sender: owner-flexfax@celestial.com

On Tue, 8 Jul 1997, Luis Martin Rivera Fuentes wrote:

>   Hi!
> 
> 
>     My configuration is the following:
> 
>     Operative System:  SCO UNIX 3.2v4.2 (ODT3.0)
>     Modem:  Motorola Premier 33.6 desktop 68356 RAM sw Rev B 
>     HylaFAX:  hylafax - v4.0pl1 - sco3.2v4.2-tar.gz (binary)
>     GHOSTSCRIPT:  gs262 - sco3.2v4.2-tar.gz (binary)
> 
> 
>     PROBLEM:
> 
>     I need to handle escape codes (\192, \179, \218, etc.)
>     in my text document (FAX), but when I send the following
>     instruction:
> 

Sendfax accepts text postscript or tif files.
With those codes in there it's not text.
Try sending your document through a postscript filter like epsonps.

ftp://ftp.uu.net/usenet/comp.sources.misc/volume20/epsonps/part01.Z
ftp://ftp.uu.net/usenet/comp.sources.misc/volume20/epsonps/part02.Z

>     sendfax - n - d 5640506 @@filetext
> 
>     the result is the following:
> 
>     filetext:  can not determine file type
> 
[snip]
>           Luis Martin Rivera
> 
> Telephone:
>           voice - 2640702 
>           fax - 5640506      
>           In Mexico City.
> 

--
Tim Rice			Multitalents	(707) 887-1469 (voice)
tim@trr.metro.net

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Wed, 9 Jul 1997 15:37:35 -0400 (EDT)
From: Julie Schwan <jschwan@xcom.stx.com>
To: flexfax@sgi.com
Subject: Re: Viewing received faxes
Sender: owner-flexfax@celestial.com

Hello Carsten,

Can you give me more details about this SuSEFax client
you wrote in Java?  Is it possible to tell me what exactly
it does, i.e., how it interfaces with HylaFAX and what
it's function(s) are?  Also, will it work on a Sun UNIX
Solaris OS?  Is it possible to send me a copy of the Java code?
I'm assuming it's propietary, so no worries if you cannot.
Thanks in advance.

Julie Schwan, HSTX
NASA Goddard Space Flight Center
X-ray Timing Explorer Project
(301) 441-4218

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Wed, 09 Jul 1997 16:26:26 -0500
From: Alexandre CARRAUSSE <acarrausse@fast.fr>
Organization: FAST Informatique
To: Carsten Hoeger <choeger@suse.de>
CC: flexfax@sgi.com
Subject: Re: Viewing received faxes
Sender: owner-flexfax@celestial.com

<x-html><HTML>
Carsten Hoeger wrote:
<BLOCKQUOTE TYPE=CITE>On Fri, 4 Jul 1997, Hans Christiansen wrote:

<P>> Hello
<BR>>
<BR>> Does anyone have, or know of, a suitable fax viewing program for
Windows95.
<BR>> I want to be able to easily look at faxes received and subsequently
<BR>> e-mailed to me.

<P>I wrote a HylaFAX client in Java, called SuSEFax, that'll be on our
newest
<BR>S.u.S.E. Linux distribution 5.0, that comes end of this week. It'll
also
<BR>be available via ftp.suse.com, soon. ( rpm-packed )

<P>Because it was written in Java, it runs also on Windows and on all the
<BR>other plattforms, a jdk is available for. (Testet on WinNT4.0)

<P>mfG,
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Carsten Hoeger
<BR>------
<BR>Carsten Hoeger&nbsp; - S.u.S.E. GmbH -&nbsp; Gebhardtstr. 2&nbsp; -&nbsp;
90762 Fuerth&nbsp; -&nbsp; Germany
<BR>fax +49-911-3206727&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web <A HREF="http://www.suse.de">http://www.suse.de</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
mailbox +49-911-3247122
<BR>&lt;A HREF="<A HREF="http://www.suse.de/~bb/rc5.html">http://www.suse.de/~bb/rc5.html</A>">
Macht mit beim rc5-challenge!&lt;/A></BLOCKQUOTE>
&nbsp;Please would you be more accurate on where can be find SuSEFax on
your ftp site
<BR>(ftp.suse.com).

<P>Thanks
<PRE>
--&nbsp;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alexandre CARRAUSSE - Stagiaire DSI
FAST INFORMATIQUE - 51, Av. de Cornebarrieu - 31700 BLAGNAC cedex - FRANCE
Tel: +33.6.09.72.22.83&nbsp; -&nbsp; Fax: +33.5.61.71.03.04
<A HREF="mailto:acarrausse@fast.fr">mailto:acarrausse@fast.fr</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://www.siera.ups-tlse.fr/~carrauss">http://www.siera.ups-tlse.fr/~carrauss</A>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</PRE>
</HTML>

</x-html>
Date: Wed, 09 Jul 1997 16:46:03 -0500
From: Tim Kirtley <kirt@internetmci.com>
Subject: CONVERT DOCUMENT problem
To: flexfax@sgi.com
Reply-to: kirt@internetmci.com
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Sender: owner-flexfax@celestial.com

I am running hylafax 4.0 and ghostscript 4.03.  I get the following
error when attemping to send a fax.  Paging works OK.

Jul  9 16:30:57 pa1cpu09 HylaFAX[21347]: Filesystem has SysV-style file
creation
 semantics.
Jul  9 16:30:57 pa1cpu09 FaxQueuer[20120]: SUBMIT JOB 4
Jul  9 16:30:57 pa1cpu09 FaxQueuer[21351]: JOB 4: CONVERT DOCUMENT: exit
status 0xff00
Jul  9 16:30:57 pa1cpu09 FaxQueuer[20120]: NOTIFY: bin/notify "doneq/q4"
"no_formatter" ""

OS is Linux 2.0.27

What gives ?

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Wed, 09 Jul 1997 18:07:12 -0400 (EDT)
From: Patrick Gardella <patrick@cre8tivegroup.com>
To: flexfax@celestial.com
Subject: Email to fax gateway
Sender: owner-flexfax@celestial.com

Hello,

I am in a big bind.  I need to find a software that will give me email to fax.  
I want to be able to send an email from anywhere in the country to a computer 
setup as a fax server.  Can HylaFAX do this?  It seems like it should be able
to.

I've got hylafax installed (4.0pl1) on FreeBSD 2.2.1 with MultiModem ZDX2834 
modem.

I'd appreciate any pointers or help.  I'm desperate!!

Patrick

P.S.  I checked the web page and the email archives.  I saw the sendmail config,
 but if it goes to pat@1234567.fax, how can I get it to the server?

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Wed, 9 Jul 1997 21:22:39 -0400 (EDT)
From: Nico Garcia <raoul@cirl.meei.harvard.edu>
To: Tim Kirtley <kirt@internetmci.com>
Cc: flexfax@sgi.com
Subject: Re: CONVERT DOCUMENT problem
Sender: owner-flexfax@celestial.com

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

On Wed, 9 Jul 1997, Tim Kirtley wrote:

> I am running hylafax 4.0 and ghostscript 4.03.  I get the following
> error when attemping to send a fax.  Paging works OK.
> 
> Jul  9 16:30:57 pa1cpu09 HylaFAX[21347]: Filesystem has SysV-style file
> creation
>  semantics.
> Jul  9 16:30:57 pa1cpu09 FaxQueuer[20120]: SUBMIT JOB 4
> Jul  9 16:30:57 pa1cpu09 FaxQueuer[21351]: JOB 4: CONVERT DOCUMENT: exit
> status 0xff00
> Jul  9 16:30:57 pa1cpu09 FaxQueuer[20120]: NOTIFY: bin/notify "doneq/q4"
> "no_formatter" ""
> 
> OS is Linux 2.0.27
> 
> What gives ?

Make sure that HylaFAX and ghostscript agree on where the fonts live:
different Linuxes and installations have different ideas about this.

Also: take the text and run "ps2fax" on it from the HylaFAX $SPOOLDIR
(read your man pages to see where that is for your installation).

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

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

iQCVAwUBM8Q5Vz/+ItycgIJRAQGuygQAmxsGeAV4FuZLSTwwzyIGdfyNGuJd2wEI
q/ZIyFqf8f0+v/qdKtSOjMkJPW1/DS/G4zlSqyWPt2x4qt3VaJ9Gbp6eZG2t4UVE
BI2ZrbGjYZ5xQKAZmNt7p1nUl4c6XGNpNhAy0BI7EMxPoz28WVKX+lkF3zyrdmzT
5EGyAkxDEe4=
=OjHj
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Thu, 10 Jul 1997 09:15:41 +0100 (WET DST)
From: "D. Pardo" <>
To: Tim Rice <tim@trr.metro.NET>
cc: Luis Martin Rivera Fuentes <callnow@ienlaces2.ienlaces.com.mx>,
        flexfax@sgi.com
Subject: Re: Problem using Escape Codes in text document.
Sender: owner-flexfax@celestial.com


 
> >     I need to handle escape codes (\192, \179, \218, etc.)
> >     in my text document (FAX), but when I send the following
> >     instruction:
> > 
> 
> Sendfax accepts text postscript or tif files.
> With those codes in there it's not text.
> Try sending your document through a postscript filter like epsonps.
> 
> ftp://ftp.uu.net/usenet/comp.sources.misc/volume20/epsonps/part01.Z
> ftp://ftp.uu.net/usenet/comp.sources.misc/volume20/epsonps/part02.Z
> 

 Mmm, I'm with the same problem, but I've got an Apple LaserWriter 600...
We use a Cobol program that sends ascii data+ escape characters to the
printer.. Where can we get those filters?
 

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
From: Guenther Koegebehn <sdmgk@sdmag.com>
To: dburr@poboxes.com, flexfax@sgi.com
Subject: Re: best Win95 printer driver to use with WHFC?
Date: Thu, 10 Jul 97 10:34:16 METDST
Sender: owner-flexfax@celestial.com


We have found the AST driver to work excellent.

Guenther Koegebehn
sdmgk@sdmag.com

Donald Burr <dburr@voyager.starfleet.gov>:
>Reply-To: dburr@POBoxes.com
>
>What's the best postscript printer driver to use with WHFC?  There are many
>to choose from -- about 12 varieties of Apple LaserWriter, many for HP
>printers, etc.  Which is the best, though, in terms of generating postscript
>that GS can parse properly?  Please e-mail replies to me if possible.
>Thanks!

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
X-Authentication-Warning: voyager.starfleet.gov: dburr owned process doing -bs
Date: Thu, 10 Jul 1997 02:41:33 -0700 (PDT)
From: Donald Burr <dburr@POBoxes.com>
To: freebsd-questions@freebsd.org, flexfax@sgi.com
Subject: Problems setting HylaFAX 4.0pl1 mail2fax gateway on FreeBSD 2.2.2
Sender: owner-flexfax@celestial.com

I'm not sure if this is a problem with Hylafax or FreeBSD, this is why I'm
posting to both lists.  (Very sorry about this)

My setup is a stock FreeBSD 2.2.2-RELEASE system.  The version of sendmail
included in this distribution is 8.8.5.  I am using HylaFAX 4.0pl1.

I'm trying to set up the mail2fax gateway on HylaFAX.  I am using the
script as given in the HylaFAQ (Q6.1: "Where to find mailfax.sh for
sendmail?")  I have this script installed in /usr/local/lib/fax/mailfax,
as instructed, and have added the "MAILER(fax)" construct to my sendmail
.mc file.  I rebuilt my sendmail.cf, installed it, and restarted sendmail.

However, when I send a test fax of the form "[someone]@[phonenumber.fax" I
get the error "Cannot exec /usr/local/lib/fax/mailfax: Exec format error"
The script is indeed in that directory, and is executable, and has the
proper "#!/bin/sh" as the first line.  I tried chown'ing it to various
users and groups (root, daemon, wheel, etc.) and trying different
permissions on the file, in case it is some security thing, but nothing
works.

Here is an example mail session:

[dburr@voyager:117]% mail -v dburr@18004925954.fax
Subject: test
test
.
Cc: 
dburr@18004925954.fax... Connecting to 18004925954 via fax...
Cannot exec /usr/local/lib/fax/mailfax: Exec format error
dburr@18004925954.fax... Service unavailable
/home/dburr/dead.letter... Saved message in /home/dburr/dead.letter

Can anyone shed some light on this?  Please e-mail if possible.  Thanks!

Donald Burr <dburr@POBoxes.com> - Ask me for my PGP key | PGP: Your
WWW HomePage: http://DonaldBurr.base.org/  ICQ #1347455 | right to
Address: P.O. Box 91212, Santa Barbara, CA 93190-1212   | 'Net privacy.
Phone: (805) 564-1871    FAX: (800) 492-5954            | USE IT.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Thu, 10 Jul 1997 10:53:22 +0000
To: HylaFAX <flexfax@sgi.com>
From: Phil Watkinson <pkw@elgro.co.uk>
Subject: Re: Email to fax gateway
Cc: Patrick Gardella <patrick@cre8tivegroup.com>
Sender: owner-flexfax@celestial.com

At 06:07 PM 7/9/97 -0400, Patrick Gardella <patrick@cre8tivegroup.com> wrote:
>Hello,
>
>I am in a big bind.  I need to find a software that will give me email to
fax.  
>I want to be able to send an email from anywhere in the country to a
computer 
>setup as a fax server.  Can HylaFAX do this?  It seems like it should be able
>to....

How about something like procmail? It will filter incoming mail, and then
direct a message with a specified address - say fax@aserver.com  - onto
HylaFAX.

The procmail recipe may be on the lines of :-
	:0:
	* ^To.*fax@aserver.com
	| /usr/local/bin/faxmail -v -n -d.....

Aagh, just realized the problem - where would faxmail get the destination
phone number from ?? Perhaps it could be part of the mail address and 
procmail could parse it out... but this is getting very clever and well
beyond my capabilities. 

If you think this maybe worth further investigation, there is a listserver
at :
	procmail-d-request@informatik.rwth.aachen.de

As usual, you send an email to the above with the word 'subscribe' as the
subject to join the list.

Good luck!
Cheers,
Phil Watkinson,
Boston, UK.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
To: flexfax@sgi.com
Subject: Scaling with USR Courier
X-Organisation: Fujitsu Telecommunications Europe Ltd
X-PGP: KeyID: A3DC8BED; Fingerprint: 7AED0423 380298C4 98314FD9 93CC0901
Date: Thu, 10 Jul 1997 13:31:00 +0100
From: Ian G Batten <I.G.Batten@ftel.co.uk>
Sender: owner-flexfax@celestial.com

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


After a long lay-off from fax software, I've installed the
binary distribution of 4.0pl1 on a Sun running Solaris 2.6
Beta with a USR Courier modem (yes, I know they're poor, but
I've got ten of them lying around spare).

Outbound works fine.  However, inbound faxes appear to be
stretched horizontally.  When displayed, the tag line is the
correct aspect ratio, but the contents of the fax are made
abour 2x wider.  Image Magic ``display'' says this:

mungo:/u/igb 13:19:09 (1168)
$ display fax00007.tif 
display: fax00007.tif: unknown field with tag 34908 (0x885c) ignored..
display: fax00007.tif: unknown field with tag 34910 (0x885e) ignored..

and xv says something very similar.

Should I try better modems?  Or what?

ian

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQB1AwUBM8TV+8oy0yij3IvtAQHElwL/TCLJhtq8Ou1KTDmh93MKy69GwnnzHu/6
L5KnowHDDXkbzTotO1NSKMoQ9XebaUVusBzt1GOYYmhLUFUCckKT1aKIaN9rkInj
RUXiNZwkTrr7KJ2x8YpItoKxvvqKy0DN
=3BUS
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Thu, 10 Jul 1997 13:07:16 +0000
To: HylaFAX <flexfax@sgi.com>
From: Phil Watkinson <pkw@elgro.co.uk>
Subject: Re: Problems setting HylaFAX 4.0pl1 mail2fax gateway on
  FreeBSD 2.2.2
Cc: Donald Burr <dburr@poboxes.com>
Sender: owner-flexfax@celestial.com

At 02:41 AM 7/10/97 -0700, Donald Burr <dburr@POBoxes.com> wrote:
>[snip]
>Here is an example mail session:
>
>[dburr@voyager:117]% mail -v dburr@18004925954.fax
>Subject: test
>test
>.
>Cc: 
>dburr@18004925954.fax... Connecting to 18004925954 via fax...
>Cannot exec /usr/local/lib/fax/mailfax: Exec format error
>dburr@18004925954.fax... Service unavailable
>/home/dburr/dead.letter... Saved message in /home/dburr/dead.letter
>
>Can anyone shed some light on this?  Please e-mail if possible.  Thanks!
>[snip]

My mailfax script currently looks like this :-

#! /bin/sh
#
#  mailfax - email to fax gateway for sendmail
#
#  This file should be installed as /usr/local/lib/fax/mailfax
#
/usr/local/bin/faxmail -v -n -p 11 \
        -Ml=0.75in,t=2.00in -d "$1@$2" "$3" 2>>/var/log/faxlog

I was having problems with the '-s a4' parameter apparently chopping off
the top 1 inch of the fax, so that went.
Altho' the script is owned by root/root; it has 555 permissions. I also
orginally had problems getting it running - it turned out to be the 
permissions on the faxlog file - increasing them to 666 did the trick.

Hope this has been of some help,

Cheers,
Phil Watkinson,
Boston, UK.

From stanb@netcom.com  Wed Feb 17 13:55:24 1999
Subject: Re: Email to fax gatewayy
To: pkw@elgro.co.uk (Phil Watkinson)
Date: Thu, 10 Jul 1997 10:06:32 -0400 (EDT)
From: "Stan Brown" <stanb@netcom.com>

>
>At 06:07 PM 7/9/97 -0400, Patrick Gardella <patrick@cre8tivegroup.com> wrote:
>>Hello,
>>
>>I am in a big bind.  I need to find a software that will give me email to
>fax.  
>>I want to be able to send an email from anywhere in the country to a
>computer 
>>setup as a fax server.  Can HylaFAX do this?  It seems like it should be able
>>to....
>
>How about something like procmail? It will filter incoming mail, and then
>direct a message with a specified address - say fax@aserver.com  - onto
>HylaFAX.
>
>The procmail recipe may be on the lines of :-
>	:0:
>	* ^To.*fax@aserver.com
>	| /usr/local/bin/faxmail -v -n -d.....
>
>Aagh, just realized the problem - where would faxmail get the destination
>phone number from ?? Perhaps it could be part of the mail address and 
>procmail could parse it out... but this is getting very clever and well
>beyond my capabilities. 
>

	procmail is probably the perfect solutin to this. You would need to
	either add a new header with the phone number IE

	Fax-Number: 555-1212

	or you could put it in the body if you could find a unique enough
	string to match with a regular expression.

-- 
Stan Brown     stanb@netcom.com                                    404-996-6955
Factory Automation Systems
Atlanta Ga.
-- 
Look, look, see Windows 95.  Buy, lemmings, buy!   
Pay no attention to that cliff ahead...            Henry Spencer
(c) 1997 Stan Brown.  Redistribution via the Microsoft Network is prohibited.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
From: fernande@mr.med.ge.com (Gabriel Fernandez 4-6518)
Date: Thu, 10 Jul 1997 09:06:37 -0500
To: flexfax@sgi.com
Subject: Re: Problem using Escape Codes in text document.
Cc: Luis Martin Rivera Fuentes <callnow@ienlaces2.ienlaces.com.mx>,
        Tim Rice <tim@trr.metro.NET>
Sender: owner-flexfax@celestial.com

Hi y'all:

   I think it would be a good idea to send the ASCII document through an ASCII
to PS filter before sending it to HylaFAX.

   The programs a2ps and lptops are good options. Also there are other graphics
filters that might do the job as well. For instance, fromascii followed by
tops, or asciitopbm followed by pbmtops.

   I would stick with an ASCII to PS filter, though.

   I hope this helps. Good luck,

	Gabriel

> > >     I need to handle escape codes (\192, \179, \218, etc.)
> > >     in my text document (FAX), but when I send the following
> > >     instruction:
> > >
> >
> > Sendfax accepts text postscript or tif files.
> > With those codes in there it's not text.
> > Try sending your document through a postscript filter like epsonps.
> >
> > ftp://ftp.uu.net/usenet/comp.sources.misc/volume20/epsonps/part01.Z
> > ftp://ftp.uu.net/usenet/comp.sources.misc/volume20/epsonps/part02.Z
> >
>
>  Mmm, I'm with the same problem, but I've got an Apple LaserWriter 600...
> We use a Cobol program that sends ascii data+ escape characters to the
> printer.. Where can we get those filters?



-- 
+-----------------------+----------------------------------------+
| Gabriel Fernandez     |                                        |
| PSD Design Engineer   |                    Phone: 414-521-6518 |
| GE Medical Systems    |                      Fax: 414-521-6081 |
| P.O. Box 414, W-827   |                    Pager: 414-318-6798 |
| Milwaukee, WI 53201   | Internet: Gabriel.Fernandez@med.ge.com |
+-----------------------+----------------------------------------+

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzOLJDQAAAEEAJgsT4/UWezcToWqe/fGEfV3mlFMW/qk+1IK81CIJjf7WrVg
7OIyw5FuJ6ZbyS0W4kRC9NStmBXtAFFGHYUreMunZb/E/xM6pYk3BZp9hbsnWKPr
rfC9aphZtIhhUEkeX2zlnYRIOGjd7ekN9Bngj39F2xr4GYtVV4WuRmRElfT1AAUR
tDBHYWJyaWVsIEZlcm5hbmRleiA8R2FicmllbC5GZXJuYW5kZXpAbWVkLmdlLmNv
bT4=
=SrYr
-----END PGP PUBLIC KEY BLOCK-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Thu, 10 Jul 1997 13:41:10 -0700 (PDT)
From: Tim Rice <tim@trr.metro.NET>
To: Gabriel Fernandez 4-6518 <fernande@mr.med.ge.com>
cc: flexfax@sgi.com,
        Luis Martin Rivera Fuentes <callnow@ienlaces2.ienlaces.com.mx>
Subject: Re: Problem using Escape Codes in text document.
Sender: owner-flexfax@celestial.com


On Thu, 10 Jul 1997, Gabriel Fernandez 4-6518 wrote:

> Hi y'all:
> 
>    I think it would be a good idea to send the ASCII document through an ASCII
> to PS filter before sending it to HylaFAX.
> 
>    The programs a2ps and lptops are good options. Also there are other graphics
> filters that might do the job as well. For instance, fromascii followed by
> tops, or asciitopbm followed by pbmtops.
> 
>    I would stick with an ASCII to PS filter, though.
> 
>    I hope this helps. Good luck,
> 
> 	Gabriel
> 
> > > >     I need to handle escape codes (\192, \179, \218, etc.)
> > > >     in my text document (FAX), but when I send the following
> > > >     instruction:
> > > >
> > >
> > > Sendfax accepts text postscript or tif files.
> > > With those codes in there it's not text.
> > > Try sending your document through a postscript filter like epsonps.

In case it was not clear, the epsonps filter I recomendended is a
ASCII to Postscript filter and it handles the IBM character set.

> > >
> > > ftp://ftp.uu.net/usenet/comp.sources.misc/volume20/epsonps/part01.Z
> > > ftp://ftp.uu.net/usenet/comp.sources.misc/volume20/epsonps/part02.Z
> > >
> >
> >  Mmm, I'm with the same problem, but I've got an Apple LaserWriter 600...
> > We use a Cobol program that sends ascii data+ escape characters to the
> > printer.. Where can we get those filters?
> 
> 
> 
> -- 
> +-----------------------+----------------------------------------+
> | Gabriel Fernandez     |                                        |
> | PSD Design Engineer   |                    Phone: 414-521-6518 |
> | GE Medical Systems    |                      Fax: 414-521-6081 |
> | P.O. Box 414, W-827   |                    Pager: 414-318-6798 |
> | Milwaukee, WI 53201   | Internet: Gabriel.Fernandez@med.ge.com |
> +-----------------------+----------------------------------------+
> 
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: 2.6.2
> 
> mQCNAzOLJDQAAAEEAJgsT4/UWezcToWqe/fGEfV3mlFMW/qk+1IK81CIJjf7WrVg
> 7OIyw5FuJ6ZbyS0W4kRC9NStmBXtAFFGHYUreMunZb/E/xM6pYk3BZp9hbsnWKPr
> rfC9aphZtIhhUEkeX2zlnYRIOGjd7ekN9Bngj39F2xr4GYtVV4WuRmRElfT1AAUR
> tDBHYWJyaWVsIEZlcm5hbmRleiA8R2FicmllbC5GZXJuYW5kZXpAbWVkLmdlLmNv
> bT4=
> =SrYr
> -----END PGP PUBLIC KEY BLOCK-----
> 

--
Tim Rice			Multitalents	(707) 887-1469 (voice)
tim@trr.metro.net

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Fri, 11 Jul 1997 08:59:09 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Gavin Cameron <gavin@ormond.unimelb.edu.au>
cc: flexfax@sgi.com
Subject: Re: Help needed with hylafax v4.0pl1
Sender: owner-flexfax@celestial.com

On Fri, 11 Jul 1997, Gavin Cameron wrote:

> Hi there,
>
> I've been hitting my head against a brick wall for the last 2 days trying
> to get hylavax v4.0pl1 receiving faxes under FreeBSD 2.2.2.
>
> In the last couple of days I've sent myself nearly 30 faxes of which only
> about 2 or 3 have come anywhere near being received properly. I've been send
> faxes via TPC email to fax gateway. All faxes are supposed to be 2 pages
> long but the 2 or 3 that were received without errors only contained 1
> pages!?!
>

Try adding the following to your config.cuaa1:

    # 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 & flow control

--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Fri, 11 Jul 1997 09:03:14 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Stefan Linden <stefan@alcom.aland.fi>
cc: flexfax@sgi.com
Subject: Re: HELP building v4.0pl1 on Solaris 2.5
Sender: owner-flexfax@celestial.com

On Wed, 9 Jul 1997, Stefan Linden wrote:

[snip]
> Missing C++ runtime support for gcc (/opt/FSFgcc/bin/gcc).
>  
> Compilation of the following test program failed:
>  
> ----------------------------------------------------------
> #include "new.h"
> int main(){ int* a = new int; *a = 0; delete a; return 0;}

I take it that you have tried compiling this small program by hand?
If *that* works, try looking at the config.log file to see just what
commands are being used when it's attempting to test for C++ support.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Fri, 11 Jul 1997 09:08:16 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Julie Schwan <jschwan@xcom.stx.com>
cc: flexfax@sgi.com
Subject: Re: HylaFAX as a Pager?
Sender: owner-flexfax@celestial.com

On Wed, 9 Jul 1997, Julie Schwan wrote:

[snip]
> My question is, what can HylaFAX do to interface my C++/C paging
> program to the actual modem/phone?  I have the GUI (graphical
> user interface) with it's alarm message, I have a program that
> reads this alarm message and stores it in some kind of dynamic
> file, I have another program which sends this message to an
> alphanumeric pager via our Rolm phone line, and then I have
> to have another program that can receive a pager call to shut
> off the alarm remotely.  This is all still very much in the
> design phase, but I want to make sure I'm going about this in
> the right way before designing something for the wrong paging
> software.  And that is what I intended to use HylaFAX for:
> to receive alarm messages, process them, and send them to the
> modem with an embedded message for the alphanumeric pager.
> Can it be done?

Yes. :-)

If I understand you correctly, all you need to do is to get your
`alarm-reader' to invoke sendpage(1); and HylaFAX will take care of
the rest.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
To: Aidan Van Dyk <aidan@magma.ca>
Cc: "D. Pardo" <dani@minerva.enpl.es>, Hylafax Mailing List <flexfax@sgi.com>
Subject: Re: Solaris SAC and faxgetty conflict 
Date: Thu, 10 Jul 1997 23:41:12 +0100
From: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
Sender: owner-flexfax@celestial.com

>>>>> On Thu, 10 Jul 1997, "AVD" == Aidan Van Dyk wrote:

  AVD> At 04:53 PM 7/10/97 +0100, you wrote:

  +> Hi, I'm running Hylafax 4.0pl1 under Sun Solaris 2.5.1. The "problem"
  +> is that this Sun also gets the company e-mail via uucp and answers data
  +> calls with the SAC (service acces controller). Hylafax is installed
  +> for sending only.. but it seems that hylafax doesn't work ok without
  +> faxgetty (If faxgetty isn't there, jobs in the queue don't get sent,
  +> even having the scheduler and the server running). BTW I've got a
  +> Supfrafax modem.  If I have faxgetty running, the modem lays in OK, and
  +> SAC won't answer data calls, but I'll be able to send faxes..  If I
  +> don't have faxgetty running, the modem lays in AA (autoanswer?), faxes
  +> will stay in the queue and probably never sent, but I'll be able to get
  +> data calls..  I like the way faxgetty works, And it seems it can also
  +> handle data calls some way.. Has anyone done this? (reciving data calls
  +> with faxgetty running under solaris?)  TIA

  AVD> You don't need faxgetty running.  If you want a send only environment
  AVD> (like me) you don't use faxgetty, but rather initialize each modem
  AVD> you are useing using "faxmodem device".  This initializes the faxq to
  AVD> use the modem without faxgetty.

Errr, not quite true Aidan ;-)  I realise the html docs are a bit 
contradictory on this issue, but according to faxq(8c):

       faxq  may  be  run by itself to provide outbound-only ser-
       vices  or  it  may  be  run  together  with  one  or  more
       faxgetty(8C)  processes,  in  which  case inbound services
       (e.g. receiving facsimile) are provided.  When faxq is run
       by  itself  the  set of available modems must be specified
       using the faxmodem(8C) command.  Each modem  specified  in
       this way is assumed to exist and to be capable of use as a
       facsimile modem.  When faxq is  run  in  conjunction  with
       faxgetty processes, it is not necessary to use faxmodem to
       specify modems; instead the programs communicate  informa-
       tion about the status and capabilities of each modem.  The
       latter setup provides a more robust  and  powerful  system
       and is the intended way for the software to operate.

That's the gospel, honest guv.

-DPN




Attachment Converted: "c:\program files\eudora\attach\Re Solaris SAC and faxgetty co"

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
From: jimtoro@hoflink.com
Date: Thu, 10 Jul 1997 19:48:41 -0400 (EDT)
Reply-To: jimtoro@hoflink.com
To: flexfax@sgi.com
Subject: localhost
Sender: owner-flexfax@celestial.com

Got hylafax v4.0pl1 under bsdi 2.1, compiled the source.

Trying to do a "sendfax -d 5551212 /path/filename"
Real number and file name entered of course
and I get a error:
"localhost: unknown host"

Nothing more comes from this, just the above. I have /etc/hosts
and /var/spool/fax/etc/hosts with the 127.0.0.1 and localhost
entries so I dont think thats the problem.

Any ideas?

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Thu, 10 Jul 1997 17:59:58 -0700 (PDT)
From: Anthony Talltree <aad@nwnet.net>
To: flexfax@sgi.com
Subject: Re: HylaFAX as a Pager?
Sender: owner-flexfax@celestial.com

>If I understand you correctly, all you need to do is to get your
>`alarm-reader' to invoke sendpage(1); and HylaFAX will take care of
>the rest.

Modulo the fact that HylaFAX won't automatically fragment long pages, so
chances are that if you send a message more than ~150 chars it will fail.

The standalone sendpage 7a will fragment on the fly.  I was rather
disappointed to find that HylaFAX can't.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Fri, 11 Jul 1997 16:46:59 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: jimtoro@hoflink.com
cc: flexfax@sgi.com
Subject: Re: localhost
Sender: owner-flexfax@celestial.com

On Thu, 10 Jul 1997 jimtoro@hoflink.com wrote:

> Got hylafax v4.0pl1 under bsdi 2.1, compiled the source.
> 
> Trying to do a "sendfax -d 5551212 /path/filename"
> Real number and file name entered of course
> and I get a error:
> "localhost: unknown host"
> 
> Nothing more comes from this, just the above. I have /etc/hosts
> and /var/spool/fax/etc/hosts with the 127.0.0.1 and localhost
> entries so I dont think thats the problem.

Try "sendfax -v -v -d 5551212 /path/filename" for possible hints on
what could be wrong.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
From: tom@tomqnx.com (Tom Torrance at home)
Subject: Re: Didn't find the latest winflex
To: uri@harmonic.co.il
Date: Fri, 11 Jul 1997 02:52:15 -0400 (EDT)
Cc: acarrausse@fast.fr, hgeorges@oasis.on.ca, flexfax@sgi.com
Sender: owner-flexfax@celestial.com

You can find it in the same relative location on www.progressive-systems.com

Regards,
Tom 

> Alexandre CARRAUSSE wrote:
> 
> >
> >
> > Hello Georgia,
> >
> > I gone to the link: ftp://ftp.morningstar.com
> > but I didn't find the directory /pub/tools/windows.
> >
> > Are you sure it is the good address?
> >
> > I'm interested  in the latest winflex.
> >
> > Thanks in advance.
> >
> >   Alex
> >
> > --
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Alexandre CARRAUSSE - Stagiaire DSI
> > FAST INFORMATIQUE - 51, Av. de Cornebarrieu - 31700 BLAGNAC cedex - FRANCE
> > Tel: +33.6.09.72.22.83  -  Fax: +33.5.61.71.03.04
> > mailto:acarrausse@fast.fr           http://www.siera.ups-tlse.fr/~carrauss
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> 
> I need it too...
> 
> Regards,
> 
> --
> ***************************************
> * Uri Shkolnik - System Administrator *
> * Harmonic Lightwaves  (Israel)       *
> * Email: uri@harmonic.co.il           *
> * Tel: (972) 6 6230150  Fax: ~6230151 *
> ***************************************
> 

[text/html is unsupported, treating like TEXT/PLAIN]

> <HTML>
> Alexandre CARRAUSSE wrote:
> <BLOCKQUOTE TYPE=CITE>&nbsp;
> 
> <P>Hello Georgia,
> 
> <P>I gone to the link: <A HREF="ftp://ftp.morningstar.com">ftp://ftp.morningstar.com</A>
> <BR>but I didn't find the directory /pub/tools/windows.
> 
> <P>Are you sure it is the good address?
> 
> <P>I'm interested&nbsp; in the latest winflex.
> 
> <P>Thanks in advance.
> 
> <P>&nbsp; Alex
> <PRE>--&nbsp;
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Alexandre CARRAUSSE - Stagiaire DSI
> FAST INFORMATIQUE - 51, Av. de Cornebarrieu - 31700 BLAGNAC cedex - FRANCE
> Tel: +33.6.09.72.22.83&nbsp; -&nbsp; Fax: +33.5.61.71.03.04
> <A HREF="mailto:acarrausse@fast.fr">mailto:acarrausse@fast.fr</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://www.siera.ups-tlse.fr/~carrauss">http://www.siera.ups-tlse.fr/~carrauss
> </A>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</PRE>
> </BLOCKQUOTE>
> &nbsp;
> <BR>I need it too...
> 
> <P>Regards,
> 
> <P>--
> <BR>***************************************
> <BR>* Uri Shkolnik - System Administrator *
> <BR>* Harmonic Lightwaves&nbsp; (Israel)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> *
> <BR>* Email: uri@harmonic.co.il&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> *
> <BR>* Tel: (972) 6 6230150&nbsp; Fax: ~6230151 *
> <BR>***************************************
> <BR>&nbsp;</HTML>

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
From: tom@tomqnx.com (Tom Torrance at home)
Subject: Re: Email to fax gateway
To: pkw@elgro.co.uk (Phil Watkinson)
Date: Fri, 11 Jul 1997 03:02:56 -0400 (EDT)
Cc: flexfax@sgi.com, patrick@cre8tivegroup.com
Sender: owner-flexfax@celestial.com

Hylafax V4.x supports this for servers running sendmail. Smail has problems.
qmail is not supported yet.

> At 06:07 PM 7/9/97 -0400, Patrick Gardella <patrick@cre8tivegroup.com> wrote:
> >Hello,
> >
> >I am in a big bind.  I need to find a software that will give me email to
> fax.  
> >I want to be able to send an email from anywhere in the country to a
> computer 
> >setup as a fax server.  Can HylaFAX do this?  It seems like it should be able
> >to....
> 
> How about something like procmail? It will filter incoming mail, and then
> direct a message with a specified address - say fax@aserver.com  - onto
> HylaFAX.
> 
> The procmail recipe may be on the lines of :-
> 	:0:
> 	* ^To.*fax@aserver.com
> 	| /usr/local/bin/faxmail -v -n -d.....
> 
> Aagh, just realized the problem - where would faxmail get the destination
> phone number from ?? Perhaps it could be part of the mail address and 
> procmail could parse it out... but this is getting very clever and well
> beyond my capabilities. 
> 
> If you think this maybe worth further investigation, there is a listserver
> at :
> 	procmail-d-request@informatik.rwth.aachen.de
> 
> As usual, you send an email to the above with the word 'subscribe' as the
> subject to join the list.
> 
> Good luck!
> Cheers,
> Phil Watkinson,
> Boston, UK.
> 
> 

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Fri, 11 Jul 1997 10:45:14 +0300
From: Uri Shkolnik <uri@harmonic.co.il>
Reply-To: uri@harmonic.co.il
Organization: Harmonic Lightwaves
To: Hylafax mailing list <flexfax@sgi.com>
Subject: hfaxd - third Email without response
Sender: owner-flexfax@celestial.com

Hi,

This is the third time I am asking information about hfaxd, ANY
information.


My fomer two Emails to this mailing list remained without even one
response...

Anybody?

Any information would be good.

--
***************************************
* Uri Shkolnik - System Administrator *
* Harmonic Lightwaves  (Israel)       *
* Email: uri@harmonic.co.il           *
* Tel: (972) 6 6230150  Fax: ~6230151 *
***************************************

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
X-MAPI-MessageClass: IPM
To: flexfax@sgi.com
From: Hannu Virtanen <hkv@aliisa.ipso.fi>
Subject: HylaFAX version 4 problems
Date: Fri, 11 Jul 1997 11:06:48 +0300
Sender: owner-flexfax@celestial.com

Hello,
I am running HylaFAX under IRIX 5.3 in SGI Indy R5000. My modems are Nokia ECM FAST SW 28800 FAX CLASS 2 (TIA/EIA SP-2388) NTC REV 4.01 and  USRobotics Sportster Voice 33600 Fax Rev, 2.0 firmware 3361/EF95. I had HylaFAX Version 3.0pl0113 working with Nokia modem.
Now i am  changing to HylaFAX Version 4.0pl1 and either of modems are working. The Nokia modem, which worked with v3 newer get connected to my FAX machine like this:
FaxSend  says every time SEND FAILED: No carrier detected.
I have tryied to raise NoCarrierRetrys, but it has not helped. I want also change modem to USR(or some else, which is workigng with HylaFAX v4, is there any). USR does not even get over the initialization:
FaxGetty says every time MODEM <Timeout>, /dev/ttyf2: Can not initialize modem.
I have tryied to raise ModemResetDelay, but it not the time. Both modems are working well with programs like cu and PPP. I do not know what to do or forget HylaFAX.
Needing help

Hannu Virtanen
Consulting Engineers
Poysala & Sandberg Oy	Tel.	+358-9-643107
Hietalahdenkatu 8		Fax:	+358-9-643174
FIN-00180 HELSINKI		E-Mail:	hkv@ipso.fi
FINLAND

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Fri, 11 Jul 1997 05:41:21 -0400 (EDT)
From: Nico Garcia <raoul@cirl.meei.harvard.edu>
To: Uri Shkolnik <uri@harmonic.co.il>
Cc: Hylafax mailing list <flexfax@sgi.com>
Subject: Re: hfaxd - third Email without response
Sender: owner-flexfax@celestial.com

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

On Fri, 11 Jul 1997, Uri Shkolnik wrote:

> Hi,
> 
> This is the third time I am asking information about hfaxd, ANY
> information.
> 
> 
> My fomer two Emails to this mailing list remained without even one
> response...
> 
> Anybody?
> 
> Any information would be good.
> 
> --

None of us know what you were asking. Have you read the documentation
at http://www.vix.com/hylafax  ?

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

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

iQCVAwUBM8X/uT/+ItycgIJRAQHsVQP9F4T5wrtOdnqPgW71U5J8uRZcPnfkSBIL
LwniqCWuc5BKmpBjkhiDeVn2NFcTdEzTIS9jA4E098/w4TJMJJio4Z5+9iizux83
uBvhMdG3IkAulVpQp2t1Dv0LHn/rUGWz4d9Ok8VCLIz9vK3d6oShy4rBNmraQOUK
Skmrt8H3/VI=
=PxNM
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Fri, 11 Jul 1997 13:29:00 +0200
From: Ulrich Eckhardt <uli@rgw-express.de>
Organization: RGW Express Airfreight GmbH
To: uri@harmonic.co.il
CC: Hylafax mailing list <flexfax@sgi.com>
Subject: Re: hfaxd - third Email without response
Sender: owner-flexfax@celestial.com

Uri Shkolnik wrote:
> 
> Hi,
> 
> This is the third time I am asking information about hfaxd, ANY
> information.
> 
> My fomer two Emails to this mailing list remained without even one
> response...
> 
> Anybody?
> 
> Any information would be good.

Hi,

there is not much information about hfaxd. I got all infos that i use
for whfc
from the source - code of HylaFAX, winflex and tracking the protocol by
the -v option. However, you can have also a look at the source code of
whfc (but it's currently "without comments").

Uli
 
-- 
Ulrich Eckhardt		                   mailto:uli@rgw-express.de
http://people.frankfurt.netsurf.de/uli
Truly great madness can not be achieved without significant
intelligence. (Henrik Tikkanen)

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Fri, 11 Jul 1997 07:45:29 -0400
To: uri@harmonic.co.il
From: Aidan Van Dyk <aidan@magma.ca>
Subject: Re: hfaxd - third Email without response
Cc: Hylafax Mailing List <flexfax@sgi.com>
Sender: owner-flexfax@celestial.com

At 10:45 AM 7/11/97 +0300, you wrote:
>Hi,
>
>This is the third time I am asking information about hfaxd, ANY
>information.
>
You have the source code....  What more could you ask for?

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
Date: Fri, 11 Jul 1997 16:53:24 +0300 (GMT+0300)
From: Ben Parker <ben@dha.unon.org>
To: Patrick Gardella <patrick@cre8tivegroup.com>
cc: flexfax@celestial.com
Subject: Re: Email to fax gateway
Sender: owner-flexfax@celestial.com



On Wed, 9 Jul 1997, Patrick Gardella wrote:


> P.S.  I checked the web page and the email archives.  I saw the sendmail config,
>  but if it goes to pat@1234567.fax, how can I get it to the server?
> 

If you can't get access to somebody's MX records and use a full domain 
like 12345@fax.cre8tivegroup.com, then you may be able to get away with 
pat%123456.fax@cre8tivegroup.com...

Ben
Nairobi

From owner-flexfax@celestial.com  Wed Feb 17 13:55:24 1999
From: jimtoro@hoflink.com
Date: Fri, 11 Jul 1997 09:57:18 -0400 (EDT)
To: flexfax@sgi.com
Subject: hylafax v4.0pl1
Sender: owner-flexfax@celestial.com


I have found that the "localhost" error I was having might be related to
the lack of a "faxserver" variable, which if needed I thought would
have been a bit more obvious.  I placed a "set FAXSERVER myaddress.com"
with the servers addressand logged back on. Now anything related to hfaxd,
such as faxstat or sendfax asks for "Password:". Using -v -v seems to
indicate that the Hylafax server sees me as ROOT but when I enter roots
password it is not valid.
 
Why is hylafax asking me for a password. Did I insert the variable in the
right place or should the faxsetup have done this for me ?

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 11 Jul 1997 16:36:22 +0200
From: Ulrich Eckhardt <uli@rgw-express.de>
Organization: RGW Express Airfreight GmbH
To: Alexandre CARRAUSSE <acarrausse@fast.fr>
CC: HylaFAX Mailing List <flexfax@sgi.com>
Subject: Re: Which password for WHFC?
Sender: owner-flexfax@celestial.com

Alexandre CARRAUSSE wrote:
> 
> Hello,
> 
> When I want to send a Fax whith WHFC, he asks me the password.
> I tried my own password for my login, and I tried my password under
> windows,
> but it's wrong.
> 
> The FAQ say to check the hosts.conf file of my hylafax server, but I
> did'nt find it.
> 
> If someone can help me.....

Hi,

uups, there was a mistake on my FAQ. It should be the hosts file
Found in /var/spool/fax/etc on my linux system

Uli
-- 
Ulrich Eckhardt		                   mailto:uli@rgw-express.de
http://people.frankfurt.netsurf.de/uli
Truly great madness can not be achieved without significant
intelligence. (Henrik Tikkanen)

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-NiNLog: [James.Stevens@jrcs.co.uk] [] [199707111534.QAA13831]
Date: Fri, 11 Jul 1997 16:34:30 +0100
From: James Stevens <James.Stevens@jrcs.co.uk>
Organization: JRCS Ltd
To: Charles G Stuart <charles.stuart@juno.com>
CC: flexfax@sgi.com
Subject: Re: Rockwell has dropped class 2 support
Sender: owner-flexfax@celestial.com

Charles G Stuart wrote:
> 
> On Thu, 10 Jul 1997 14:15:25 +0100 James Stevens
> <James.Stevens@jrcs.co.uk> writes:
> >Am I the only one to have noticed that Rockwell have dropped Class 2
> >fax
> >support in favour of SVD ??
> >
> >James
> >
> 
> Nope.  I think I put that on this list to.  The new Rockwell 56k modems
> are Class 1.
> 
>                                 Chuck Stuart

According to Rockwell, it is up to the modem makers which set of
features they put in their modems, however, most (read nearly all) are
choosing to include 56K or SVD instead of Class 2.

However, the same guy (real techie in Tokyo) said he had "designed out"
the timeing issues in Class 1 in the form of a modified standard which I
believe will be called "Class 1.0" as presented in a document, T.31

James

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 11 Jul 1997 12:35:18 -0500
From: Keith Lamont <keith@wwa.com>
Organization: Webwalla, Inc.
To: Hylafax Mailing List <flexfax@sgi.com>
Subject: Re: hfaxd - third Email without response
Sender: owner-flexfax@celestial.com

Aidan Van Dyk wrote:
> You have the source code....  What more could you ask for?

Speaking of which, I am interested in writing a fax client, 
but I have been too busy or lazy to pick through the source
for the protocol. I know that I read in the doc that the 
protocol documentation is not yet published; has anyone
tried to write (even a rudimentary) client? And I'm referring
to the new protocol, not the older one, which, as I understand,
is used by the existing Win and Mac clients.

One thing I would like to do is be able to replace a name
for a dialstring, by looking up the name in a database,
in order to control outbound requests. One way to accomplish
this would be to write a perl script that invokes sendfax.
Is this necessary, or is there a more straightforward approach?

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 11 Jul 1997 15:17:52 -0400 (EDT)
Organization: The Creative Group
From: Patrick Gardella <patrick@cre8tivegroup.com>
To: Ben Parker <ben@dha.unon.org>
Subject: Re: Email to fax gateway
Cc: flexfax@celestial.com
Sender: owner-flexfax@celestial.com

That I can do!  (I think!)

Pat


On 11-Jul-97 Ben Parker wrote:
>
>
>On Wed, 9 Jul 1997, Patrick Gardella wrote:
>
>
>> P.S.  I checked the web page and the email archives.  I saw the sendmail conf
ig,
>>  but if it goes to pat@1234567.fax, how can I get it to the server?
>> 
>
>If you can't get access to somebody's MX records and use a full domain 
>like 12345@fax.cre8tivegroup.com, then you may be able to get away with 
>pat%123456.fax@cre8tivegroup.com...
>
>Ben
>Nairobi

----------------------------------
E-Mail: Patrick Gardella <patrick@cre8tivegroup.com>
Date: 11-Jul-97
Time: 15:17:53

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

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 11 Jul 1997 21:57 -0500
From: "Horia Georgescu" <hgeorges@oasis.on.ca>
To: flexfax@sgi.com
Subject: Q: are UIDs required on the faxserver?
Sender: owner-flexfax@celestial.com

Hi, everybody,
Quick question: for clients running on Windows 3.1 and 95 (winflex, whfc)   
are individual UIDs required on the Unix box running the HylaFax   
software? (hopefully not...)
Thanks
Horia Georgescu
Hgeorges@oasis.on.ca

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: ninja@hutch.com.au (Anthony Green (HTAL))
Subject: Development questions
To: flexfax@sgi.com
Date: Sat, 12 Jul 1997 19:43:46 +1000 (EST)
Cc: anthonyg@hutch.com.au
Sender: owner-flexfax@celestial.com

Hello all,
	I'm new to this mailing list and to HylaFAX in general but would like
to ask a few questions about HylaFAX itself and some general development questions.

1. Is there a separate development mailing list?

2. With the question of receiving faxes for multiple users :
	i. With the storage of the received faxes on a server how perceivable is it
	   to access these faxes via a web browser for easy down-loading?
	ii.Can HylaFAX sort received faxes for different recipients?
	iii.Are there any limitations with HylaFAX and the way in which it sorts or
	   determines who the received fax is for?

3. With the email->fax gateway implementation :
	i. What other formats of files are supported for sending other than plain
	   text. Attachments either in .ps or other formatted documents like M$ word
	   .doc documents or other formatted program specific documents.
	ii.Does say a word .doc attachment have to be converted to .ps before sending
	   in the email to be faxed?
	iii.Can notification of successful/unsuccessful faxes be sent not only back to
	    the senders email address but to a pager?

4. What type of logging / tracking or what level does HylaFAX implement so that it
can log exactly who is sending faxes and who is receiving them.

5. Am I allowed to modify/alter the code to include some specific features that I need
implemented for company use, and what obligations if any do I have?


Some background information...

I am looking at implementing a fax server solution that sends and receives faxes both
conventially and through the use of email. I am then looking at implementing faxing
alert with the use of my companies pager service and GSM SMS technology. Email to
paging and Email to SMS and vice versa is already setup so I am looking to make use
of email to do the alerting of sent / received faxes.

On top of this I want to be able to retrieve faxes stored on a server via a web browser
or get them sent via email to a specified address for collection.

Although not extremely important the use of realaudio and a voice mailbox implementation
with the use of a web browser also would complete the service. Email can be used here as 
well, but sound files are bordering on the too large to make this efficient.

Thats some background information on what I want to accomplish in the coming months and
I can already see that HylaFAX has some of the features I want already there.

Fell free to email myself with any advice/help or situations from your own experiences.

Regards,

-- 
ninja@hutch.com.au
Anthony Green

Hutchison Internet					Level 1, 40 Pacific Highway
Technical Sales Consultant				St Leonards NSW 2065
Hutchison Telecommunications (Australia) Limited	Phone: +61-2-99644888
Telecommunications from Hutchison Whampoa Limited	Fax:   +61-2-99644848

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT/O d? s: a-- C++$ ULSC++(++++)$ P+P L++++$>+++++ E+ W+$?>+++ N++$ !o
K--? w--- O M+$ !V PS PE Y+ PGP !t !5 X++ !R tv b DI D+++ G+ e>++ h r y?
------END GEEK CODE BLOCK------

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: jimtoro@hoflink.com
Date: Sat, 12 Jul 1997 20:17:00 -0400 (EDT)
To: flexfax@sgi.com
Subject: hylafax and fax on demand
Sender: owner-flexfax@celestial.com


Anyone doing fax on demand with hylafax?. Do you need to buy special
hardware or is it possible to do F.O.D. under a unix machine with a few
add ons to flexfax/hylafax ?.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Sun, 13 Jul 1997 09:48:01 +0300 (IDT)
From: yaniv Kimchi <yaniv@zvia.co.il>
To: "Anthony Green (HTAL)" <ninja@hutch.com.au>
cc: flexfax@sgi.com
Subject: Re: Development questions
Sender: owner-flexfax@celestial.com

Hello Anthony,

I can help you with few of your questions.

4. Notification and logging - All of this is done vi very easy to change
shell and awk scripts (notify transcript etc). You can do with it
basically whatever you want. I have changed the format as well as sent a
copy of each message to a central mail box and a printer you can send it
to a pager.

3. formats. - follow a bit the archives of this list and you will see many
possibilities of documents conversions.

I hope it helps,

============================================================================
Yaniv Kimchi
Shaked Systems Israel
yaniv@zvia.co.il | yaniv@shaked.co.il

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Sun, 13 Jul 1997 08:24:58 -0400 (EDT)
From: Carlos Reed <creed@fse.ulaval.ca>
To: Paul Grzesina <paul@rpl.regina.sk.ca>
cc: flexfax@sgi.com
Subject: Re: Resolution Problem.
Sender: owner-flexfax@celestial.com


what about forcing sendfax sendfax -m   (for vertical resolution of 196)

On Mon, 7 Jul 1997, Paul Grzesina wrote:

> I have hylafax 4.0pl1 up and running on my Solaris 2.5 machine, but for
> some reason, it does not want to handle high resolution faxes.  Both the
> sending and receiving machine are capable of high resolution, but hylafax
> insists on sending all faxes at 98 lpi instead of 196 lpi.  Any ideas?
> 
> -- 
> Paul Grzesina                   paul@rpl.regina.sk.ca
> Computer Operations Unit        Regina Public Library
> (306) 777-6057                  Regina, Saskatchewan, Canada
> 

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Gavin Cameron <gavin@ormond.unimelb.edu.au>
Subject: Trouble sending fax / receive OK
To: flexfax@sgi.com
Date: Mon, 14 Jul 1997 12:21:13 +1000 (EST)
Sender: owner-flexfax@celestial.com

I have hylafax setup to receive faxes OK, but I'm now having touble sending
faxes.

I'm using a NetComm SmartModem 336 in class1 mode connected to a FreeBSD
2.2-STABLE box.

Here's the log file for an outbound fax:

Jul 14 12:08:09.85: [ 2604]: SESSION BEGIN 00000108 61395324718
Jul 14 12:08:09.86: [ 2604]: SEND FAX: JOB 23 DEST 95324718 COMMID 00000108
Jul 14 12:08:09.86: [ 2604]: DELAY 2600 ms
Jul 14 12:08:12.46: [ 2604]: <-- [15:ATE0V1Q0S0=0H0\r]
Jul 14 12:08:12.57: [ 2604]: --> [2:OK]
Jul 14 12:08:12.57: [ 2604]: <-- [21:ATS8=2S7=60&K4&D2&C1\r]
Jul 14 12:08:12.68: [ 2604]: --> [2:OK]
Jul 14 12:08:12.68: [ 2604]: <-- [12:AT+FCLASS=1\r]
Jul 14 12:08:12.77: [ 2604]: --> [2:OK]
Jul 14 12:08:12.77: [ 2604]: <-- [7:ATL0M1\r]
Jul 14 12:08:12.86: [ 2604]: --> [2:OK]
Jul 14 12:08:12.87: [ 2604]: <-- [12:AT+FCLASS=1\r]
Jul 14 12:08:13.08: [ 2604]: --> [2:OK]
Jul 14 12:08:13.10: [ 2604]: DIAL 95324718
Jul 14 12:08:13.10: [ 2604]: <-- [14:ATDT95324718@\r]
Jul 14 12:08:23.41: [ 2604]: --> [7:RINGING]
Jul 14 12:08:26.44: [ 2604]: --> [7:RINGING]
Jul 14 12:08:29.47: [ 2604]: --> [7:RINGING]
Jul 14 12:08:34.48: [ 2604]: --> [1:^Q]
Jul 14 12:08:34.49: [ 2604]: SEND FAILED: Unknown problem (check modem power)
Jul 14 12:08:34.49: [ 2604]: <-- [5:ATH0\r]
Jul 14 12:08:34.49: [ 2604]: --> [9:NO ANSWER]
Jul 14 12:08:34.49: [ 2604]: MODEM No answer or ring back
Jul 14 12:08:34.51: [ 2604]: SESSION END

And Hylafax just keeps trying but can never send the fax. Faxes to other
numbers are sent OK.

Can anyone shed some light on what may be happening.

I'm confused about whether or not it's my end or the other end.
How can I tell Hylafax to not stop ringing after 3 rings, just in case the
other end doesn't answer immediately?

Thanks
Gavin
-- 
[]------------------------------------+-------------------------------------[]
| Gavin Cameron                       |             Ormond College           |
| Ph    : +61 3 9344 1201             |      The University of Melbourne     |
| Fax   : +61 3 9344 1111             |          Parkville,  Victoria        |
| Email : gavin@ormond.unimelb.edu.au |            Australia,  3052          |
[]------------------------------------+-------------------------------------[]

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Tue, 15 Jul 1997 10:03:11 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Alex Ongena <Alex.Ongena@able.be>
cc: Hylafax list <flexfax@sgi.com>
Subject: Re: so many bad lines ... Help
Sender: owner-flexfax@celestial.com

On Fri, 11 Jul 1997, Alex Ongena wrote:

[snip]
> so I think it is my Modem setup ... but as far as I can check, this
> should be Ok. (it is not my modem, I tested 3 different modems: MT2834ZDX
> MT2834ZDXi, GVC 28800 (Rockwell Chipset))

Most Rockwell chips require the following entry in config.tty*:

    ModemAnswerFaxBeginCmd: "<19200><xon>"

To lock the line rate to 19200 and flow-control to xon-xoff (which I
suspect is your problem).

Cheers.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Tue, 15 Jul 1997 10:06:05 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: jimtoro@hoflink.com
cc: flexfax@sgi.com
Subject: Re: hylafax v4.0pl1
Sender: owner-flexfax@celestial.com

On Fri, 11 Jul 1997 jimtoro@hoflink.com wrote:

>
> I have found that the "localhost" error I was having might be related to
> the lack of a "faxserver" variable, which if needed I thought would
> have been a bit more obvious.  I placed a "set FAXSERVER myaddress.com"
> with the servers addressand logged back on. Now anything related to hfaxd,
> such as faxstat or sendfax asks for "Password:". Using -v -v seems to
> indicate that the Hylafax server sees me as ROOT but when I enter roots
> password it is not valid.
>
> Why is hylafax asking me for a password. Did I insert the variable in the
> right place or should the faxsetup have done this for me ?

You have to edit the /var/spool/fax/etc/hosts file and make the
appropriate entries for you client machine. Make an entry for your
client's IP address, eg:

    If Client IP address -> 192.168.1.10
    Add the following line /var/spool/fax/etc/hosts:

        192.168.1.10

man hosts(4) for more details.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Tue, 15 Jul 1997 10:07:17 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Horia Georgescu <hgeorges@oasis.on.ca>
cc: flexfax@sgi.com
Subject: Re: Q: are UIDs required on the faxserver?
Sender: owner-flexfax@celestial.com

On Fri, 11 Jul 1997, Horia Georgescu wrote:

> Hi, everybody,
> Quick question: for clients running on Windows 3.1 and 95 (winflex, whfc)   
> are individual UIDs required on the Unix box running the HylaFax   
> software? (hopefully not...)

Seperate UIDs are not required. However entries on your FAXSERVER's
/var/spool/fax/etc/hosts are required. Check out hosts(4f) for more details.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Tue, 15 Jul 1997 10:10:40 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Tim Kirtley <kirt@internetmci.com>
cc: flexfax@sgi.com
Subject: Re: Page Width not supported ?
Sender: owner-flexfax@celestial.com

On Mon, 14 Jul 1997, Tim Kirtley wrote:

[snip]
> Jul 11 17:09:10.18: [ 7245]: SEND file "docq/doc60.ps;00"
> Jul 11 17:09:10.18: [ 7245]: Client does not support document page
> width, max re
> mote page width 1728 pixels, image width 1734 pixels

Well, it looks like you've got a big picture in your fax. Trim it?
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

[Personally, I wonder if the code can be changed to automatically trim
 the fax if so required..; this error seems to appear on the list ever
 so often.]

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Tue, 15 Jul 1997 17:17:16 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
Reply-To: Jonathan Chen <jonc@pinnacle.co.nz>
To: Hylafax Mailing list <flexfax@sgi.com>
Subject: HylaFAX and further development
Sender: owner-flexfax@celestial.com

Yo.

One thing I've noticed about the list lately is that we appear to
running slightly out of steam. Development on HylaFAX (fixes and more
importantly enhancements) have basically ground to a halt (either
that, or I'm not on the development list).

Is there a HylaFAX developer's group/list? Are there a group of
developers enhancing the code? I realise that Matthias Apitz is the
`Keeper of the Source', and I suppose that he is amalgamating the
fixes to the current 4.0pl1 sources that appear on the list now and
then; but no one (on the list) appears to be giving any indication of
any firm direction or coordination on further development of HylaFAX.

I'd really like to keep the development going on this piece of
software, but my background knowledge on the underlying stuff is very
limited (yeah, yeah, I keep telling myself to look into it, but I
never get around to doing it). Is there anyone out there doing any
development? If there isn't, is there anyone out there interested in
doing so (aside from me)?

Cheers.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: norbert.koch@delta-ii.de
X-Authentication-Warning: lamia.delta-ii.de: norbert owned process doing -bs
Date: Tue, 15 Jul 1997 08:16:25 +0200 (MET DST)
Reply-To: norbert.koch@delta-ii.de
To: FlexFAX List <flexfax@sgi.com>
Subject: typerules
X-Attribution: nobbi
Sender: owner-flexfax@celestial.com


Hi to everybody,

has anybody any clue why my sendfax doesn't seem to read the typerule
information (normal installation of 4.0pl1 in /usr/local/lib/fax on a
Linux 2.0.28 using a gcc 2.7.2) ...

Although the first line reads something like

0     string      %!     ps

a conversion into tiff format is attempted which ends in the warning
that the magic number (magically) doesn't match (no wonder :-) 

(btw, I have, or merely sendfax has, troubles converting normal ascii
files, too, so something might be buggy with the installation but I
can't figure out what - damn ;-/) 

Thanks for all hints, cheers, norbert.

---------------------------------------------------------------------
A rattlesnake that doesn't bite teaches you nothing!  (Jessamyn West)
---------------------------------------------------------------------
Dr Norbert Koch                   |  
Delta Industrie Informatik GmbH   |  phone:  +49.711.57.151.37
Schaflandstrasse 2                |  fax:    +49.711.57.151.65
D-70736 Fellbach                  |  email:  norbert.koch@delta-ii.de
---------------------------------------------------------------------

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 15 Jul 1997 08:34:45 +0100 (WET DST)
From: Dani Pardo <dani@minerva.enpl.es>
To: flexfax@sgi.com
Subject: Random Modem Timeouts
Sender: owner-flexfax@celestial.com

 
 Hi, I'm using HylaFax 4.0pl1 with a Sun solaris 2.5.1 for send only
environment. All goes fine, but sometimes I get random timeouts.. I've got
a SupraFax modem. Here's one (of the worst) logs:
 
Jul 11 16:10:42.85: [21216]: SESSION BEGIN 00000056 972972761579
Jul 11 16:10:42.85: [21216]: SEND FAX: JOB 149 DEST 761579 COMMID 00000056
Jul 11 16:10:42.86: [21216]: DELAY 2600 ms
Jul 11 16:10:45.46: [21216]: <-- [22:AT&F2S0=1E0V1Q0S0=0H0\r]
Jul 11 16:10:45.74: [21216]: --> [2:OK]
Jul 11 16:10:45.74: [21216]: <-- [21:ATS8=2S7=60&K3&D3&C1\r]
Jul 11 16:10:45.91: [21216]: --> [2:OK]
Jul 11 16:10:45.91: [21216]: <-- [12:AT+FCLASS=2\r]
Jul 11 16:10:46.08: [21216]: --> [2:OK]
Jul 11 16:10:46.08: [21216]: <-- [10:AT+FTBC=0\r]
Jul 11 16:11:16.09: [21216]: MODEM <Timeout>
Jul 11 16:11:16.09: [21216]: <-- [10:AT+FBOR=0\r]
Jul 11 16:11:46.10: [21216]: MODEM <Timeout>
Jul 11 16:11:46.10: [21216]: <-- [13:AT+FPHCTO=30\r]
Jul 11 16:11:46.26: [21216]: --> [2:OK]
Jul 11 16:11:46.26: [21216]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
Jul 11 16:11:46.43: [21216]: --> [2:OK]
Jul 11 16:11:46.43: [21216]: <-- [5:ATM0\r]
Jul 11 16:11:46.59: [21216]: --> [2:OK]
Jul 11 16:11:46.63: [21216]: <-- [12:AT+FCLASS=2\r]
Jul 11 16:12:16.64: [21216]: MODEM <Timeout>
Jul 11 16:12:16.64: [21216]: <-- [10:AT+FTBC=0\r]
Jul 11 16:12:16.91: [21216]: --> [2:OK]
Jul 11 16:12:16.91: [21216]: <-- [10:AT+FBOR=0\r]
Jul 11 16:12:17.17: [21216]: --> [2:OK]
Jul 11 16:12:17.17: [21216]: <-- [13:AT+FPHCTO=30\r]
Jul 11 16:12:17.44: [21216]: --> [2:OK]
Jul 11 16:12:17.44: [21216]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
Jul 11 16:12:17.71: [21216]: --> [2:OK]
Jul 11 16:12:17.71: [21216]: <-- [23:AT+FLID="Enplater S.A"\r]
Jul 11 16:12:47.72: [21216]: MODEM <Timeout>
Jul 11 16:12:47.72: [21216]: SEND FAILED: Unable to configure modem for
fax use
Jul 11 16:12:47.72: [21216]: SESSION END

  I've also noticed that when one of these errors happen, the job is
unqueued, can I configure HylaFax to don't unqueue the job is this
happens?

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: Hurwitz.fs100.suse.de: choeger owned process doing -bs
Date: Tue, 15 Jul 1997 11:37:06 +0200 (MEST)
From: Carsten Hoeger <choeger@suse.de>
To: norbert.koch@delta-ii.de
cc: FlexFAX List <flexfax@sgi.com>
Subject: Re: typerules
Sender: owner-flexfax@celestial.com

On Tue, 15 Jul 1997 norbert.koch@delta-ii.de wrote:

> has anybody any clue why my sendfax doesn't seem to read the typerule
> information (normal installation of 4.0pl1 in /usr/local/lib/fax on a
> Linux 2.0.28 using a gcc 2.7.2) ...
> 
> Although the first line reads something like
> 
> 0     string      %!     ps
> 
> a conversion into tiff format is attempted which ends in the warning
> that the magic number (magically) doesn't match (no wonder :-) 
> 
> (btw, I have, or merely sendfax has, troubles converting normal ascii
> files, too, so something might be buggy with the installation but I
> can't figure out what - damn ;-/) 

Don't forget to add the following entry in your sendfax.conf:

TypeRules:      /your/path/to/typerules

You also have to change the following magics on a x86 machine (in cause
of Byteorder):

>From:
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

To:
0      short           0x0605          ps      showcase -p -f %i
0      short           0x4353          ps      showcase -p -f %i
0      short           0x02f7          ps      dvips -q -o %o %i


mfG,
	Carsten Hoeger
------
Carsten Hoeger  - S.u.S.E. GmbH -  Gebhardtstr. 2  -  90762 Fuerth  -  Germany
fax +49-911-3206727      web http://www.suse.de        mailbox +49-911-3247122
<A HREF="http://www.suse.de/~bb/rc5.html"> Macht mit beim rc5-challenge!</A>

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Guenther Koegebehn <sdmgk@sdmag.com>
To: flexfax@sgi.com, norbert.koch@delta-ii.de
Subject: Re: typerules
Date: Tue, 15 Jul 97 11:56:39 METDST
Sender: owner-flexfax@celestial.com

I guess you have DOS(PC-850) Umlaute in your ascii files...
textfmt doesn't like them.
Try to convert them to ISO-8859 before you send the ascii files...

Guenther Koegebehn
sdmgk@sdmag.com

norbert.koch@delta-ii.de:
>(btw, I have, or merely sendfax has, troubles converting normal ascii
>files, too, so something might be buggy with the installation but I
>can't figure out what - damn ;-/)

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: arxer@bcn.servicom.es
Date: Tue, 15 Jul 1997 13:40:44 +0200
Reply-To: arxer@bcn.servicom.es
To: flexfax@sgi.com
Subject: Is hylafax sleeping?
Sender: owner-flexfax@celestial.com

Hello!

I'm configuring a send-only facsimile server with the following
configuration:

    Pentium 66
    Linux Slackware 2.0.0
    Sendmail 8.7.5
    Hylafax 4.0pl1
    Dirk-faxmailer script

I've some doubts about my configuration:

    * My fax configuration, I run "faxgetty" on the "rc.local" file with
the following command :

            faxgetty cua1&

      and this is the "message" file contents:

            Jul 15 11:55:31 haddock HylaFAX[106]: HylaFAX INET Protocol
Server: restarted.
            Jul 15 11:55:31 haddock HylaFAX[106]: HylaFAX Old Protocol
Server: restarted.
            Jul 15 11:55:31 haddock HylaFAX[106]: HylaFAX SNPP Protocol
Server: restarted.
            Jul 15 11:55:33 haddock FaxQueuer[108]: HylaFAX (tm) Version
4.0pl1
            Jul 15 11:55:33 haddock FaxQueuer[108]: Copyright (c)
1990-1996 Sam Leffler
            Jul 15 11:55:33 haddock FaxQueuer[108]: Copyright (c)
1991-1996 Silicon Graphics, Inc.
            Jul 15 11:55:34 haddock FaxGetty[109]: OPEN /dev/cua1
            Jul 15 11:55:39 haddock FaxGetty[109]: MODEM USR Sportster
14,400/Fax

      and when I execute the "faxstat" program the system returns :

            HylaFAX scheduler on haddock.urgelia.ct: Running
            Modem cua1 (+34.3.455.52.65): No status (empty file)

      is this correct?

    * After sending a mail, hylafax begin to run with the following
steps:

Jul 15 12:05:18 haddock sendmail[181]: MAA00181: from=root, size=43,
class=0, pri=30043, nrcpts=1,
msgid=<199707151005.MAA00181@haddock.urgelia.ct>, relay=root@localhost
Jul 15 12:05:21 haddock HylaFAX[188]: USER root
Jul 15 12:05:21 haddock HylaFAX[188]: TYPE I
Jul 15 12:05:22 haddock HylaFAX[188]: PORT 127.0.0.1;2052
Jul 15 12:05:22 haddock HylaFAX[188]: MODE Z
Jul 15 12:05:22 haddock HylaFAX[188]: STOT
Jul 15 12:05:22 haddock sendmail[182]: MAA00181: to=fax.3118695,
ctladdr=root (0/0), delay=00:00:04, xdelay=00:00:04, mailer=fax,
relay=fax, stat=Sent

        and nothing seems to append.

Could anyone take a look at this message and tell me something about
that?.
Thank you very much.
--
Bye,

Ramon Arxer i Galabert

e-mail :
 arxer@bcn.servicom.es
 ramon25@casal.upc.es
WWW :
 http://yi.com/home/ArxerRamon
 http://casal.upc.es/~ramon25

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 15 Jul 1997 11:45:57 +0000
To: HylaFAX <flexfax@sgi.com>
From: Phil Watkinson <pkw@elgro.co.uk>
Subject: Re: HylaFAX and further development
Cc: Jonathan Chen <jonc@pinnacle.co.nz>
Sender: owner-flexfax@celestial.com

At 05:17 PM 7/15/97 +1200, Jonathan Chen <jonc@pinnacle.co.nz> wrote:
>Yo.
>
>One thing I've noticed about the list lately is that we appear to
>running slightly out of steam. Development on HylaFAX (fixes and more
>importantly enhancements) have basically ground to a halt (either
>that, or I'm not on the development list).
>[snip]

Hi.

I've noticed the same thing, and agree with your thoughts. And I'd better
say first that I'm one of the worst, contributing for a day or two, then
disappearing ( well, lurking ) for the rest of the month. 

The mailing list seems to have plenty of practical, admin people who have
problems to fix and are willing to share solutions with other people. What
we are missing the C++ programmers (ideally a team) who are happy to delve
into the code and produce patches, workrounds - even just to tell us what
the existing code actually does ( a recent thread in the list ).

The answer? I dunno. Somehow we need to encourage other people onto the 
list. Perhaps documentation of the source code to make easier for someone
new to get to grips with it ? Anyone else got any ideas ?

Just my 2 cents worth...

Cheers,
Phil Watkinson,
Boston, UK.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: norbert.koch@delta-ii.de
X-Authentication-Warning: lamia.delta-ii.de: norbert owned process doing -bs
Date: Tue, 15 Jul 1997 14:52:53 +0200 (MET DST)
Reply-To: norbert.koch@delta-ii.de
To: FlexFAX List <flexfax@sgi.com>
Subject: sendfax - again
X-Attribution: nobbi
Sender: owner-flexfax@celestial.com


Hi,

Sorry for bothering again and thanks for the help that have come in so
far. I'm still not able to send postscript files. I attach the
typerules file as well as the sendfax verbose output (which looks some
sort of strange to me since I don't understand the matching process).

I've inserted a 'TypeRules:' tagline into my hyla.conf file (which is
said to be read by sendfax - in the man pages).

Any clues? Thanks, norbert.

---------------------------------------------------------------------
A rattlesnake that doesn't bite teaches you nothing!  (Jessamyn West)
---------------------------------------------------------------------
Dr Norbert Koch                   |  
Delta Industrie Informatik GmbH   |  phone:  +49.711.57.151.37
Schaflandstrasse 2                |  fax:    +49.711.57.151.65
D-70736 Fellbach                  |  email:  norbert.koch@delta-ii.de
---------------------------------------------------------------------
# /usr/local/lib/fax/typerules
# 
#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           0x0605          ps      showcase -p -f %i
0       short           0x4353          ps      showcase -p -f %i
0       short           0x02f7          ps      dvips -q -o %o %i
0       string          GIF             ps
>3      string          87a             ps      giftoppm <%i | ppmtopgm | pnmto
>3      string          89a             ps      giftoppm <%i | ppmtopgm | pnmto
0       long            0xa659956a      tiff    ras2tiff %i %o
0       string          x T psc         ps      psdit <%i >%o
0       string          begin           error   uuencoded file
0       string          xbtoa           error   btoa'd file
0       string          P1              ps      pbmtoascii <%i | textfmt >%o
0       string          P2              ps      pnmtops <%i >%o
0       string          P3              ps      ppmtopgm <%i | pnmtops >%o
0       string          P4              error   PBM "rawbits" file
0       string          P5              ps      pnmtops <%i >%o
0       string          P6              ps      ppmtopgm <%i | pnmtops >%o
0       string          /*\ XPM         ps      xpmtoppm <%i | ppmtopgm | pnmto
0       short           0xd8ff          ps
>6      string          JFIF            ps      djpeg -grayscale <%i | pnmtops
0       short           0x4d42          error   BMP-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 >%o <%i
0       ascii           x               ps	%F/textfmt >%o <%i% sendfax -d <any number> -n -v faxcover.ps 

match against (..., 512)
rule: offset 0 short = 0x4d4d -- failed (comparison)
rule: offset 0 short = 0x4949 -- failed (comparison)
rule: offset 0 short = 0x1da -- failed (comparison)
rule: offset 0 short = 0x1f1e -- failed (comparison)
rule: offset 0 short = 0x1f9d -- failed (comparison)
rule: offset 0 short = 0x605 -- failed (comparison)
rule: offset 0 short = 0x4353 -- failed (comparison)
rule: offset 0 short = 0x2f7 -- failed (comparison)
rule: offset 0 long = 0x7fffffff -- failed (comparison)
rule: offset 0 short = 0xd8ff -- failed (comparison)
rule: offset 0 short = 0x4d42 -- failed (comparison)
rule: offset 0 ascii = -- success (result tiff, rule "%F/textfmt >%o <%i")
CONVERT "/usr/local/sbin/textfmt >/tmp//faxsnda26146 <faxcover.ps"
/tmp//faxsnda26146: Not a TIFF file, bad magic number 8485 (0x2125).

% sendfax -d <any number> -n -v /etc/hosts

match against (..., 512)
rule: offset 0 short = 0x4d4d -- failed (comparison)
rule: offset 0 short = 0x4949 -- failed (comparison)
rule: offset 0 short = 0x1da -- failed (comparison)
rule: offset 0 short = 0x1f1e -- failed (comparison)
rule: offset 0 short = 0x1f9d -- failed (comparison)
rule: offset 0 short = 0x605 -- failed (comparison)
rule: offset 0 short = 0x4353 -- failed (comparison)
rule: offset 0 short = 0x2f7 -- failed (comparison)
rule: offset 0 long = 0x7fffffff -- failed (comparison)
rule: offset 0 short = 0xd8ff -- failed (comparison)
rule: offset 0 short = 0x4d42 -- failed (comparison)
rule: offset 0 ascii = -- success (result tiff, rule "%F/textfmt >%o <%i")
CONVERT "/usr/local/sbin/textfmt >/tmp//faxsnda26183 </etc/hosts"
/tmp//faxsnda26183: Not a TIFF file, bad magic number 8485 (0x2125).

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Sender: aidan@mail.magma.ca
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Tue, 15 Jul 1997 09:20:56 -0400
To: Hylafax Mailing List <flexfax@sgi.com>
From: Aidan Van Dyk <aidan@magma.ca>
Subject: Re: HylaFAX and further development
Sender: owner-flexfax@celestial.com

At 11:45 AM 7/15/97 +0000, you wrote:
>At 05:17 PM 7/15/97 +1200, Jonathan Chen <jonc@pinnacle.co.nz> wrote:
>
>>One thing I've noticed about the list lately is that we appear to
>>running slightly out of steam. Development on HylaFAX (fixes and more
>>importantly enhancements) have basically ground to a halt (either
>>that, or I'm not on the development list).

[snip]

>I've noticed the same thing, and agree with your thoughts. And I'd better
>say first that I'm one of the worst, contributing for a day or two, then
>disappearing ( well, lurking ) for the rest of the month. 

Me too.  I have a simple setup, so haven't really had a need, or opportunity
to delve into it.  I have gleaned a lot from "lurking" and reading all the
tips and solutions.

>The mailing list seems to have plenty of practical, admin people who have
>problems to fix and are willing to share solutions with other people. What
>we are missing the C++ programmers (ideally a team) who are happy to delve
>into the code and produce patches, workrounds - even just to tell us what
>the existing code actually does ( a recent thread in the list ).

Again agree.  I'm not a proficient C++ programmer, and find the code quite
scary, but personally would like to see this type of discussion too so by
the time I am proficent, I could be "schooled" in Hylafax.

>The answer? I dunno. Somehow we need to encourage other people onto the 
>list. Perhaps documentation of the source code to make easier for someone
>new to get to grips with it ? Anyone else got any ideas ?

Any gurus out there who want to lead us newbies?

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 15 Jul 1997 13:12:52 -0100
From: Softwareentwicklung <soft@sip.medizin.uni-ulm.de>
Organization: Uni-Ulm
To: flexfax@sgi.com
Subject: Reuse of documents from "docq"
Sender: owner-flexfax@celestial.com

Hallo,

"HylaFAX v4.0beta20 under Solaris 2.5; binarys f. Solaris 2; LASAT uniq
288 v1.30"

Haw can I reuse (send) a  ps-document from the directory "..../docq" ?

Thanks!!

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 15 Jul 1997 11:15:09 -0400 (EDT)
From: Carlos Reed <creed@fse.ulaval.ca>
To: flexfax@sgi.com
Subject: dailrules don't work any more
Sender: owner-flexfax@celestial.com

Hi gang!

I don't know what is going on but my dialrules don't work any more.

With dialtest they seam to work fine, but when I used sendafx it doesn't
notice that there are some dialrules.


I don't remeber wich config file I modified.... I have this entry 
(DialStringRules:        "etc/dialrules" ) on the following files.

/var/spool/fax/etc/config
/var/spool/fax/etc/config.ttyb
/usr/local/lib/fax/sendfax.conf


any ideas will be appretiated.



thanks and have a nice day.


Carlos Reed, from beautiful and lovely Quebec

From root@gateway.cre8tivegroup.com  Wed Feb 17 13:55:25 1999
Sender: root@gateway.cre8tivegroup.com
Date: Tue, 15 Jul 1997 12:54:48 -0400 (EDT)
Organization: The Creative Group
From: Patrick Gardella <patrick@cre8tivegroup.com>
To: flexfax@celestial.com, pkw@elgro.co.uk
Subject: FaxMail Problem?

I am attenpting to run HylaFAX (4.0pl1) mail2fax gateway on a FreeBSD 2.2.1
machine.  It is a send only machine using Multimodems ZDX2834 modems.

Faxq is running.  (I have two processes calling themselves faxq, is this 
normal?)  

Looking at the FAQ 61 and some mail between Donald Burr and Phil
Watkinson, I have the Mfax in my sendmail.cf as well as the rewrite rule
in ruleset 0.  faxmail is chmod 555 and the faxlog to 666.

When I try to use the alias method,  I get the following session...

# mail -v jrobb@cre8tivegroup.com
Subject: Test 8
Testing try 8

Call me.

Patrick
>.
EOT
jrobb@cre8tivegroup.com... aliased to "|/usr/local/bin/faxmail -d +8168824"
"|/usr/local/bin/faxmail -d +8168824"... Connecting to prog...
faxmail: Can not reach server at host "localhost", port 4559..
"|/usr/local/bin/faxmail -d +8168824"... unknown mailer error 255
/home/patrick/dead.letter... cannot open: Permission denied
patrick... Connecting to local...
patrick... Sent


Actually sending to jim@8168824.fax gives me...

# mail -v jim@8168824.fax
Subject: Test 9
Testing try 9
 Call me.

Patrick
>.
EOT
jim@8168824.fax... Connecting to 8168824 via fax...
Trying localhost (127.0.0.1) at port 4559...
jim@8168824.fax... unknown mailer error 255
/home/patrick/dead.letter... cannot open: Permission denied
patrick... Connecting to local...
patrick... Sent

Could all this mean that I do not have the Mfax definition in the right
place?  I put it into the /etc/sendmail.cf file, since I am not that 
familar with sendmail.  Nor could I find the .mc or .m4 files.

Any suggestions?

Patrick
----------------------------------
E-Mail: Patrick Gardella <patrick@cre8tivegroup.com>
Date: 15-Jul-97
Time: 12:54:48

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

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 15 Jul 1997 14:29:23 -0500
From: Tim Tsai <tim@futuresouth.com>
To: Hylafax Mailing List <flexfax@sgi.com>
Subject: Re: HylaFAX and further development
Sender: owner-flexfax@celestial.com

  I'd welcome some guidelines on implementing sending multiple jobs in
one batch (to the same number).  This dialing, sending, hangup process
for each job is silly.

  I remembered reading awhile back that faxq is the one to look at.  I am
going to take a look at it first.  What if faxq just scans for jobs to
the same phone number when it starts a job and then combine them?

  Unfortunately I am not a C++ programmer (OK in C though) so it may take
me awhile, but that's the only major gripe we have about HylaFAX.

  Tim

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Wed, 16 Jul 1997 12:43:40 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Stan Brown <stanb@netcom.com>
cc: Hylafax Mailing list <flexfax@sgi.com>
Subject: Re: HylaFAX and further development
Sender: owner-flexfax@celestial.com

[note added Cc:]

On Tue, 15 Jul 1997, Stan Brown wrote:

>   Is it possible that the lack of develpment represens the maturity of
>   this software? For example what enhancements can you think of? Other
>   than cleaning up a few build problems on certain machines, I for one,
>   would be hard pressed to think of any changes that I need. Am I just
>   not aware of neededfeatures?

Well, the TODO file in the source distributions lists some stuff that
could need doing. My pick of stuff that needs to be looked at from
that file are:

    BH job group support is broken
    B  sloppy processing of +FHNG: response to AT+FDT (extra read+timeout)
    H  use T.30 subaddress routing for received facsimile (needs database)
    H  select modems based on criteria such as destination phone number
       (for locations where some lines are capable of long distance calls
       while others are not)
    M  batch multiple jobs to the same destination (important for pages)
    M  bound transmit page count on a per-user basis
    M  add faxq lock to avoid naive users starting multiple queuers
    L  faxmove program, analogous to lpmove

    B = outright bug
    H = high priority
    M = medium priority
    L = low priority

Aside from these, there are also bugs involving broken protocol exchanges
between some modems and real-fax machines. There's just got to be a
better way to guess just what the problems without having some human
look over the logs all the time.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Alexandre Meissonnier <ameissonnier@dohle.com>
To: "HylaFAX-Mailingliste (E-Mail)" <flexfax@sgi.com>
Subject: Unspecified Transmit Phase D error...
Date: Wed, 16 Jul 1997 12:06:23 +0200
Organization: Dohle Handelsgruppe Systemberatung GmbH
Sender: owner-flexfax@celestial.com

Hi there!

>From time to time I get "Unspecified Transmit Phase D errors" while sending 
faxes. After one
or two  pages have been transmitted normally, the connection is interrupted 
after HylaFAX has
sent the MPS (More Pages Same Document) signal. Following attempts to send 
the same job
sometimes succeed, somtimes they fail again with the same error message. In 
the latter case,
the receiving machine gets 3 times the first two pages of the fax but never 
sees the rest of it.

First, I thought that this error was caused by bad phone lines, since it 
occurred mostly when
sending faxes from Germany to Poland.But it also happens on calls inside 
Germany, and faxes
to the same destinations using a paper fax machine work without problems.

Now I'd like to know:
- What does this message mean? and
- What can I do about it?

My modem is a ZyXEL 1496E.

Here's a sample logfile of such a job:

------------------------------------------------
Jul 10 16:47:21.60: [ 5413]: SESSION BEGIN 00000849 xxxxxxxx
Jul 10 16:47:21.60: [ 5413]: SEND FAX: JOB 270 DEST xxxxxxx COMMID 00000849
Jul 10 16:47:21.85: [ 5413]: DELAY 2600 ms
Jul 10 16:47:24.58: [ 5413]: <-- 
[44:AT&B1&N0&S0*F0S18=2S38.3=1S39=0E0V1Q0S0=0H0\r]
Jul 10 16:47:24.81: [ 5413]: --> [2:OK]
Jul 10 16:47:24.81: [ 5413]: <-- [21:ATS8=2S7=60&H3&D2&C1\r]
Jul 10 16:47:24.84: [ 5413]: --> [2:OK]
Jul 10 16:47:24.84: [ 5413]: <-- [12:AT+FCLASS=2\r]
Jul 10 16:47:24.86: [ 5413]: --> [2:OK]
Jul 10 16:47:24.86: [ 5413]: <-- [10:AT+FTBC=0\r]
Jul 10 16:47:24.88: [ 5413]: --> [2:OK]
Jul 10 16:47:24.88: [ 5413]: <-- [10:AT+FBOR=0\r]
Jul 10 16:47:24.90: [ 5413]: --> [2:OK]
Jul 10 16:47:24.90: [ 5413]: <-- [13:AT+FPHCTO=30\r]
Jul 10 16:47:24.92: [ 5413]: --> [5:ERROR]
Jul 10 16:47:24.92: [ 5413]: MODEM Command error
Jul 10 16:47:24.92: [ 5413]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
Jul 10 16:47:24.95: [ 5413]: --> [2:OK]
Jul 10 16:47:24.95: [ 5413]: <-- [7:ATM1L5\r]
Jul 10 16:47:24.97: [ 5413]: --> [2:OK]
Jul 10 16:47:24.97: [ 5413]: <-- [12:AT+FCLASS=2\r]
Jul 10 16:47:25.08: [ 5413]: --> [2:OK]
Jul 10 16:47:25.08: [ 5413]: <-- [10:AT+FTBC=0\r]
Jul 10 16:47:25.19: [ 5413]: --> [2:OK]
Jul 10 16:47:25.19: [ 5413]: <-- [10:AT+FBOR=0\r]
Jul 10 16:47:25.30: [ 5413]: --> [2:OK]
Jul 10 16:47:25.30: [ 5413]: <-- [13:AT+FPHCTO=30\r]
Jul 10 16:47:25.41: [ 5413]: --> [5:ERROR]
Jul 10 16:47:25.41: [ 5413]: MODEM Command error
Jul 10 16:47:25.41: [ 5413]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
Jul 10 16:47:25.53: [ 5413]: --> [2:OK]
Jul 10 16:47:25.53: [ 5413]: <-- [30:AT+FLID="Dohle Handelsgruppe"\r]
Jul 10 16:47:25.65: [ 5413]: --> [2:OK]
Jul 10 16:47:25.65: [ 5413]: DIAL 0,xxxxxxxxx
Jul 10 16:47:25.65: [ 5413]: <-- [18:ATX3DT0,xxxxxxx\r]
Jul 10 16:48:24.34: [ 5413]: --> [5:+FCON]
Jul 10 16:48:24.34: [ 5413]: --> [18:+FNSF:00 00 00 00 ]
Jul 10 16:48:24.34: [ 5413]: REMOTE NSF "00 00 00 00"
Jul 10 16:48:24.34: [ 5413]: --> [27:+FCSI:         +xxxxxxxxxxxxx ]
Jul 10 16:48:24.34: [ 5413]: REMOTE CSI "+xxxxxxxxxxxxx"
Jul 10 16:48:24.34: [ 5413]: --> [21:+FDIS:1,3,0,2,1,0,0,4]
Jul 10 16:48:24.34: [ 5413]: --> [2:OK]
Jul 10 16:48:24.34: [ 5413]: REMOTE best rate 9600 bit/s
Jul 10 16:48:24.34: [ 5413]: REMOTE max page width 1728 pixels in 215 mm
Jul 10 16:48:24.34: [ 5413]: REMOTE max unlimited page length
Jul 10 16:48:24.34: [ 5413]: REMOTE best vres 7.7 line/mm
Jul 10 16:48:24.34: [ 5413]: REMOTE best format 2-D MR
Jul 10 16:48:24.34: [ 5413]: REMOTE best 20 ms, 10 ms/scanline
Jul 10 16:48:24.34: [ 5413]: USE 9600 bit/s
Jul 10 16:48:24.34: [ 5413]: USE 20 ms, 10 ms/scanline
Jul 10 16:48:24.34: [ 5413]: SEND file "docq/doc265.ps;01"
Jul 10 16:48:24.34: [ 5413]: USE page width 1728 pixels in 215 mm
Jul 10 16:48:24.34: [ 5413]: USE unlimited page length
Jul 10 16:48:24.34: [ 5413]: USE 7.7 line/mm
Jul 10 16:48:24.34: [ 5413]: USE 1-D MR
Jul 10 16:48:24.34: [ 5413]: <-- [24:AT+FDIS=1,3,0,2,0,0,0,4\r]
Jul 10 16:48:24.46: [ 5413]: --> [2:OK]
Jul 10 16:48:24.46: [ 5413]: <-- [7:AT+FDT\r]
Jul 10 16:48:24.46: [ 5413]: --> [2:OK]
Jul 10 16:48:30.25: [ 5413]: --> [21:+FDCS:1,3,0,2,0,0,0,4]
Jul 10 16:48:30.25: [ 5413]: --> [7:CONNECT]
Jul 10 16:48:30.25: [ 5413]: SEND wait for XON
Jul 10 16:48:30.25: [ 5413]: --> [1:]
Jul 10 16:48:30.25: [ 5413]: SEND begin page
Jul 10 16:48:30.25: [ 5413]: <-- data [1025]
[--- more data ---]
Jul 10 16:49:06.43: [ 5413]: SENT 23298 bytes of data
Jul 10 16:49:06.43: [ 5413]: <-- data [2]
Jul 10 16:49:06.43: [ 5413]: SEND end page
Jul 10 16:49:11.07: [ 5413]: --> 
[56:]
Jul 10 16:49:11.07: [ 5413]: --> [2:OK]
Jul 10 16:49:11.07: [ 5413]: SEND send MPS (more pages, same document)
Jul 10 16:49:11.07: [ 5413]: <-- [9:AT+FET=0\r]
Jul 10 16:49:14.09: [ 5413]: --> [7:+FPTS:1]
Jul 10 16:49:14.09: [ 5413]: --> [2:OK]
Jul 10 16:49:14.09: [ 5413]: SEND recv MCF (message confirmation)
Jul 10 16:49:14.09: [ 5413]: SEND FAX (00000849): FROM xxxxxxx TO 
xxxxxxxxxx (page 1 of 3 sent in 0:50)
Jul 10 16:49:14.09: [ 5413]: USE page width 1728 pixels in 215 mm
Jul 10 16:49:14.09: [ 5413]: USE unlimited page length
Jul 10 16:49:14.09: [ 5413]: USE 7.7 line/mm
Jul 10 16:49:14.09: [ 5413]: USE 1-D MR
Jul 10 16:49:14.09: [ 5413]: <-- [7:AT+FDT\r]
Jul 10 16:49:14.20: [ 5413]: --> [7:CONNECT]
Jul 10 16:49:14.20: [ 5413]: SEND wait for XON
Jul 10 16:49:14.20: [ 5413]: --> [1:]
Jul 10 16:49:14.20: [ 5413]: SEND begin page
Jul 10 16:49:14.20: [ 5413]: <-- data [1024]
[--- more data ---]
Jul 10 16:49:49.75: [ 5413]: SENT 30382 bytes of data
Jul 10 16:49:49.75: [ 5413]: <-- data [2]
Jul 10 16:49:49.75: [ 5413]: SEND end page
Jul 10 16:49:54.45: [ 5413]: --> 
[51:]
Jul 10 16:49:54.45: [ 5413]: --> [2:OK]
Jul 10 16:49:54.45: [ 5413]: SEND send MPS (more pages, same document)
Jul 10 16:49:54.45: [ 5413]: <-- [9:AT+FET=0\r]
Jul 10 16:50:00.31: [ 5413]: --> [10:NO CARRIER]
Jul 10 16:50:00.31: [ 5413]: REMOTE HANGUP: Unspecified Transmit Phase D 
error, including +FPHCTO timeout between data and +FET command (code 50)
Jul 10 16:50:00.31: [ 5413]: <-- [6:AT+FK\r]
Jul 10 16:50:00.31: [ 5413]: --> [2:OK]
Jul 10 16:50:00.31: [ 5413]: SEND FAILED: Unspecified Transmit Phase D 
error, including +FPHCTO timeout between data and +FET command; too many 
attempts to send
Jul 10 16:50:00.31: [ 5413]: <-- [5:ATH0\r]
Jul 10 16:50:00.42: [ 5413]: --> [2:OK]
Jul 10 16:50:00.79: [ 5413]: SESSION END

--
Alexandre Meissonnier
Dohle Handelsgruppe Systemberatung GmbH
53719 Siegburg (Germany)
ameissonnier@dohle.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 16 Jul 1997 07:58:19 -0400
From: "Jonathan I. Kamens" <jik@kamens.brookline.ma.us>
To: flexfax@sgi.com
Subject: hylafax-v4.0pl1: "Yes" in modem config doesn't work
Sender: owner-flexfax@celestial.com

The hylafax config(5) man page claims that "Yes" can be used as a true
boolean value in config file entries, but it appears that the version
of streq() inherited by the getBoolean() function does case-sensitive
comparisons, so "Yes" doesn't work but "yes" does.

I'm not sure which is wrong, getBoolean() or the man page, but I
suspect getBoolean :-).

  jik

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 16 Jul 1997 08:11:25 -0400
From: "Jonathan I. Kamens" <jik@kamens.brookline.ma.us>
To: flexfax@sgi.com
Subject: hylafax-4.0pl1: changes to work with SupraExpress 56e
Sender: owner-flexfax@celestial.com

I got at+fae=1 (i.e., auto-detect of fax/data) to work with the new
SupraExpress 56e class 1 faxmodem, although it took a bit of effort.
I had to make one source code change:

--- Class1Recv.c++	1997/07/16 01:31:17	1.1
+++ Class1Recv.c++	1997/07/16 11:53:56
@@ -63,14 +63,17 @@
 const AnswerMsg*
 Class1Modem::findAnswer(const char* s)
 {
-    static const AnswerMsg answer[2] = {
-    { "CONNECT ", 8,
+    static const AnswerMsg answer[3] = {
+    { "FAX",	 3,
+      FaxModem::AT_CONNECT, FaxModem::OK, FaxModem::CALLTYPE_FAX },
+    { "DATA",	 4,
       FaxModem::AT_NOTHING, FaxModem::OK, FaxModem::CALLTYPE_DATA },
     { "CONNECT",  7,
-      FaxModem::AT_NOTHING, FaxModem::OK, FaxModem::CALLTYPE_UNKNOWN },
+      FaxModem::AT_NOTHING, FaxModem::OK, FaxModem::CALLTYPE_DATA },
     };
     return strneq(s, answer[0].msg, answer[0].len) ? &answer[0] :
 	   strneq(s, answer[1].msg, answer[1].len) ? &answer[1] :
+	   strneq(s, answer[2].msg, answer[2].len) ? &answer[2] :
 	      FaxModem::findAnswer(s);
 }
 

This was necessary because with the SupraExpress 56e (and perhaps
previous SupraExpress modems, although I'm not sure about them), the
"FAX" result code is followed by "CONNECT" but "DATA" and "CONNECT"
aren't.  This was also necessary because the old
Class1Modem::findAnswer() function didn't look for FAX and DATA at
all.

If there really are some modems which sent "CONNECT" after both "FAX"
and "DATA" result codes, then I suppose there's a problem here -- I
don't see how to make the source code understand that for some class 1
modems, waitForConnect applies only to fax calls, while for others, it
applies to both fax and data calls.

Here's the relevant settings from the modem config file I'm using
(I've omitted the settings which are the same as the config(5)
defaults):

ModemType:		Class1		# use this to supply a hint
ModemRate:		115200		# rate for DCE-DTE communication
ModemFlowControl:	rtscts
ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD follows carrier
ModemDialCmd:		ATDT%s@		# T for tone dialing, @ for silence
ModemAnswerCmd:		ATA		# use this to answer phone
ModemAnswerFaxBeginCmd:	<19200>AT+FCLASS=1 # switch to 19200, class 1 for FAX
ModemAnswerDataBeginCmd: ATO		# go on-line
ModemNoFlowCmd:		AT&K		# disable flow control cmd
ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
ModemSoftFlowCmd:	AT&K4		# software flow control cmd
ModemWaitForConnect:	yes
ModemSetupAACmd:	AT+FCLASS=0;+FAE=1 # auto-answer works in class 0
ModemResultCodesCmd:	ATQ0X4W1	# enable result codes
Class1RecvAbortOK:	200		# wait 200ms for abort response

I'm not 100% certain, but I think that either the "X4" or the "W1" in
ModemResultCodesCmd is necessary to get the modem to report "FAX" and
"DATA" rather than just "CONNECT".  In any case, they don't hurt.

I suppose the "trick" of getting this to work was to use AT+FAE=1 in
class 0, since it works there, and then to switch to class 1 when it
indicates a fax connection.  The other trick was enabling
ModemWaitForConnect for incoming faxes, since without it, the modem
attempts to switch into fax receive mode before the modem has finished
the connection sequence, which causes the modem to abort the
connection.

  jik

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
cc: Alexandre Meissonnier <ameissonnier@dohle.com>
Subject: Re: Unspecified Transmit Phase D error... 
Date: Wed, 16 Jul 1997 08:44:36 -0400
From: Eric S Johnson <esj@cs.fiu.edu>
Sender: owner-flexfax@celestial.com

> Hi there!
> 
> From time to time I get "Unspecified Transmit Phase D errors" while sending 
> faxes. After one
> or two  pages have been transmitted normally, the connection is interrupted 
> after HylaFAX has
> sent the MPS (More Pages Same Document) signal. Following attempts to send 
> the same job
> sometimes succeed, somtimes they fail again with the same error message. 


Ive seen this same exact problem with my PPI PM288MTII modems. Intermittent
and aggravating. Any clues as to the cause would be appreciated.

E

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 16 Jul 1997 17:41:36 +0300
From: Ofri Sadowsky <ofri@sgijer.jerusalem.sgi.com>
Organization: SGI Biomedical
To: flexfax@sgi.com
Subject: faxgetty doesn't take over the serial port
Sender: owner-flexfax@celestial.com

I installed HylaFAX Facsimile Software, Version 4.0pl1 on a Silicon
Graphics O2 workstation operating on IRIX 6.3. I have a US-Robotics
Sprortster modem, through which I can send faxes sucessfully. I wanted
to set the modem to receive inbound DATA calls only (not fax).
The standard program to handle incoming calls was uugetty(1M) which is
executed according the the /etc/inittab commands. When I used the modem
for data only (without HylaFax), it would work OK. I was able to
initiate an outbound call from the machine, and an inbound call as well.
I replaced the line spawning uugetty in /etc/inittab with a line
spawning faxgetty (on the same device - ttyf1). faxgetty was able to
take the serial port (the LED indicator for DTE-DCE connection is on)
UNTIL i sent a fax document. After the send, faxgetty did not take
control of the port, and I had to kill it and have it respawned by
init() in order for the DTE-DCE connection to be on again (it turns off
right after the end of the send session).
The same thing happens if I use uugetty instead of faxgetty.

1. What can I do to avoid this (I wand to have inbound data calls, and
outbound data & fax)
2. Is it possible to use uugetty without faxgetty to handle incoming
calls (no voice or fax calls are expected for the number) ?
3. If I use faxgetty, how can I make it start uugetty instead of getty
for an incoming call, and is there any difference between the two?

Thanks,
     Ofri
-- 
------------------------------------
Ofri Sadowsky, System Administrator
Silicon Graphics Biomedical
Jerusalem, Israel
Ph#   (972)-2-6796355
Fax.  (972)-2-6796358
Email ofri@jerusalem.sgi.com
http://www.jerusalem.sgi.com/~ofri

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 16 Jul 1997 10:29:45 -0500 (CDT)
From: Mark Vitek <mvitek@emccta.com>
To: flexfax@sgi.com
Subject: Linux/HylaFAX/NIS Workaround
Sender: owner-flexfax@celestial.com


Under Linux (RedHat 4.1), running NIS, the
hostname/address resolution in InetTransport.c++
fails to properly resolve a given hostname.
It appears to be a bug somewhere in the Linux
NIS code.  However, here is the diffs to
implement a workaround.
Can not reach server at host "fax", port 4559.
Trying fax (127.0.0.1) at port 4559...HylaFAX scheduler on planet.emccta.com: Running
Modem ttyS2 (+1.847.267.1731): Sending job 10
Trying fax (205.164.34.34) at port 4559...
Connected to fax.emccta.com.
220 planet.emccta.com server (HylaFAX (tm) Version 4.0pl1) ready.
-> USER root
230 User root logged in.
-> PORT 205,164,34,20,7,68
200 PORT command successful.
-> LIST status
150 Opening new data connection for "status".
226 Transfer complete.Linux version 2.0.27 (root@hedgehog) (gcc version 2.7.2) #25 Sun Apr 6 10:00:14 CDT 1997Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2/specs
gcc version 2.7.2libc-5.3.12-174.0pl1*** /usr/local/src/hylafax-v4.0pl1/util/InetTransport.c++	Tue Nov 26 17:20:39 1996
--- InetTransport.c++	Wed Jul 16 10:09:57 1997
***************
*** 65,75 ****
  	if (l < s.length())
  	    proto = s.tail(s.length()-(l+1));
      }
!     struct hostent* hp = Socket::gethostbyname(client.getHost());
!     if (!hp) {
! 	emsg = client.getHost() | ": Unknown host";
! 	return (FALSE);
!     }
      int protocol;
      const char* cproto = proto;			// XXX for busted include files
      struct protoent* pp = getprotobyname(cproto);
--- 65,71 ----
  	if (l < s.length())
  	    proto = s.tail(s.length()-(l+1));
      }
! 
      int protocol;
      const char* cproto = proto;			// XXX for busted include files
      struct protoent* pp = getprotobyname(cproto);
***************
*** 79,84 ****
--- 75,87 ----
  	protocol = 0;
      } else
  	protocol = pp->p_proto;
+ 
+     struct hostent* hp = Socket::gethostbyname(client.getHost());
+     if (!hp) {
+ 	emsg = client.getHost() | ": Unknown host";
+ 	return (FALSE);
+     }
+     
      int fd = socket(hp->h_addrtype, SOCK_STREAM, protocol);
      if (fd < 0) {
  	emsg = "Can not create socket to connect to server.";
X-Mailer: exmh version 1.6.9 8/22/96
To: Hylafax Mailing List <flexfax@sgi.com>
Subject: Configuration of hylafax client only
Date: Wed, 16 Jul 1997 18:42:53 +0200
From: Michiel de Vries <Michiel.de.Vries@cwi.nl>
Sender: owner-flexfax@celestial.com


We are running the fax deamon on a SGI Indigo 6.2, but also want to send 
faxes from our sun workstations. As far as I understand you don't need the 
tiff library or ghostscript for the hylafax clients.

If I'm correct, does anyone has a configuration file for a clients only 
configuration, without tiff library & ghostscript requirements, or can 
anyone tell me what to change?

Thanks,
 
	-- Michiel     ***      mdvries@cwi.nl

Michiel de Vries, CWI, Amsterdam, The Netherlands.
Room: M339, Tel: +31 20 592 4265

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 16 Jul 1997 11:55:35 -0500
From: smcgee@helios.r07lab.epa.gov (Shaun)
Subject: ps2fax(gs) cant find Courier font
To: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

I have Solaris 2.5.1 and HylaFAX 4.0pl1.

Upon invoking "sendfax -d1111 filename" I get:

---
Jul 16 10:45:34 rommel FaxQueuer[17321]: JOB 44 (...): CONVERT DOCUMENT: bin/ps2fax -o docq/doc44.cover;30 -r 98 -w 1728 -l 280 -m 4294967295 -1 docq/doc44.cover
Jul 16 10:45:35 rommel FaxQueuer[17321]: JOB 44: CONVERT DOCUMENT: exit status 0xff00
Jul 16 10:45:35 rommel FaxQueuer[17259]: NOTIFY: bin/notify "doneq/q44" "no_formatter" ""
---

and running ps2fax manually produces:

---
Error: /invalidfont in findfont
Operand stack:
   Helvetica-Bold   15924   --nostringval--   Helvetica-Bold   Helvetica-Bold
---

> Ghostscript can't find the "Helvetica-Bold" font metric file. This file is 
> part of the HylaFAX distribution. Make sure that this file resides in the 
> same directory as ghostscript' own .afm files (usually 
> /usr/local/lib/ghostscript/fonts or /usr/local/share/ghostscript/fonts).

The font metric file is in /usr/local/lib/ghostscript/fonts.
The Fontmap file suggested setting GS_LIB to include Solaris's Type1 and Type3
fonts. 
setenv GS_LIB /usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type3
and then running ps2fax again produces:

---
Error: /invalidfont in findfont
Operand stack:
   Courier   23431   --nostringval--   Courier   Courier
---

This makes no sense to me, since both Helvetica-Bold and Courier font files 
are in /usr/openwin/lib/X11/fonts/(Type1/afm,Type1/outline,Type1/prebuilt).

Why can't it find Courier there?

--                                                                          --
"I predict that 8th Generation computers will compile no programs, run no 
applications, access no data.  They will be designed to give a variable 
spectrum of elegant, precise error messages describing your failure to 
induce them to do so."
--                                                                          --
Shaun McGee           UNIX System Administrator            phone: 913-551-7143
smcgee@helios.r07lab.epa.gov          Tri-Cor @ US EPA Region 7 Kansas City KS

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Thu, 17 Jul 1997 12:14:49 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Ofri Sadowsky <ofri@sgijer.jerusalem.sgi.com>
cc: flexfax@sgi.com
Subject: Re: faxgetty doesn't take over the serial port
Sender: owner-flexfax@celestial.com

On Wed, 16 Jul 1997, Ofri Sadowsky wrote:

[snip]
> spawning faxgetty (on the same device - ttyf1). faxgetty was able to
> take the serial port (the LED indicator for DTE-DCE connection is on)
> UNTIL i sent a fax document. After the send, faxgetty did not take
> control of the port, and I had to kill it and have it respawned by
> init() in order for the DTE-DCE connection to be on again (it turns off
> right after the end of the send session).
> The same thing happens if I use uugetty instead of faxgetty.

Hmm. Does your set up string for your modem have a setting which resets
the modem when DTR (?) drops low? Faxgetty uses quite a bit. The other
major thing to look for is: cabling.

Aside from this, you may try looking thru' (or post to the list) the
syslogd-trace logs for the conversation between faxgetty and your modem.
Once the fax has gone out, `faxstat -s' should read "Running and idle",
any other response will give usually you a good idea just what's wrong.

Cheers.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 16 Jul 1997 19:31:05 -0700 (PDT)
From: "C.K." <cwk@ceres.fwcnetworks.com>
To: flexfax@sgi.com
Subject: pagermap stuff? 
Sender: owner-flexfax@celestial.com

Does anyone have an example pager map file I can look at.

And, what does this mean:

FaxQueuer[192]: No regular expression for modem class


email : cwk@fwcnetworks.com
URL   : http://www.fwcnetworks.com/

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 16 Jul 1997 21:36:43 -0700 (PDT)
From: cwk <root@ceres.fwcnetworks.com>
To: flexfax@sgi.com
Subject: Different cover page
Sender: owner-flexfax@celestial.com

How do you tell sendpage to use a different cover page than the one in
/usr/local/lib/fax/faxcover.ps ?


email : cwk@fwcnetworks.com
URL   : http://www.fwcnetworks.com/

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 17 Jul 1997 08:17:54 +0100 (WET DST)
From: Dani Pardo <dani@minerva.enpl.es>
To: Michiel de Vries <Michiel.de.Vries@cwi.nl>
cc: Hylafax Mailing List <flexfax@sgi.com>
Subject: Re: Configuration of hylafax client only
Sender: owner-flexfax@celestial.com



On Wed, 16 Jul 1997, Michiel de Vries wrote:

>
>We are running the fax deamon on a SGI Indigo 6.2, but also want to send 
>faxes from our sun workstations. As far as I understand you don't need the 
>tiff library or ghostscript for the hylafax clients.
>
>If I'm correct, does anyone has a configuration file for a clients only 
>configuration, without tiff library & ghostscript requirements, or can 
>anyone tell me what to change?
>

	I'd get the hylafax binaries for solaris, and with pkgadd, you
install only the clients. To send faxes, you can use sendfax -h host.
You can also use tkhylafax. The tiff libraries and ghostscript are needed
for the server, to do the image conversion.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 17 Jul 1997 08:24:07 +0100 (WET DST)
From: Dani Pardo <dani@minerva.enpl.es>
To: Ofri Sadowsky <ofri@sgijer.jerusalem.sgi.com>
cc: flexfax@sgi.com
Subject: Re: faxgetty doesn't take over the serial port
Sender: owner-flexfax@celestial.com



On Wed, 16 Jul 1997, Ofri Sadowsky wrote:

>I installed HylaFAX Facsimile Software, Version 4.0pl1 on a Silicon
>Graphics O2 workstation operating on IRIX 6.3. I have a US-Robotics
>Sprortster modem, through which I can send faxes sucessfully. I wanted
>to set the modem to receive inbound DATA calls only (not fax).

 If you don't need to receive faxes, you don't need faxgetty..

>UNTIL i sent a fax document. After the send, faxgetty did not take
>control of the port, and I had to kill it and have it respawned by
>init() in order for the DTE-DCE connection to be on again (it turns off
>right after the end of the send session).
>The same thing happens if I use uugetty instead of faxgetty.
 
 I'll try to use uugety to get the incoming data calls. I had a problem
like this.. when Hylafax hangs de modem, it leaves it in an undesired
state, y solved that adding the command
 ModemOnHookCmd:         ATH0S0=1 
in my /var/spool/fax/etc/config.cua_a configuration.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: lotfi.azaiez@rz.fh-nuernberg.de
Comments: Authenticated sender is <lotfi.azaiez@rz-everest.rz.fh-nuernberg.de>
To: flexfax@sgi.com
Date: Thu, 17 Jul 1997 13:33:22 +0000
Subject: faxmail :attachment file ?
Sender: owner-flexfax@celestial.com

Hi, I set up a mail to fax gateway using Hylafax on Linux.  I tried
to use Pegasus mail to send mail with a postscript file and a 
winword file attached, to the gateway. 
However, i only get the message body while the attachment are not 
faxed.  
mail with no attachment file works fine . I'd like to know how to 
send attachment in MIME format through Hylafax.  

Error message as fax :

(The following section of this message contains a file attachment)
(prepared for transmission using the Internet MIME message format.)
(If you are using Pegasus Mail, or any another MIME-compliant 
system,)
(you should be able to save it or view it from within your mailer.)

(If you cannot, please ask your system administrator for 
assistance.)

(DISCARDED image/gif GOES HERE)

DISCARDED application/msword GOES HERE)


any help ?  
thanks a lot!
Dipl.-Ing.(FH) Lotfi Azaiez
EDV-Verwaltung
Georg-Simon-Ohm-Fachhochschule Nuernberg
kesslerplatz 12, 90489 Nuernberg
Tel: 0911/5880848
Fax: 0911/5880861

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: arxer@bcn.servicom.es
Date: Thu, 17 Jul 1997 16:53:31 +0200
Reply-To: arxer@bcn.servicom.es
To: flexfax@sgi.com
Subject: FaxQueuer misfunction
Sender: owner-flexfax@celestial.com

Hello!

I'm configuring a send-only facsimile server with the following
configuration:

    Pentium 66
    Linux Slackware 2.0.0
    Sendmail 8.7.5
    Hylafax 4.0pl1
    Dirk-faxmailer script

I've put the following sentences in the rc.local file

    faxq
    hfaxd -i hylafax -o fax -s snpp
    faxgetty cua1&

and I've got the followin log lines:

Jul 17 16:41:07 haddock FaxQueuer[166]: No regular expression for modem
class
Jul 17 16:41:07 haddock FaxQueuer[166]: HylaFAX (tm) Version 4.0pl1
Jul 17 16:41:07 haddock FaxQueuer[166]: Copyright (c) 1990-1996 Sam
Leffler
Jul 17 16:41:07 haddock FaxQueuer[166]: Copyright (c) 1991-1996 Silicon
Graphics, Inc.

everything in the /var/spool/fax/etc/conf and
/var/spool/fax/etc/conf.cua1 files seems correct, but when I try to send
a mail it redirects to the dirk-faxmailer script and there finish the
trip, could anyone help me?
Thank you very much.

--
Bye,

Ramon Arxer i Galabert

e-mail :
 arxer@bcn.servicom.es
 ramon25@casal.upc.es
WWW :
 http://yi.com/home/ArxerRamon
 http://casal.upc.es/~ramon25

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 17 Jul 1997 18:19:36 +0000
To: HylaFAX <flexfax@sgi.com>
From: Phil Watkinson <pkw@elgro.co.uk>
Subject: Re: Is hylafax sleeping?
Cc: Ramon Arxer i Galabert <arxer@bcn.servicom.es>
Sender: owner-flexfax@celestial.com

At 01:40 PM 7/15/97 +0200, Ramon Arxer i Galabert wrote:
>[snip]
>I've some doubts about my configuration:
>
>    * My fax configuration, I run "faxgetty" on the "rc.local" file with
>the following command :
>
>            faxgetty cua1&
>
>[snip]
>
I am running RedHat Linux 4.0 with HylaFAX 4.0pl1, and start faxgetty at
bootup with this entry in my /etc/inittab file :-

	# Run faxgetty for the modem
	t2:23:respawn:/usr/local/sbin/faxgetty cua1

I don't use the old protocol nor pagers, so my rc.local file only has the
following :-

	# Start HylaFAX fax server
	/usr/local/sbin/faxq
	/usr/local/sbin/hfaxd -i hylafax

So, a faxstat command returns :-

	[~]# faxstat
	HylaFAX scheduler on derrick.elgro.co.uk: Running
	Modem cua1 (722304): Running and idle


May be worth a go. Hope it helps,

Phil Watkinson,
Boston, UK.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
Subject: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
From: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Date: 17 Jul 1997 20:28:58 +0200
Lines: 43
Sender: owner-flexfax@celestial.com

Hi

 I compiled the program, and installed it, so far so good.

 When I later run faxstat -v, here's what happens:

mortens@oslo:~$ /local/fax/bin/faxstat -v
Trying localhost (127.0.0.1) at port 4559...
Connected to localhost.
220 oslo server (HylaFAX (tm) Version 4.0pl1) ready.
-> USER mortens
230 User mortens logged in.
-> PORT 127,0,0,1,181,71
200 PORT command successful.
-> LIST status
425 Cannot create data socket (127.0.0.1,4558): Bad file number.

 Here is the relevant part from truss hfaxd

2097:   read(0, " L I S T   s t a t u s\r".., 1024)     = 13
2097:   ioctl(0, I_FIND, "sockmod")                     = 1
2097:   fcntl(0, F_SETFL, 0x00000002)                   = 0
2097:   stat("/etc/shutdown", 0xEFFFF350)               Err#2 ENOENT
2097:   stat("status", 0xEFFFF1A0)                      = 0
2097:   open("status", O_RDONLY|O_NDELAY)               = 4
2097:   fcntl(4, F_SETFD, 0x00000001)                   = 0
2097:   fstat(4, 0xEFFFF1B0)                            = 0
2097:   open("/dev/tcp", O_RDWR)                        Err#6 ENXIO
2097:   close(-1)                                       Err#9 EBADF
2097:   write(1, " 4 2 5   C a n n o t   c".., 66)      = 66

dev/tcp in the spool area looks like this:

crw-rw-rw-   1 root     uucp      11,  42 Jul 15 17:06 tcp

which is the same as /dev/tcp.

What's wrong?

Morten
-- 
mortens@pvv.org
Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Steve Williams <steve@genie96.com>
Subject: Re: FaxQueuer misfunction
To: arxer@bcn.servicom.es
Date: Thu, 17 Jul 1997 12:48:58 -0600 (MDT)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> 
> Hello!
> 
> I'm configuring a send-only facsimile server with the following
> configuration:
> 
>     Pentium 66
>     Linux Slackware 2.0.0
>     Sendmail 8.7.5
>     Hylafax 4.0pl1
>     Dirk-faxmailer script
> 
> I've put the following sentences in the rc.local file
> 
>     faxq
>     hfaxd -i hylafax -o fax -s snpp
>     faxgetty cua1&
> 
> and I've got the followin log lines:
> 
> Jul 17 16:41:07 haddock FaxQueuer[166]: No regular expression for modem

***** BINGO *****

Read the config(4) for the ModemClass paramater.  _IF_ you are going to use
the ModemClass, you had better understand what it does.  It DOES NOT define
the Fax Class of the modem ( 1, 2, 2.0 ) as most people seem to think.

Here is mine..
/usr/spool/fax/etc/config:ModemClass:		"any: tty[1-2]"

> class
> Jul 17 16:41:07 haddock FaxQueuer[166]: HylaFAX (tm) Version 4.0pl1
> Jul 17 16:41:07 haddock FaxQueuer[166]: Copyright (c) 1990-1996 Sam
> Leffler
> Jul 17 16:41:07 haddock FaxQueuer[166]: Copyright (c) 1991-1996 Silicon
> Graphics, Inc.
> 
> everything in the /var/spool/fax/etc/conf and
> /var/spool/fax/etc/conf.cua1 files seems correct, but when I try to send
> a mail it redirects to the dirk-faxmailer script and there finish the
> trip, could anyone help me?
> Thank you very much.
> 
> --
> Bye,
> 
> Ramon Arxer i Galabert
> 
> e-mail :
>  arxer@bcn.servicom.es
>  ramon25@casal.upc.es
> WWW :
>  http://yi.com/home/ArxerRamon
>  http://casal.upc.es/~ramon25
> 
> 
> 
> 


-- 
	Steve Williams, Calgary, Alberta, Canada
	Genie Computer Systems Inc.
	steve@genie96.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Fri, 18 Jul 1997 08:46:13 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: arxer@bcn.servicom.es
cc: flexfax@sgi.com
Subject: Re: FaxQueuer misfunction
Sender: owner-flexfax@celestial.com

On Thu, 17 Jul 1997 arxer@bcn.servicom.es wrote:

> and I've got the followin log lines:
>
> Jul 17 16:41:07 haddock FaxQueuer[166]: No regular expression for modem
> class

This indicates an error in your config.cua1 file. Make sure you
haven't confused the following parameters -

    ModemType:
    ModemClass:

Check out config(4f) for more details.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From arxer@bcn.servicom.es  Wed Feb 17 13:55:25 1999
Date: Thu, 17 Jul 1997 22:46:26 +0200
From: arxer@bcn.servicom.es
Reply-To: arxer@bcn.servicom.es
To: pkw@elgro.co.uk
Subject: Re: Is hylafax sleeping?

Hello Phil,

Thank you very much for your fast answer, I think the modification in
the inittab file was a solution of a section of the big problem. Now I
think it's the FaxQueuer who has problems I've the following entries in
the log file:

Jul 17 16:41:07 haddock FaxQueuer[166]: No regular expression for modem
class
Jul 17 16:41:07 haddock FaxQueuer[166]: HylaFAX (tm) Version 4.0pl1
Jul 17 16:41:07 haddock FaxQueuer[166]: Copyright (c) 1990-1996 Sam
Leffler
Jul 17 16:41:07 haddock FaxQueuer[166]: Copyright (c) 1991-1996 Silicon
Graphics, Inc.

Could you gave some advices to find the correct way?
Thanks.
--
Best regards,

Ramon Arxer i Galabert

e-mail :
 arxer@bcn.servicom.es
 ramon25@casal.upc.es
WWW :
 http://yi.com/home/ArxerRamon
 http://casal.upc.es/~ramon25


From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: Mime Converter
To: bernard.waeber@profora.ch (Bernard Waeber)
Date: Fri, 18 Jul 1997 00:03:27 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> 
> Does HylaFax handle attached MS-Word docs from an e-mail ??
> Are there maybe any converters around for that.
> For regular text based e-mail HylaFax works fine.

> Bernard Waeber


I'm pretty certain that Microsoft haven't written an MS-Word to PS filter
for Unix.  If anyone else has, it is almost certainly commercial software.


On balance, I think Microsoft are the only people who might have an
interest, and then only from a point of view of making Word a de facto
portable document format (note lowercase), not from one of undermining the
market for fax gateways on Microsoft operating systems (c.f. Word Viewer).


This seems to have FAQ status, so if you've found otherwise, it would
be helpful to report back to the list.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 18 Jul 1997 09:12:58 +1000
From: Steve Cliffe <steve@uow.edu.au>
Organization: ITS, University of Wollongong
To: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
CC: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
Sender: owner-flexfax@celestial.com

Morten Skjelland wrote:
> 
> Hi
> 
>  I compiled the program, and installed it, so far so good.
> 
>  When I later run faxstat -v, here's what happens:
> 
> mortens@oslo:~$ /local/fax/bin/faxstat -v
> Trying localhost (127.0.0.1) at port 4559...
> Connected to localhost.
> 220 oslo server (HylaFAX (tm) Version 4.0pl1) ready.
> -> USER mortens
> 230 User mortens logged in.
> -> PORT 127,0,0,1,181,71
> 200 PORT command successful.
> -> LIST status
> 425 Cannot create data socket (127.0.0.1,4558): Bad file number.
> 
>  Here is the relevant part from truss hfaxd
> 
> 2097:   read(0, " L I S T   s t a t u s\r".., 1024)     = 13
> 2097:   ioctl(0, I_FIND, "sockmod")                     = 1
> 2097:   fcntl(0, F_SETFL, 0x00000002)                   = 0
> 2097:   stat("/etc/shutdown", 0xEFFFF350)               Err#2 ENOENT
> 2097:   stat("status", 0xEFFFF1A0)                      = 0
> 2097:   open("status", O_RDONLY|O_NDELAY)               = 4
> 2097:   fcntl(4, F_SETFD, 0x00000001)                   = 0
> 2097:   fstat(4, 0xEFFFF1B0)                            = 0
> 2097:   open("/dev/tcp", O_RDWR)                        Err#6 ENXIO
> 2097:   close(-1)                                       Err#9 EBADF
> 2097:   write(1, " 4 2 5   C a n n o t   c".., 66)      = 66
> 
> dev/tcp in the spool area looks like this:
> 
> crw-rw-rw-   1 root     uucp      11,  42 Jul 15 17:06 tcp
> 
> which is the same as /dev/tcp.
> 
> What's wrong?
> 

I had exactly the same problem when I attempted to upgrade from version
3. I tracked it down to it being something to do with the fact that
hfaxd is running in a chroot'd environment. I created every possible
device entry I could think of in the spool/fax/dev directory but
couldn't get it to work. 

I eventually gave up and went back to version 3. If you find or hear
anything I'd appreciate it if you could pass it on.

Steve.
Attachment Converted: "c:\program files\eudora\attach\smime.p7s"

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Fri, 18 Jul 1997 14:29:27 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
cc: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
Sender: owner-flexfax@celestial.com

On 17 Jul 1997, Morten Skjelland wrote:

> 
> dev/tcp in the spool area looks like this:
> 
> crw-rw-rw-   1 root     uucp      11,  42 Jul 15 17:06 tcp
> 
> which is the same as /dev/tcp.

Some other device which /var/spool/fax/dev/tcp uses doesn't exist;
hence the cryptic error. For example, on SCO OS 5 systems, you also
have to create /var/spool/fax/dev/socksys. I'm not sure about
Solaris, but you could check that out and see.

Cheers.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Comments: Authenticated sender is <jmruiz@pop.cicyt.es>
From: "Jose Manuel Ruiz" <jmruiz@cicyt.es>
Organization: CICYT
To: flexfax@sgi.com
Date: Fri, 18 Jul 1997 09:25:13 +0000
Subject: Winflex and hylafax problem
Reply-to: jmruiz@cicyt.es
Sender: owner-flexfax@celestial.com

Sorry, I am new to this list and perhaps this is an old problem ...

I have the following configuration
- Linux (2.0.30 kernel)
- Ghostscript 4.03
- Hylafax for linux (binary distribution 4.0pl1)
- Winflex from ftp.tecc.co.uk:/pub/winflex configured via an Apple 
LaserPrinter in Win 3.11
Hylafax works fine from the linux machine, but when I sending a fax
from the Windows machine, I get the followin error at server (after
connecting with the remote fax):

Modem does not support document page width, max page width 2432 
pixels, image width 1686 pixels

Any ideas?
Jose Ruiz
jmruiz@cicyt.es

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
From: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Date: 18 Jul 1997 11:57:01 +0200
Lines: 23
Sender: owner-flexfax@celestial.com

Jonathan Chen <jonc@pinnacle.co.nz> writes:

| Some other device which /var/spool/fax/dev/tcp uses doesn't exist;
| hence the cryptic error. For example, on SCO OS 5 systems, you also
| have to create /var/spool/fax/dev/socksys. I'm not sure about
| Solaris, but you could check that out and see.

It dit not work when I did:

$ cd /local/fax/spool
$ cp -av /dev /devices .

But it worked when I did:

$ mount -F lofs /dev /local/fax/spool/dev
$ mount -F lofs /devices /local/fax/spool/devices

If someone figures it out, please let me know. :)

Morten
-- 
mortens@pvv.org
Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.


From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 18 Jul 1997 10:18:11 -0400 (EDT)
From: Nico Garcia <raoul@cirl.meei.harvard.edu>
To: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Cc: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
Sender: owner-flexfax@celestial.com

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

On 18 Jul 1997, Morten Skjelland wrote:

> Jonathan Chen <jonc@pinnacle.co.nz> writes:
> 
> | Some other device which /var/spool/fax/dev/tcp uses doesn't exist;
> | hence the cryptic error. For example, on SCO OS 5 systems, you also
> | have to create /var/spool/fax/dev/socksys. I'm not sure about
> | Solaris, but you could check that out and see.
> 
> It dit not work when I did:
> 
> $ cd /local/fax/spool
> $ cp -av /dev /devices .
> 
> But it worked when I did:
> 
> $ mount -F lofs /dev /local/fax/spool/dev
> $ mount -F lofs /devices /local/fax/spool/devices
> 
> If someone figures it out, please let me know. :)
> 
> Morten

Hmm. I remember when we first found problems like this for
SunOS. hfaxd, when it runs, is supposed to make the $SPOOLDIR/dev/*
devices as needed.  *HOWEVER*: if there is already a file there, it
will fail. And symbolic links will definitely fail. We saw this
because the *.tar files I created for SunOS had the devices and the
pipes because I used GNU tar, which could handle them, but SunOS tar
could not and created simple files when people unpacked them.

Let me suggest that you delete what is currently in $SPOOLDIR/dev, run
hfaxd by hand with the "hfaxd -d" option, and see what you get. If
that doesn't work, then use trace or strace on "hfaxd -d" to see
what you get and where it breaks.

"We" may need to add code to hfaxd to create or check for an additional
device there.

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

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

iQCVAwUBM897HT/+ItycgIJRAQE12wP/WjMfIu612UoorERmofkGtAIKFEOj/Qhx
fRcqNkBYTWIsyc468DTwjB8CLZRUFXrGiAqfBfKyPiF14tBvIIcGSDaPKGwY4xcT
1EDCAZ3Eci+7DJU50ODOuSFk8VLC+klsevptZojLlIwq+IvZrlH9mSBklkLM3hbZ
mLVd9iNGSWw=
=lYEV
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tyd1.tydfam.iijnet.or.jp: localhost.tydfam.iijnet.or.jp [127.0.0.1] didn't use HELO protocol
To: flexfax@sgi.com
Subject: Forward: facsimile not received
Reply-To: ken@tydfam.iijnet.or.jp
Date: Fri, 18 Jul 1997 23:33:27 +0900
From: Takeshi Yamada <ken@tyd1.tydfam.iijnet.or.jp>
Sender: owner-flexfax@celestial.com

  I am enjoying hylafax 4.0pl1, but found the attached error when 
trying to receive multi pages fax.  It complains about EOL not coming 
for 5 seconds.

  I hope that someone could kindly teach me the fix.

  I am using USR Sportster Voice336 on FreeBSD-current, and it seems
OK in inbounce/outbounce communication for 1 page fax with usr-2.0
configuration.  It seems to appear when I try to receive long (several
pages) fax.

Thank you.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 18 Jul 1997 11:57:31 -0400
From: "Jonathan I. Kamens" <jik@kamens.brookline.ma.us>
To: flexfax@sgi.com
Subject: Byte-order, resolution problems in util/TypeRules.c++
Sender: owner-flexfax@celestial.com

There are two problems with util/TypeRules.c++ in hylafax-v4.0pl1:

1) It doesn't convert shorts and longs read from the typerules file
   from network byte order into host byte order, so if the host's byte
   order isn't network byte order, comparisons of the constants in the
   typerules file against the data in the file being faxed will fail.
   The patch below fixes this.

2) It uses "%g" instead of "%f" for resolution parameters inserted
   into the commands into the typerules file.  This is problematic
   both because many of the problems it's calling (dvips, in
   particular, is where I encountered this problem) won't accept
   scientific notation for numerical arguments, and because some
   precision is lost unnecessarily (e.g., for a fine-resolution fax,
   204x196 turns into 2.00e2x2.00e2).  The patch below changes the %V
   and %R formats to use "%f" instead of "%g"; I don't know for sure
   whether the others should be changed, so I didn't change them.

--- TypeRules.c++	1997/07/18 15:12:06	1.1
+++ TypeRules.c++	1997/07/18 15:49:24
@@ -32,6 +32,9 @@
 
 #include <string.h>
 #include <stdlib.h>
+extern "C" {
+#include <netinet/in.h>
+}
 
 TypeRule::TypeRule() {}
 TypeRule::~TypeRule() {}
@@ -106,7 +109,7 @@
 	if (off + 2 < size) {
 	    u_short w;
 	    memcpy(&w, cp+off, 2);
-	    v = w;
+	    v = ntohs(w);
 	    break;
 	}
 	if (verbose)
@@ -115,6 +118,7 @@
     case LONG:
 	if (off + 4 < size) {
 	    memcpy(&v, cp+off, 4);
+	    v = ntohl(v);
 	    break;
 	}
 	if (verbose)
@@ -184,9 +188,9 @@
 	    switch (c = cmd[i]) {
 	    case 'i':	fmtd.append(input);			  continue;
 	    case 'o':	fmtd.append(output);			  continue;
-	    case 'R':	fmtd.append(fxStr(hr, "%.2g"));		  continue;
+	    case 'R':	fmtd.append(fxStr(hr, "%.2f"));		  continue;
 	    case 'r':	fmtd.append(fxStr(hr/25.4, "%.2g"));	  continue;
-	    case 'V':	fmtd.append(fxStr(vr, "%.2g"));		  continue;
+	    case 'V':	fmtd.append(fxStr(vr, "%.2f"));		  continue;
 	    case 'v':	fmtd.append(fxStr(vr/25.4, "%.2g"));	  continue;
 	    case 'f':	fmtd.append(df);			  continue;
 	    case 'W':	fmtd.append(fxStr(pw, "%.2g"));		  continue;

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 18 Jul 1997 12:01:03 -0400
From: "Jonathan I. Kamens" <jik@kamens.brookline.ma.us>
To: flexfax@sgi.com
Subject: dvips command in typerules won't do correct resolution
Sender: owner-flexfax@celestial.com

The dvips command in the typerules file shipped with flexfax will use
whatever its default resolution is, probably either 300dpi or 600dpi,
and the resulting PS file will suffer when converted to fax
resolution.

I solved this problem by creating two new dvips config files,
config.fax-204.00x196.00 and config.fax-204.00x98.00, configured to
use the gtfax and gtfaxlo metafont modes respectively, and then
modifying typerules to specify "-P fax-%Rx%V" to dvips.  It may be a
hack, but it's a useful hack, so it may be worth documenting somewhere
in the html :-).

Thanks,

  jik

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: faxmail :attachment file ?
To: lotfi.azaiez@rz.fh-nuernberg.de
Date: Fri, 18 Jul 1997 20:15:32 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> 
> (DISCARDED image/gif GOES HERE)

You haven't got a handler for GIF files.  You should be able to put one
together with the portable bit map tools.  (See the faxmail man page.)

> DISCARDED application/msword GOES HERE)

I don't believe there is a handler (i.e. a command line Word to PS convertor
for Unix).  If there is, it is very unlikely to be free software.  Word is
a proprietory format.  You will have to convert to an open standard in the
Microsoft world, e.g. print to file to a postscript printer (see other recent
articles about the correct options for this under Win '95).


One of the penalties for going a proprietory route, like Microsoft, is that
the vendor will try to lock you in to their products.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 18 Jul 1997 14:18:11 -0600 (MDT)
From: Jim Hribnak <hribnak@nucleus.com>
To: flexfax@sgi.com
Subject: weird sendmailerror with email->gate setup
Sender: owner-flexfax@celestial.com


I am getting this error when I send email to our fax server.

Jul 18 14:00:22 news sendmail[18835]: OAA18834:
to="|/usr/contrib/lib/hylafax/mailfax -d jim@5419474.fax", 
delay=00:00:01, xdelay=00:00:01, mailer=prog,
stat=unknown mailer error 255
Jul 18 14:00:22 news sendmail[18835]: OAA18834: OAA18835: DSN: unknown
mailer error 255


I have an alias setup for the user who is supposed to be faxed and when I
send the email to jim@fax.nucleus.com it gets mail to the fax server
machine and the above error is generated..  Does anyone know what I did
wrong in setting up the email -> fax


I am at wits end and can not figure this out...


From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
cc: Geetanjali <geta@sdnhq.undp.org>
From: Shuvam Misra <shuvam@spacenetindia.com>
Reply-to: Shuvam Misra <shuvam@spacenetindia.com>
Subject: Hylafax will not answer incoming calls
Date: Sat, 19 Jul 1997 10:20:36 +0530
Sender: owner-flexfax@celestial.com

Hi everyone,

I have been using Hylafax for a couple of years now, and have set it up
on various machines, all of them Linux boxes and ZyXEL modems. The latest
install I did yesterday gave me an error I've never seen before.

My hardware is Intel 486DX4 with 16MB, running Linux 2.0.27 from
Slackware 3.1.0. I'm using Hylafax 4.0pl1 binary distribution which I
got from ftp.sgi.com. My modem is ZyXEL O288S (the Omni) with firmware
1.18. I'm running faxgetty from inittab, since I want to handle incoming
and outgoing faxes.

I've tested the modem with kermit. I've made outgoing calls, and also
done an "ATZ" followed by "ATE0Q1S0=2" and received an incoming data
call. The caller dialled in, the modem answered at 28.8kbps after two
rings, and we chatted for half an hour. No flakiness anywhere.

I tried sending out faxes using "sendfax". They went out perfectly. (My
favourite test images are golfer.ps and tiger.ps from the GS
distribution.) Even details like the time and the LocalID string on top
of the page were perfect.

But when I dial into the modem, Hylafax doesn't answer. I switched on
SessionTracing and ServerTracing to level 33037, and this fragment is
what I got in the log:

       			[... init complete ...]

       17:01:45 rose FaxQueuer[128]: MODEM faxmodem: READY, capabilities P3fd7e7ff:ff
       17:01:45 rose FaxGetty[1857]: STATE CHANGE: LISTENING -> RUNNING
       17:01:45 rose FaxGetty[1857]: MODEM input buffering disabled
       17:01:46 rose FaxGetty[1857]: STATE CHANGE: RUNNING -> LISTENING
       17:01:46 rose FaxGetty[1857]: MODEM input buffering enabled
       17:01:46 rose FaxQueuer[128]: MODEM faxmodem: BUSY
       17:01:51 rose FaxGetty[1857]: MODEM TIMEOUT: reading line from modem
       17:01:51 rose FaxGetty[1857]: <-- [5:ATH0\r]
       17:01:51 rose FaxGetty[1857]: --> [2:OK]
       17:01:51 rose FaxGetty[1857]: MODEM set DTR OFF
       17:01:51 rose FaxGetty[1857]: MODEM set DTR OFF
       17:01:54 rose FaxGetty[1857]: MODEM set DTR ON

       			[... init cycle restarted ...]

I had set the modem to answer after 2 rings. Each time, it would wait
for two rings, then give this message changing state from RUNNING to
LISTENING, then it would report MODEM TIMEOUT, then give the ATH0
command, and go into the reinitialisation cycle. If kept the calling
line on, this cycle would continue:

	1.	pause for two rings
	2.	report MODEM TIMEOUT
	3.	reinitialise the modem
	4.	pause for two more rings...

	ad nauseum.

Funnily, I use Linux 1.2.13 with an O288S firmware 1.13 at home. And
Hylafax 4.0pl1 works just fine. Is there something which changed when
Linux moved from 1.xx to 2.xx? Or is there something which broke when
the modem moved from 1.13 to 1.18 firmware?

I remember reading something somewhere that with Linux 2.0, the kernel
now implements some I/O system calls differently, to make them conform
more closely with new standards. And apparently, the note said, one of
the apps which need modifications is Hylafax. I'd assumed that the new
Hylafax binaries would take care of these changes. Will anyone please
tell me whether my problem is due to these changes? Has anyone faced
these problems at all?

Is this an FAQ? I'm still searching through the list of questions, but
nothing seems to match.

Shuvam
== log fragment, showing cycling of initialisations and errors =========

Jul 18 17:01:45 rose FaxQueuer[128]: MODEM faxmodem: READY, capabilities P3fd7e7ff:ff
Jul 18 17:01:45 rose FaxGetty[1857]: STATE CHANGE: LISTENING -> RUNNING
Jul 18 17:01:45 rose FaxGetty[1857]: MODEM input buffering disabled
Jul 18 17:01:46 rose FaxGetty[1857]: STATE CHANGE: RUNNING -> LISTENING
Jul 18 17:01:46 rose FaxGetty[1857]: MODEM input buffering enabled
Jul 18 17:01:46 rose FaxQueuer[128]: MODEM faxmodem: BUSY
Jul 18 17:01:51 rose FaxGetty[1857]: MODEM TIMEOUT: reading line from modem
Jul 18 17:01:51 rose FaxGetty[1857]: <-- [5:ATH0\r]
Jul 18 17:01:51 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:51 rose FaxGetty[1857]: MODEM set DTR OFF
Jul 18 17:01:51 rose FaxGetty[1857]: MODEM set DTR OFF
Jul 18 17:01:54 rose FaxGetty[1857]: MODEM set DTR ON
Jul 18 17:01:54 rose FaxGetty[1857]: MODEM set baud rate: 38400 baud, input flow RTS/CTS, output flow RTS/CTS
Jul 18 17:01:54 rose FaxGetty[1857]: MODEM flush i/o
Jul 18 17:01:54 rose FaxGetty[1857]: <-- [39:AT&B1&N0&S0*F0S18=4S38.3=1E0V1Q0S0=0H0\r]
Jul 18 17:01:54 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:54 rose FaxGetty[1857]: <-- [21:ATS8=2S7=60&H3&D2&C1\r]
Jul 18 17:01:54 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:54 rose FaxGetty[1857]: <-- [12:AT+FCLASS=?\r]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [15:0,1,2,2.0,6,8,Z]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:55 rose FaxGetty[1857]: <-- [14:AT+FCLASS=2.0\r]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:55 rose FaxGetty[1857]: <-- [8:AT+FMI?\r]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [5:ZyXEL]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:55 rose FaxGetty[1857]: <-- [8:AT+FMM?\r]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [18:O288S  V 1.18     ]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:55 rose FaxGetty[1857]: <-- [8:AT+FMR?\r]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [18:O288S  V 1.18     ]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:55 rose FaxGetty[1857]: <-- [9:AT+FCC=?\r]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [43:(0,1),(0-5),(0-2),(0-2),(0,1),(0),(0),(0-7)]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:55 rose FaxGetty[1857]: <-- [9:AT+FCQ=?\r]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [11:(0-2),(0-2)]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:55 rose FaxGetty[1857]: <-- [9:AT+FAP=?\r]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [5:ERROR]
Jul 18 17:01:55 rose FaxGetty[1857]: <-- [9:AT+FSP=?\r]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [3:0,1]
Jul 18 17:01:55 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:55 rose FaxGetty[1857]: <-- [14:AT+FCLASS=2.0\r]
Jul 18 17:01:56 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:56 rose FaxGetty[1857]: <-- [9:AT+FLO=2\r]
Jul 18 17:01:56 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:56 rose FaxGetty[1857]: <-- [9:AT+FPP=0\r]
Jul 18 17:01:56 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:56 rose FaxGetty[1857]: <-- [9:AT+FBO=0\r]
Jul 18 17:01:56 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:56 rose FaxGetty[1857]: <-- [10:AT+FCT=30\r]
Jul 18 17:01:56 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:56 rose FaxGetty[1857]: <-- [15:AT+FNR=1,1,1,1\r]
Jul 18 17:01:56 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:56 rose FaxGetty[1857]: <-- [9:AT+FIE=0\r]
Jul 18 17:01:56 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:56 rose FaxGetty[1857]: <-- [23:AT+FCC=1,5,2,2,1,0,0,0\r]
Jul 18 17:01:56 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:56 rose FaxGetty[1857]: MODEM ZYXEL O288S/V 1.18
Jul 18 17:01:56 rose FaxGetty[1857]: <-- [5:ATM0\r]
Jul 18 17:01:56 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:56 rose FaxGetty[1857]: <-- [9:AT+FCR=1\r]
Jul 18 17:01:57 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:57 rose FaxGetty[1857]: <-- [24:AT+FLI="Ramon and Demm"\r]
Jul 18 17:01:57 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:57 rose FaxGetty[1857]: <-- [9:AT+FAA=1\r]
Jul 18 17:01:57 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:01:57 rose FaxQueuer[128]: MODEM faxmodem: READY, capabilities P3fd7e7ff:ff
Jul 18 17:01:57 rose FaxGetty[1857]: STATE CHANGE: LISTENING -> RUNNING
Jul 18 17:01:57 rose FaxGetty[1857]: MODEM input buffering disabled
Jul 18 17:01:58 rose FaxGetty[1857]: STATE CHANGE: RUNNING -> LISTENING
Jul 18 17:01:58 rose FaxGetty[1857]: MODEM input buffering enabled
Jul 18 17:01:58 rose FaxQueuer[128]: MODEM faxmodem: BUSY
Jul 18 17:02:03 rose FaxGetty[1857]: MODEM TIMEOUT: reading line from modem
Jul 18 17:02:03 rose FaxGetty[1857]: <-- [5:ATH0\r]
Jul 18 17:02:04 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:04 rose FaxGetty[1857]: MODEM set DTR OFF
Jul 18 17:02:04 rose FaxGetty[1857]: MODEM set DTR OFF
Jul 18 17:02:06 rose FaxGetty[1857]: MODEM set DTR ON
Jul 18 17:02:06 rose FaxGetty[1857]: MODEM set baud rate: 38400 baud, input flow RTS/CTS, output flow RTS/CTS
Jul 18 17:02:06 rose FaxGetty[1857]: MODEM flush i/o
Jul 18 17:02:06 rose FaxGetty[1857]: <-- [39:AT&B1&N0&S0*F0S18=4S38.3=1E0V1Q0S0=0H0\r]
Jul 18 17:02:06 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:06 rose FaxGetty[1857]: <-- [21:ATS8=2S7=60&H3&D2&C1\r]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:07 rose FaxGetty[1857]: <-- [12:AT+FCLASS=?\r]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [15:0,1,2,2.0,6,8,Z]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:07 rose FaxGetty[1857]: <-- [14:AT+FCLASS=2.0\r]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:07 rose FaxGetty[1857]: <-- [8:AT+FMI?\r]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [5:ZyXEL]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:07 rose FaxGetty[1857]: <-- [8:AT+FMM?\r]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [18:O288S  V 1.18     ]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:07 rose FaxGetty[1857]: <-- [8:AT+FMR?\r]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [18:O288S  V 1.18     ]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:07 rose FaxGetty[1857]: <-- [9:AT+FCC=?\r]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [43:(0,1),(0-5),(0-2),(0-2),(0,1),(0),(0),(0-7)]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:07 rose FaxGetty[1857]: <-- [9:AT+FCQ=?\r]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [11:(0-2),(0-2)]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:07 rose FaxGetty[1857]: <-- [9:AT+FAP=?\r]
Jul 18 17:02:07 rose FaxGetty[1857]: --> [5:ERROR]
Jul 18 17:02:07 rose FaxGetty[1857]: <-- [9:AT+FSP=?\r]
Jul 18 17:02:08 rose FaxGetty[1857]: --> [3:0,1]
Jul 18 17:02:08 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:08 rose FaxGetty[1857]: <-- [14:AT+FCLASS=2.0\r]
Jul 18 17:02:08 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:08 rose FaxGetty[1857]: <-- [9:AT+FLO=2\r]
Jul 18 17:02:08 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:08 rose FaxGetty[1857]: <-- [9:AT+FPP=0\r]
Jul 18 17:02:08 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:08 rose FaxGetty[1857]: <-- [9:AT+FBO=0\r]
Jul 18 17:02:08 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:08 rose FaxGetty[1857]: <-- [10:AT+FCT=30\r]
Jul 18 17:02:08 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:08 rose FaxGetty[1857]: <-- [15:AT+FNR=1,1,1,1\r]
Jul 18 17:02:08 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:08 rose FaxGetty[1857]: <-- [9:AT+FIE=0\r]
Jul 18 17:02:08 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:08 rose FaxGetty[1857]: <-- [23:AT+FCC=1,5,2,2,1,0,0,0\r]
Jul 18 17:02:08 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:08 rose FaxGetty[1857]: MODEM ZYXEL O288S/V 1.18
Jul 18 17:02:08 rose FaxGetty[1857]: <-- [5:ATM0\r]
Jul 18 17:02:09 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:09 rose FaxGetty[1857]: <-- [9:AT+FCR=1\r]
Jul 18 17:02:09 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:09 rose FaxGetty[1857]: <-- [24:AT+FLI="Ramon and Demm"\r]
Jul 18 17:02:09 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:09 rose FaxGetty[1857]: <-- [9:AT+FAA=1\r]
Jul 18 17:02:09 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:09 rose FaxQueuer[128]: MODEM faxmodem: READY, capabilities P3fd7e7ff:ff
Jul 18 17:02:09 rose FaxGetty[1857]: STATE CHANGE: LISTENING -> RUNNING
Jul 18 17:02:09 rose FaxGetty[1857]: MODEM input buffering disabled
Jul 18 17:02:10 rose FaxGetty[1857]: STATE CHANGE: RUNNING -> LISTENING
Jul 18 17:02:10 rose FaxGetty[1857]: MODEM input buffering enabled
Jul 18 17:02:10 rose FaxQueuer[128]: MODEM faxmodem: BUSY
Jul 18 17:02:15 rose FaxGetty[1857]: MODEM TIMEOUT: reading line from modem
Jul 18 17:02:15 rose FaxGetty[1857]: <-- [5:ATH0\r]
Jul 18 17:02:16 rose FaxGetty[1857]: --> [2:OK]
Jul 18 17:02:16 rose FaxGetty[1857]: MODEM set DTR OFF
Jul 18 17:02:16 rose FaxGetty[1857]: MODEM set DTR OFF
Jul 18 17:02:18 rose FaxGetty[1857]: MODEM set DTR ON

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
From: Shuvam Misra <shuvam@spacenetindia.com>
Reply-to: Shuvam Misra <shuvam@spacenetindia.com>
Subject: Hylafax doesn't answer incoming calls
Date: Sat, 19 Jul 1997 11:00:09 +0530
Sender: owner-flexfax@celestial.com

This is with reference to my earlier posting of my problem. Hylafax
4.0pl1 on Linux 2.0.27 (Slackware 3.1.0) and a ZyXEL O288S modem with
V1.18 firmware, is not answering incoming calls.

I read the Q.106 in the HylaFAQ, and there is a mention of incorrect
libg++ versions. That applies to Slackware 3.0.0. I checked with my
version of Slackware, and libg++ there is already the correct version.
So the issue here is not to do with that.

Hope one of you can help me.

Shuvam

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
From: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Date: 19 Jul 1997 22:37:06 +0200
Lines: 59
Sender: owner-flexfax@celestial.com

Nico Garcia <raoul@cirl.meei.harvard.edu> writes:

| Let me suggest that you delete what is currently in $SPOOLDIR/dev, run
| hfaxd by hand with the "hfaxd -d" option, and see what you get. If
| that doesn't work, then use trace or strace on "hfaxd -d" to see
| what you get and where it breaks.

If I do this, I get the same result as I got the first time.  dev/tcp
and dev/null is made, but the open of dev/tcp fails.  What I can't
understand, is that it works when I loopback mount /dev and /devices
into the spool-directory, and doesn't work if I copy the device
entries from /dev and /devices using cp -a, tar or ufsdump.

But, as long as it works with loopback mounting, it's ok with me.

Now I have another problem.

It looks like faxsend isn't able to talk to the modem.  Here is a
system-call trace of the faxsend process:

8962:   open("/dev/cua/a", 04006)                       = 4
8962:   fcntl(4, F_GETFL, 0x00000000)                   = 6
8962:   ioctl(4, I_FIND, "sockmod")                     = 0
8962:   ioctl(4, I_FIND, "sockmod")                     = 0
8962:   fcntl(4, F_SETFL, 0x00000002)                   = 0
8962:   fstat(4, 0xEFFFEFD0)                            = 0
8962:   fchown(4, 5, 5)                                 = 0
8962:   fchmod(4, 0600)                                 = 0
8962:   seteuid(0)                                      = 0
8962:   ioctl(4, TCGETS, 0xEFFFF030)                    = 0
8962:   ioctl(4, TCGETX, 0xEFFFF020)                    Err#22 EINVAL
8962:   ioctl(4, TCSETS, 0xEFFFF030)                    = 0
8962:   ioctl(4, TCFLSH, 0)                             = 0
8962:   write(4, " A T E 0 V 1 Q 0 S 0 = 0".., 14)      = 14
8962:   write(4, "\r", 1)                               = 1
8962:   sigaction(SIGALRM, 0xEFFFED18, 0x00000000)      = 0
8962:   setitimer(ITIMER_REAL, 0xEFFFED98, 0x00000000)  = 0
8962:   read(4, 0x0007E464, 1024)       (sleeping...)
8962:       Received signal #14, SIGALRM, in read() [caught]
8962:   read(4, 0x0007E464, 1024)                       Err#4 EINTR
8962:   setcontext(0xEFFFEBF8)
8962:   setitimer(ITIMER_REAL, 0x0006EF30, 0x00000000)  = 0
8962:   ioctl(4, TIOCMBIC, 0xEFFFF054)                  = 0
8962:   poll(0xEFFFD060, 0, 2600)       (sleeping...)
8962:   poll(0xEFFFD060, 0, 2600)                       = 0
8962:   ioctl(4, TIOCMBIS, 0xEFFFF054)                  = 0
8962:   close(4)                        (sleeping...)

And then it hangs.

If I use kermit, and issue the command 'ATE0V1Q0S0=0', I get the
responce 'OK', but it looks like faxsend never get's this responce.

Any ideas?

Morten
-- 
mortens@pvv.org
Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Sat, 19 Jul 1997 21:50:05 -0500
From: Neal Dalton <nrd@usmainstream.net>
To: Brian Walters <macbnr@saratoga.compassnet.com>
CC: Lawrence Cheung <lawrence@hktel.com>, flexfax@sgi.com
Subject: MS Fax Printer queue and another front end:  (Was RE: how to create a PS file in windows, maybe)
Sender: owner-flexfax@celestial.com

Brian Walters wrote:
> 
> By the way.... If there are any good VB programmers out there who could
> show me how to monitor for a print job spooled into the printer above I'd
> appreciate it. I've looked at some C code and just can't put it together.

Well, I had been think about how to use samba to do this.  I had all the
pieces, but couldn't make that mental leap.

It is possile to have the queue displayed with the printer.  I haven't
actually done this, yet.  I don't have a Micro$oft machine at home any
more.

Anyway, there is a web page for faxing with samba and sendfax & mgetty
that describe what I was thinging of.  It also provides another tool
that can be used to fax from Win95.

And the URL is:

  http://infaut.et.uni-magdeburg.de/~horstf

It is in German and English.

If you get to making the scripts for the queue and printing (before I
do), please post them.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: evan@telly.org (Evan Leibovitch)
Subject: textfmt can't find font info
To: flexfax@sgi.com
Date: Sun, 20 Jul 1997 13:42:41 -0400 (EDT)
Sender: owner-flexfax@celestial.com

I'm just trying a HylaFAX 4 install for the first time, on a
Linux 2.0.29 (Caldera) system. Ghostscript is a stock install off the
distribution CD. The binary package is hylafax-i386-linux-v4.0pl1-1.tar.gz
recently fetched off the FTP site

Everything installs and is running OK in terms of servers, modems, etc.
I believe I can send postscript files OK. I am having a problem with
sending textfiles.

The default typerules file wants to run textfmt using font
'Courier-Bold'. This leads to the generation of an error message
when running 'sendfax' on a plain-text file:

No font metric information found for "Courier-Bold"

...and it aborts the send.

When I change the typerules file to take out that font specification,
textfmt complains that it can't find "Courier" but uses a fix-pitch
font as default -- and the fax goes. (I haven't seen the result yet.)

I've had a look in my ghostscript fonts directory, and all seems to
be OK. While there is no file "Courier.afm" file, there is a "Fontmap"
file which looks intended to convert between Postscript font names and
actual filenames.

Any help is appreciated. Thanks

-- 
 Evan Leibovitch, Sound Software Ltd, located in beautiful Brampton, Ontario
Supporting PC-based Unix since 1985 / Caldera & SCO authorized / www.telly.org
If you're smart enough to be a programmer, you're too smart to be a programmer

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Sun, 20 Jul 1997 15:35:10 -0400 (EDT)
From: Nico Garcia <raoul@cirl.meei.harvard.edu>
To: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Cc: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
Sender: owner-flexfax@celestial.com

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

On 19 Jul 1997, Morten Skjelland wrote:

> Nico Garcia <raoul@cirl.meei.harvard.edu> writes:
> 
> | Let me suggest that you delete what is currently in $SPOOLDIR/dev, run
> | hfaxd by hand with the "hfaxd -d" option, and see what you get. If
> | that doesn't work, then use trace or strace on "hfaxd -d" to see
> | what you get and where it breaks.
> 
> If I do this, I get the same result as I got the first time.  dev/tcp
> and dev/null is made, but the open of dev/tcp fails.  What I can't
> understand, is that it works when I loopback mount /dev and /devices
> into the spool-directory, and doesn't work if I copy the device
> entries from /dev and /devices using cp -a, tar or ufsdump.

Do you copy *all* the device entries using tar, or just the ones you
think need making, such as dev/null and dev/tcp? And the SunOS version
of tar does *not* correctly create devices and pipes, it instead creates
files. Solaris may have the same problem. 

You could then use the GNU version of tar, or use "cd $SPOOLDIR; dump
0f - / | restore xvf - ./dev" to get them correctly.

> Now I have another problem.
> 
> It looks like faxsend isn't able to talk to the modem.  Here is a
> system-call trace of the faxsend process:
> 
> 8962:   open("/dev/cua/a", 04006)                       = 4
> 8962:   fcntl(4, F_GETFL, 0x00000000)                   = 6
> 8962:   ioctl(4, I_FIND, "sockmod")                     = 0
> 8962:   ioctl(4, I_FIND, "sockmod")                     = 0
> 8962:   fcntl(4, F_SETFL, 0x00000002)                   = 0
> 8962:   fstat(4, 0xEFFFEFD0)                            = 0
> 8962:   fchown(4, 5, 5)                                 = 0
> 8962:   fchmod(4, 0600)                                 = 0
> 8962:   seteuid(0)                                      = 0
> 8962:   ioctl(4, TCGETS, 0xEFFFF030)                    = 0
> 8962:   ioctl(4, TCGETX, 0xEFFFF020)                    Err#22 EINVAL
> 8962:   ioctl(4, TCSETS, 0xEFFFF030)                    = 0
> 8962:   ioctl(4, TCFLSH, 0)                             = 0
> 8962:   write(4, " A T E 0 V 1 Q 0 S 0 = 0".., 14)      = 14
> 8962:   write(4, "\r", 1)                               = 1
> 8962:   sigaction(SIGALRM, 0xEFFFED18, 0x00000000)      = 0
> 8962:   setitimer(ITIMER_REAL, 0xEFFFED98, 0x00000000)  = 0
> 8962:   read(4, 0x0007E464, 1024)       (sleeping...)
> 8962:       Received signal #14, SIGALRM, in read() [caught]
> 8962:   read(4, 0x0007E464, 1024)                       Err#4 EINTR
> 8962:   setcontext(0xEFFFEBF8)
> 8962:   setitimer(ITIMER_REAL, 0x0006EF30, 0x00000000)  = 0
> 8962:   ioctl(4, TIOCMBIC, 0xEFFFF054)                  = 0
> 8962:   poll(0xEFFFD060, 0, 2600)       (sleeping...)
> 8962:   poll(0xEFFFD060, 0, 2600)                       = 0
> 8962:   ioctl(4, TIOCMBIS, 0xEFFFF054)                  = 0
> 8962:   close(4)                        (sleeping...)
> 
> And then it hangs.
> 
> If I use kermit, and issue the command 'ATE0V1Q0S0=0', I get the
> responce 'OK', but it looks like faxsend never get's this responce.

> Any ideas?
> 
> Morten

I dunno Solaris enough to help much. What do you get when your run
"probemodem"?


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

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

iQCVAwUBM9JoZT/+ItycgIJRAQFm6AP6Ajq0DkM8ApLpzhRmLiA6eK98VBcEt88D
xkM2lAcEesKiLmTvORactani7byv/ZOZv8cmKk+6jJzMunai1/pQ2CqWX/7/GCaC
wDS6UVM3g0wcx2HJB6ys158L5zhFZ7FS3am5CzsvL7M+Kn+0XfomhZbA/SeOG6zo
8j9+Snp40dY=
=+MqD
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Sun, 20 Jul 1997 15:47:14 -0400 (EDT)
From: Nico Garcia <raoul@cirl.meei.harvard.edu>
To: Evan Leibovitch <evan@telly.org>
Cc: flexfax@sgi.com
Subject: Re: textfmt can't find font info
Sender: owner-flexfax@celestial.com

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

On Sun, 20 Jul 1997, Evan Leibovitch wrote:

> I'm just trying a HylaFAX 4 install for the first time, on a
> Linux 2.0.29 (Caldera) system. Ghostscript is a stock install off the
> distribution CD. The binary package is hylafax-i386-linux-v4.0pl1-1.tar.gz
> recently fetched off the FTP site
> 
> Everything installs and is running OK in terms of servers, modems, etc.
> I believe I can send postscript files OK. I am having a problem with
> sending textfiles.
> 
> The default typerules file wants to run textfmt using font
> 'Courier-Bold'. This leads to the generation of an error message
> when running 'sendfax' on a plain-text file:
> 
> No font metric information found for "Courier-Bold"
> 
> ...and it aborts the send.

You need the "afm" files, available at
	ftp://ftp.sgi.com/sgi/fax/source/

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

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

iQCVAwUBM9JrPD/+ItycgIJRAQFHyQP+JCVXyZo40U9Lld8okAgqwoK6UrCaMZkt
+jETfghhAXxXq9EDWRii4lXahGKcMQ/xJegm4Bg2UXCfBeLmFowu5d7SIhPBuVzz
RBe5pMqcVUEWJv7O9K9n3ilRRzB0o4KehwtTI+zpMPN+4p1ZmT37Jx2IX5mokW0l
cJNZN2t8Kls=
=/ajC
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: Nico Garcia <raoul@cirl.meei.harvard.edu>
Cc: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>, flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
From: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Date: 20 Jul 1997 23:42:15 +0200
Lines: 16
Sender: owner-flexfax@celestial.com

Nico Garcia <raoul@cirl.meei.harvard.edu> writes:

| Do you copy *all* the device entries using tar, or just the ones you
| think need making, such as dev/null and dev/tcp? And the SunOS version
| of tar does *not* correctly create devices and pipes, it instead creates
| files. Solaris may have the same problem. 
| 
| You could then use the GNU version of tar, or use "cd $SPOOLDIR; dump
| 0f - / | restore xvf - ./dev" to get them correctly.

I tried both GNU tar and ufsdump (dump), neither worked.

Morten
-- 
mortens@pvv.org
Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 21 Jul 1997 02:02:07 -0500
To: flexfax@sgi.com
From: Michael Castellano <webmaster@gcstation.net>
Subject: Begginer question on fonts
Sender: owner-flexfax@celestial.com

I kinda scanned through a bunch of the help file but was unable 
to locate this error message. 

I did the install and did not see any errors but when I try to 
do a test outgoing fax of a text file, the /var/spool/fax/sendq/ 
file has a message of "status:Error: /invalidfont in findfont\"
and of course it crashes and burns...

I have noted that it indeed found my "afm" files durring my "configure"
stage so now I am kinda lost...

Any ideas.... ohhh RH-Linux 2. and hylafax 4.0pl1

Thanks

Mike 
Captain Mike of the good ship Internet...
===========================================================================
My signature was getting old so here is my new one....
It is my 3 favorite sayings. 
1. Never problems, only oportunities
2. If it was easy anyone could do it.
and my newest one!
3. Everyone is ignorant, only on different subjects 
___________________________________________________________________________
email = webmaster@gcstation.net 
www page = http://www.gcstation.net/~mikec
___________________________________________________________________________
     						

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 21 Jul 1997 08:35:37 +0100 (WET DST)
From: Dani Pardo <dani@minerva.enpl.es>
To: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
cc: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
Sender: owner-flexfax@celestial.com



On 19 Jul 1997, Morten Skjelland wrote:

>
>If I do this, I get the same result as I got the first time.  dev/tcp
>and dev/null is made, but the open of dev/tcp fails.  What I can't
>understand, is that it works when I loopback mount /dev and /devices
>into the spool-directory, and doesn't work if I copy the device
>entries from /dev and /devices using cp -a, tar or ufsdump.
>
 Entries in /dev are character devices, not ordinary files.. so a normal 
cp won't work. I have Solaris 2.5 too, try 

 mknod null c 13 2
 mknod tcp 11 42
 
 under /dev directory of course. These two files are owned by root. gid
uucp.

 Hope this helps.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 21 Jul 1997 12:34:41 +0200 (CEST)
To: flexfax@sgi.com
Subject: How to stop HylaFAX on a specific event?
From: gorski@poboxes.com
Reply-To: gorski@poboxes.com
X-No-Archive: Yes
Sender: owner-flexfax@celestial.com


Hi!

I would like to stop HylaFAX if AC main power fails and the system is on
battery backup power or HylaFAX should send a voice message of it's state.
That's what I'm looking for. Does anyone has a solution?
E.g.:	I haven't found an easy soltion to stop faxgetty from accepting calls.
	I have to edit /etc/ttys or init will restart faxgetty!

Thanks for tips and solutions.

- Achim


PS: Please also reply to my email address.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: Dani Pardo <dani@minerva.enpl.es>
Cc: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>, flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
From: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Date: 21 Jul 1997 12:57:32 +0200
Lines: 22
Sender: owner-flexfax@celestial.com

Dani Pardo <dani@minerva.enpl.es> writes:

|  Entries in /dev are character devices, not ordinary files.. so a normal 
| cp won't work. I have Solaris 2.5 too, try 
| 
|  mknod null c 13 2
|  mknod tcp 11 42
|  
|  under /dev directory of course. These two files are owned by root. gid
| uucp.
| 
|  Hope this helps.

Of cource I checked that the entries in $SPOOLDIR/dev was devices, not 
files.  I used GNU cp with -a argument, which can copy devices.

Is hylafax 4.0pl1 working for you on solaris 2.5?

Morten
-- 
mortens@pvv.org
Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: evan@telly.org (Evan Leibovitch)
Subject: Re: textfmt can't find font info
To: ben@dha.unon.org (Ben Parker)
Date: Mon, 21 Jul 1997 09:47:50 -0400 (EDT)
Cc: evan@telly.org, flexfax@sgi.com
Sender: owner-flexfax@celestial.com

Ben Parker writes:
 
> > I've had a look in my ghostscript fonts directory, and all seems to
> > be OK. While there is no file "Courier.afm" file, there is a "Fontmap"
> > file which looks intended to convert between Postscript font names and
> > actual filenames.
 
> You can copy the files which correspond to Courier-Bold so copy xxxx.afm
> to Courier-Bold.afm and it works.

I took Nico's advice and downloaded the afm-tar.Z file from
ftp.sgi.com -- after a bit of fiddling with file locations, it
worked.

I haven't been able to find anything documenting this discrepancy between
GhostScript (which uses the 'Fontmap' file to map between fontnames
and filenames) and textfmt (which requires fontname.afm). Question 44
of the HylaFAQ has the right question but an incomplete answer.

-- 
 Evan Leibovitch, Sound Software Ltd, located in beautiful Brampton, Ontario
Supporting PC-based Unix since 1985 / Caldera & SCO authorized / www.telly.org
If you're smart enough to be a programmer, you're too smart to be a programmer

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
Subject: Modem States
X-Organisation: Fujitsu Telecommunications Europe Ltd
X-PGP: KeyID: A3DC8BED; Fingerprint: 7AED0423 380298C4 98314FD9 93CC0901
Date: Mon, 21 Jul 1997 15:26:45 +0100
From: Ian G Batten <I.G.Batten@ftel.co.uk>
Sender: owner-flexfax@celestial.com

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


I've written a GUI in tkPerl which allows queue and modem
monitoring and manipulation for multiple hylafax daemons
(when it's tidy, I'll distribute it).  This causes me to
notice that my modems are sticking in ``waiting for modem to
come ready'' for long periods of time.  They eventually drop
back to ``Running and idle'', and can be forced there by
killing faxgetty.

I'm using the solaris 2.5 binary distribution on Solaris 2.6
Beta Refresh II, Sparc Classics, USR Courier V.34 modems
(because I've got a dozen lying around).

My problem with double-width faxes was the xv and image
magic assume TIFF pixels are square, by the way.

ian

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQB1AwUBM9Nxn8oy0yij3IvtAQFgrgMAu5dwt+41e+WBUZ6BVN/Sh9dEwp7h7RlO
R9/ejq8n8lHulWOY4b3M/olJu9EISvejwgaBy+WXjLxppB4F+Fl5OKUHCi2R3luQ
asfVviOUEwRDLfi48yvm9XdfP561h5IJ
=m2dX
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 21 Jul 1997 08:31:58 -0600 (MDT)
From: Jim Hribnak <hribnak@nucleus.com>
To: Ben Parker <ben@dha.unon.org>
cc: flexfax@sgi.com
Subject: Re: weird sendmailerror with email->gate setup
Sender: owner-flexfax@celestial.com



On Mon, 21 Jul 1997, Ben Parker wrote:

Shouldn't it be *faxmail*, not *mailfax*? 

Anyway, I have put together a hybrid of dirk's and bob's faxmailer as
neither worked without tweaking on my Linux system. If you want to try
it out, please let me know.
Ben

===========


I actually got it working.  The problem was ps2fax and the other ???2fax
programs were wanting the setup.cache to be in /var/spool/fax/bin/etc when I 
set it up. The setup.cache is in /var/spool/fax/etc  so I just did a sym link 
in the bin dir and viola. it worked no problem.  


Jim

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 21 Jul 1997 11:02:06 -0400 (EDT)
From: Nico Garcia <raoul@cirl.meei.harvard.edu>
To: gorski@poboxes.com
Cc: flexfax@sgi.com
Subject: Re: How to stop HylaFAX on a specific event?
Sender: owner-flexfax@celestial.com

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

On Mon, 21 Jul 1997 gorski@poboxes.com wrote:

> Hi!
> 
> I would like to stop HylaFAX if AC main power fails and the system is on
> battery backup power or HylaFAX should send a voice message of it's state.
> That's what I'm looking for. Does anyone has a solution?
> E.g.:	I haven't found an easy soltion to stop faxgetty from accepting calls.
> 	I have to edit /etc/ttys or init will restart faxgetty!

Ohh, good question. One way to do it is to have an /etc/ttys.normal
and an /etc/ttys.hylafax, and have your shutdown script do a "rm
/etc/ttys;ln /etc/ttys.normal /etc/ttys" for non-hylafax, and "rm
/etc/ttys;ln /etc/ttys.hylafax /etc/ttys;faxquit ttyxxx" for notmal use.

You will also have to do a "kill -HUP" on your "init" process. This
is done with "kill -HUP 1" under SunOS.


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

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

iQCVAwUBM9N55z/+ItycgIJRAQEt4gQAi71hnLJWyudCtlTUvM1c9pmCP3p0Rxi4
ehlYYj9mpecoPCmIoj0uqOFBESuXO7U7HSc+rBdQ/zayLKgwvy/C5V7s7nbclX/z
sIqVoo4Xw+HzG9iKTMx6OM7qSHMtpWJMV91ewFyyQkISx9CBiWU7AJAXfdGMEFxi
oEpIrLrtXDg=
=m1p3
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
From: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Date: 21 Jul 1997 17:27:25 +0200
Lines: 17
Sender: owner-flexfax@celestial.com

Dani Pardo <dani@minerva.enpl.es> writes:

| >Is hylafax 4.0pl1 working for you on solaris 2.5?
| >
| 
|  Yep.. I first tried with the source distrib, but It was a pain to
| compile, so now I've got the binary package. Works fine, except that some
| times I get random modem timeouts..

Well, I have tried to build the software myself, and I have tried the
binary distribution, neither worked on Solaris 2.5.1 (sparc).  I'll
try to set up an old SUN-box with SunOS4, and se if it works there.

Morten
-- 
mortens@pvv.org
Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 21 Jul 1997 12:45:30 -0300 (GMT+3)
From: Ben Parker <ben@dha.unon.org>
To: David Woolley <david@djwhome.demon.co.uk>
cc: lotfi.azaiez@rz.fh-nuernberg.de, flexfax@sgi.com
Subject: Re: faxmail :attachment file ?
Sender: owner-flexfax@celestial.com



On Fri, 18 Jul 1997, David Woolley wrote:

> > 
> > (DISCARDED image/gif GOES HERE)
> 
> You haven't got a handler for GIF files.  You should be able to put one
> together with the portable bit map tools.  (See the faxmail man page.)

To do this you need a script called

/usr/local/sbin/faxmail/image/gif

Which does the conversion. I assume it needs to contain the gif2tiff
command but have not been able to work out the switches that would apply.

Ben

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 21 Jul 1997 12:56:05 -0300 (GMT+3)
From: Ben Parker <ben@dha.unon.org>
To: Jim Hribnak <hribnak@nucleus.com>
cc: flexfax@sgi.com
Subject: Re: weird sendmailerror with email->gate setup
Sender: owner-flexfax@celestial.com

Shouldn't it be *faxmail*, not *mailfax*? 

Anyway, I have put together a hybrid of dirk's and bob's faxmailer as
neither worked without tweaking on my Linux system. If you want to try
it out, please let me know.
Ben


On Fri, 18 Jul 1997, Jim Hribnak wrote:

> 
> I am getting this error when I send email to our fax server.
> 
> Jul 18 14:00:22 news sendmail[18835]: OAA18834:
> to="|/usr/contrib/lib/hylafax/mailfax -d jim@5419474.fax", 
> delay=00:00:01, xdelay=00:00:01, mailer=prog,
> stat=unknown mailer error 255
> Jul 18 14:00:22 news sendmail[18835]: OAA18834: OAA18835: DSN: unknown
> mailer error 255
> 
> 
> I have an alias setup for the user who is supposed to be faxed and when I
> send the email to jim@fax.nucleus.com it gets mail to the fax server
> machine and the above error is generated..  Does anyone know what I did
> wrong in setting up the email -> fax
> 
> 
> I am at wits end and can not figure this out...
> 
> 
> 

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 21 Jul 1997 11:31:29 -0500
From: Alexandre CARRAUSSE <acarrausse@fast.fr>
Organization: FAST INFORMATIQUE
To: flexfax@sgi.com
Subject: Error using WHFC
Sender: owner-flexfax@celestial.com

When I send a fax to the HylaFAX Server, via a WHFC client under win95,
I get the error:

WSAECONNRESET:Connection reset by peer.

And the fax transmission hangs-up (the fax is not transmitted)

If someone can give me a sign or a way to solve this problem.
Or if someone could explain this error message.

Thanks in advance.

Alex

(Quelle daube! :-)

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alexandre CARRAUSSE - Stagiaire DSI
FAST INFORMATIQUE - 51, Av. de Cornebarrieu - 31700 BLAGNAC cedex - FRANCE
Tel: +33.6.09.72.22.83  -  Fax: +33.5.61.71.03.04
mailto:acarrausse@fast.fr           http://www.siera.ups-tlse.fr/~carrauss
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 21 Jul 1997 13:59:04 -0300 (GMT+3)
From: Ben Parker <ben@dha.unon.org>
To: Evan Leibovitch <evan@telly.org>
cc: flexfax@sgi.com
Subject: Re: textfmt can't find font info
Sender: owner-flexfax@celestial.com



On Sun, 20 Jul 1997, Evan Leibovitch wrote:

> I've had a look in my ghostscript fonts directory, and all seems to
> be OK. While there is no file "Courier.afm" file, there is a "Fontmap"
> file which looks intended to convert between Postscript font names and
> actual filenames.

You can copy the files which correspond to Courier-Bold so copy xxxx.afm
to Courier-Bold.afm and it works.

Ben

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 21 Jul 1997 19:39:46 -0300 (GMT+3)
From: Ben Parker <ben@dha.unon.org>
cc: flexfax@sgi.com
Subject: Re: faxmail :attachment file ?
Sender: owner-flexfax@celestial.com



On Mon, 21 Jul 1997, Ben Parker wrote:

Just in case anyone has a clue, a script for image/gif:

giftopnm | pnmtops

does *not* work. It's not clear from the faxmail man page how these
scripts should be structured i.e as though it were receiving

script <GIF file

or where you get the input to the utility for processing.

The output should be tagged on to the covering message as PS if sucessful.
This issue would not be very significant but for the fact that sending PS
through faxmail doesn't work either as the graphic get squashed into the a
tiny bottom left corner by faxmail and sendfax. 

Thanks,

Ben

> > > (DISCARDED image/gif GOES HERE)
> > 
> > You haven't got a handler for GIF files.  You should be able to put one
> > together with the portable bit map tools.  (See the faxmail man page.)
> 
> To do this you need a script called
> 
> /usr/local/sbin/faxmail/image/gif
> 
> Which does the conversion. I assume it needs to contain the gif2tiff
> command but have not been able to work out the switches that would apply.
> 
> Ben
> 
> 
> 

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 22 Jul 1997 08:40:05 +0200
From: Ulrich Eckhardt <uli@rgw-express.de>
Organization: RGW Express Airfreight GmbH
To: Alexandre CARRAUSSE <acarrausse@fast.fr>
CC: flexfax@sgi.com
Subject: Re: Error using WHFC
Sender: owner-flexfax@celestial.com

Alexandre CARRAUSSE wrote:
> 
> When I send a fax to the HylaFAX Server, via a WHFC client under win95,
> I get the error:
> 
> WSAECONNRESET:Connection reset by peer.
> 
> And the fax transmission hangs-up (the fax is not transmitted)
> 
> If someone can give me a sign or a way to solve this problem.
> Or if someone could explain this error message.
> 
> Thanks in advance.
> 
> Alex
> 
> (Quelle daube! :-)

Hi,

What server do you use ? do you use the current version 0.3e ? 
If not, update to 0.3e.

The message WSACONNRESET means that the network has closed the
connection
for some reason (maybe timeout, or your computer has no permission to
access the host). Do you start the hfaxd via inetd or tcpd ? If so,
check the
configuration here.

Uli
-- 
Ulrich Eckhardt		                   mailto:uli@rgw-express.de
http://people.frankfurt.netsurf.de/uli
Truly great madness can not be achieved without significant
intelligence. (Henrik Tikkanen)

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@celestial.com
Subject: Re: HylaFAX and further development
Date: Tue, 22 Jul 1997 16:56:27 JST
From: "Andrew S. Howell" <andy@tibco.com>
Sender: owner-flexfax@celestial.com


On Mon, Jul 21, 1997 at 09:19:09AM +0900, Andrew S. Howell wrote:
>>>>> "Jonathan" == Jonathan Chen <jonc@pinnacle.co.nz> writes:


    Jonathan> Yo.  One thing I've noticed about the list lately is
    Jonathan> that we appear to running slightly out of
    Jonathan> steam. Development on HylaFAX (fixes and more
    Jonathan> importantly enhancements) have basically ground to a
    Jonathan> halt (either that, or I'm not on the development list).

Jonathan,

	I'm doing a bit of development on HylaFAX. I'm adding support
for Japanese. At this point, I have GS 5.01 working in Japanese. This
means I can send Jananese postscript via sendfax. There are at least
two areas that need to be addressed though:

	Automatic text file conversion
	Faxmail

The first problem revolves around Typerules, which as you probably
know, is used by the sendfax command to map file types to conversion
commands. This file, like /etc/magic, does not cope with multibyte
encodings very well. It allows one to determine the file type for
binary data a specific locations within the file, search for a string,
or finally, detect if a given file is ASCII. This last mechanism is how
I plan to support asian character encodings. I'll add more predicates,
like "ascii", which test to see if a file matches a particular
encoding. Right now, I'm thinking of adding:

	euc	Extended Unix Code
	jis	JIS encoding
	sjis	shift JIS encoding

I have a script called a2ps that will convert EUC, Shift-JIS and JIS
encoded documents to Japanese postscript. Having added the above to
typerules, I can then make a rule says:

0       euc     x               ps      a2ps -p -nw -nh -ns -nt >%o <%i  

Thus, if the file meets euc encoding rules, a2ps ( Japanese version! )
will generate the postscript for me. It could be argued that textfmt
should be modified support this, but that is more work than I want to
take on, and a2ps does the conversion fine. This method should be
extensable, allowing others to add new predicates to detect other
encodings.

Faxmail is more problematic. It needs to understand Japanese embedded
in mail headers, as well as how to handle ios-2022-jp mime
messages. This is a much more difficult problem, since faxmail
generates postscript directly. Once I get typerules fixed, I'll start
on this. I hope to have typerules done in a week or so, after which,
I'll start on faxmail.

Please, if anyone has opions about this, let me know.

Andy

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
Subject: faxq death?
X-uri: http://www.tpc.int/
X-pgp-key-fingerprint: 05 CA 3F B5 43 F2 6A CE  DB 9E 08 39 80 F0 57 9E
Date: Tue, 22 Jul 1997 13:34:19 +0100
From: "Mr. Arlington Hewes" <tpcadmin@info.tpc.int>
Sender: owner-flexfax@celestial.com


Has anyone seen faxq exiting with the following message logged?

Jul 22 09:37:44 fax-gw.demon.nl FaxQueuer[558]: Assertion failed "Sleeping 
job on run queue", file "faxQueueApp.c++" line 2016.

Oh, and we're also seeing the following syslogged:

Jul 22 09:29:18 fax-gw.demon.nl FaxSend[14833]: Error writing SEND 
accounting record, dest=+31756315537
Jul 22 09:30:37 fax-gw.demon.nl FaxSend[14851]: Error writing SEND 
accounting record, dest=+31756315535
Jul 22 09:33:03 fax-gw.demon.nl FaxSend[14887]: Error writing SEND 
accounting record, dest=+31206271769
Jul 22 09:33:17 fax-gw.demon.nl FaxSend[14913]: Error writing SEND 
accounting record, dest=+31206915795

which although not fatal do seem a bit worrying . . . 

Solaris 5.5.1, HylaFAX-4.0pl1 compiled from source.

Many thanks.

-DPN

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 22 Jul 1997 15:42:00 +0200
To: flexfax@sgi.com
From: Roberto Sgarbi <sgarbi@mail.stat.unibo.it>
Subject: Modems question
Sender: owner-flexfax@celestial.com

I have to buy another modem/fax for HylaFAXing, 
now I'm using a ZyXEL 1496E PLUS w/o problems.

For the same price (w/o a waiting of 90 days)
I can buy a ZyXEL OMNI288S
with a serial port for connecting a postscript printer 
for direct standalone printing of incoming faxes(!).

Is this modem/fax so reliable as 1496E PLUS?
Does anyone tried the OMNI 288S?

Regards.

R.Sgarbi

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 22 Jul 1997 17:07:26 -0300 (GMT+3)
From: Ben Parker <ben@dha.unon.org>
To: flexfax@sgi.com
Subject: More questions on faxmail converter
Sender: owner-flexfax@celestial.com


Here is a log snippet from faxmail trying to convert a GIF file. My script
says 

giftopnm | pnmtops

Having tried *many* permutations of the script (guesswork), I was
wondering if there might be someting wrong with faxmail itself. Questions: 

1) What is in /tmp/faxmaila13588? Is it the GIF file (decoded) or is it
there to receive the PS output?

2) Why is there a double // after tmp? 

Error converting image/gif; command was "/usr/local/sbin/faxmail/image/gif
/tmp//faxmaila13588"; exit status 100. 


MIME part (line 23): text/plain charset=us-ascii encoding=7bit
HEADER Content-Type: IMAGE/GIF; NAME="reg.gif"
HEADER Content-Transfer-Encoding: BASE64
HEADER Content-ID: <Pine.LNX.3.95.970722105026.18433M@amahoro.dha.unon.org>
HEADER Content-Description: 
MIME part (line 32): image/gif charset=us-ascii encoding=base64
CONVERT: run /usr/local/sbin/faxmail/image/gif
giftopnm: error reading magic number
pnmtops: EOF / read error reading magic number
Error converting image/gif; command was "/usr/local/sbin/faxmail/image/gif /tmp//faxmaila13588"; exit status 100.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: faxmail :attachment file ?
To: ben@dha.unon.org (Ben Parker)
Date: Tue, 22 Jul 1997 23:29:53 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> On Mon, 21 Jul 1997, Ben Parker wrote:
> 
> Just in case anyone has a clue, a script for image/gif:
> 
> giftopnm | pnmtops

Looking at the source code for faxmail.c++ (took about 5 minutes) it is
expecting:

giftopnm $1 | pnmtops

> does *not* work. It's not clear from the faxmail man page how these
> scripts should be structured i.e as though it were receiving
> 
> script <GIF file

It's running

  script GIF-file

where GIF-file is a temporary file.

> or where you get the input to the utility for processing.
> 
> The output should be tagged on to the covering message as PS if sucessful.
> This issue would not be very significant but for the fact that sending PS
> through faxmail doesn't work either as the graphic get squashed into the a
> tiny bottom left corner by faxmail and sendfax. 
> 

At a guess you are forgetting that postscript images are conventionally
output scaled to a unit square, at postscript coordinates 0,0, and
a transformation is then applied to get them to the desired size.
Unfortunately I don't have the pbm libraries installed on my home machine,
so I can't check what the man page says.  However, if I am right, the
problem is, as much as anything in the pnmtops routine, and you will need
to wrap the image in postscript to scale to the desired output size then
restore the transformation.  The default unit is 1/72nd of an inch and
the default origin is bottom left.


In this case, you will need to output:

  gsave width-in-points height-in-points scale

before the image and:

  grestore

after it, unless the pnm tools provide an easier approach.  (I haven't
test run the above.)

Incidentally, the man page warns against mixing text and formatted material,
and looking at the code, I would go further and say that any pre-prepared 
postscript should consist of complete pages, and you should output
a postscript page around any custom convertor (postscript is normally set
in page relative coordinates, not relative to the previous material on the
page, and, in any case, will not automatically split material across page
boundaries).  I think a basic page is:   save ......restore showpage

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: faxmail :attachment file ?
To: ben@dha.unon.org (Ben Parker)
Date: Tue, 22 Jul 1997 23:50:03 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> through faxmail doesn't work either as the graphic get squashed into the a
> tiny bottom left corner by faxmail and sendfax. 

PS there should be a group of numbers near the beginning of the output
from pnmtops which contain the pixel size of the image.  It shouldn't be
difficult to extract them with sed, to create the correct scaling information,
or even to clobber them, so that the image is scaled directly to the
required size.  This assumes there is no option which avoids the need.


I think you can get away without even using gsave...grestore, if you clobber
the image scale.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: Error using WHFC
To: acarrausse@fast.fr (Alexandre CARRAUSSE)
Date: Wed, 23 Jul 1997 00:00:37 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> 
> When I send a fax to the HylaFAX Server, via a WHFC client under win95,
> I get the error:
> 
> WSAECONNRESET:Connection reset by peer.
> 

This is what you will get if the server isn't running at all, or at least not
running on the port you expect.  Are you sure you have enabled the old
protocol?

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: More questions on faxmail converter
To: ben@dha.unon.org (Ben Parker)
Date: Wed, 23 Jul 1997 07:46:05 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> 1) What is in /tmp/faxmaila13588? Is it the GIF file (decoded) or is it
> there to receive the PS output?

See earlier message (just uploaded).

> 2) Why is there a double // after tmp? 

Redundant /s are ignored by Unix.
> 
> Error converting image/gif; command was "/usr/local/sbin/faxmail/image/gif
> /tmp//faxmaila13588"; exit status 100. 

This has told you the exact form of the command issued!

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: HylaFAX
To: cadmo@interbusiness.it (CADMO)
Date: Wed, 23 Jul 1997 08:18:24 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> Sometimes it gots two pages, never three...
> SIGH! I am sad!
> Any idea (please, different from the one you have of me!)

Read the warnings in the documentation about the use of Class 1 modems, then
either obtain a modem with a working Class 2 or 2.0 implementation, or
obtain a computer with lower serial I/O latency.

(Caution, there appear to be quite a few modems with broken Class 2
imlementations - e.g about 6 weeks ago there were many people experiencing
problems with USR modems.)

(Note, I've only used Hylafax with a Class 2 modem on the reccommended list,
so I'm not completely sure what an underrun Class modem would look like on
the log.)

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Cc: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
From: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Date: 23 Jul 1997 16:58:09 +0200
Lines: 13
Sender: owner-flexfax@celestial.com

Hi

 Looks like my problem with hylafax on Solaris 2.5.1 is connected to
the use of cachefs.  If I put the fax-software on a local disk, it
works better.

 There is also a missing device node: '$SPOOLDIR/dev/ticlts' 
(mknod ticlts c 105 2) 

Morten
-- 
mortens@pvv.org
Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 23 Jul 1997 13:00:05 -0300 (GMT+3)
From: Ben Parker <ben@dha.unon.org>
To: David Woolley <david@djwhome.demon.co.uk>
cc: flexfax@sgi.com
Subject: Re: faxmail :attachment file ?
Sender: owner-flexfax@celestial.com



On Tue, 22 Jul 1997, David Woolley wrote:


> Looking at the source code for faxmail.c++ (took about 5 minutes) it is
> expecting:
> 
> giftopnm $1 | pnmtops

Great. That helps a lot. I had tried %1 but not $1!

> It's running
> 
>   script GIF-file
> 
> where GIF-file is a temporary file.

Yes - now I can get some ps out the other end. Still need to work on it
though....

> > The output should be tagged on to the covering message as PS if sucessful.
> > This issue would not be very significant but for the fact that sending PS
> > through faxmail doesn't work either as the graphic get squashed into the a
> > tiny bottom left corner by faxmail and sendfax. 
> > 
> 
> At a guess you are forgetting that postscript images are conventionally
> output scaled to a unit square, at postscript coordinates 0,0, and
> a transformation is then applied to get them to the desired size.
> Unfortunately I don't have the pbm libraries installed on my home machine,
> so I can't check what the man page says.  However, if I am right, the
> problem is, as much as anything in the pnmtops routine, and you will need
> to wrap the image in postscript to scale to the desired output size then
> restore the transformation.  The default unit is 1/72nd of an inch and
> the default origin is bottom left.

There is a message in the flexfax archives from someone who blames a scale
command of 0.5 somewhere in the sendfax-generated PS and who could not
find a way round it. This happens when you send a PS attachment through
faxmail - which handles it without any user-created scripts interfering. 
Anyway, it's clear I need to do some PS homework to make the image stay on
a whole page as you suggest, but it may turn out hard to control scaling
whatever.
 

Thanks very much for all these tips. 

Ben
 

> In this case, you will need to output:
> 
>   gsave width-in-points height-in-points scale
> 
> before the image and:
> 
>   grestore
> 
> after it, unless the pnm tools provide an easier approach.  (I haven't
> test run the above.)
> 
> 
> Incidentally, the man page warns against mixing text and formatted material,
> and looking at the code, I would go further and say that any pre-prepared 
> postscript should consist of complete pages, and you should output
> a postscript page around any custom convertor (postscript is normally set
> in page relative coordinates, not relative to the previous material on the
> page, and, in any case, will not automatically split material across page
> boundaries).  I think a basic page is:   save ......restore showpage
> 
> 

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 23 Jul 1997 11:02:17 -0500
From: Alexandre CARRAUSSE <acarrausse@fast.fr>
Organization: FAST INFORMATIQUE
To: choeger@suse.de, flexfax@sgi.com
Subject: Where is SuseFAX
Sender: owner-flexfax@celestial.com

A few days ago, I have  read  in the mailing liste that you wrote a
client
in JAVA called SuseFAX, in order to view received faxes.

Could you tell me if the sources are available, and if there are, where
can I download them.

I'have searched at ftp.suse.com (whitout success) and I've read the
pages
http://www.suse.de/ and
/~bb/, but I didn't see any information for this.

What is rpm-packed?

Sorry for my bad english, but it is not my birth language!

Thanks in advance for any response.

Alex


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alexandre CARRAUSSE - Stagiaire DSI
FAST INFORMATIQUE - 51, Av. de Cornebarrieu - 31700 BLAGNAC cedex - FRANCE
Tel: +33.6.09.72.22.83  -  Fax: +33.5.61.71.03.04
mailto:acarrausse@fast.fr           http://www.siera.ups-tlse.fr/~carrauss
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: Roberto Sgarbi <sgarbi@mail.stat.unibo.it>
cc: flexfax@sgi.com, Ketan Sanghvi <ketan@homeindia.com>
Reply-to: Shuvam Misra <shuvam@spacenetindia.com>
From: Shuvam Misra <shuvam@spacenetindia.com>
Subject: Re: Modems question 
Date: Wed, 23 Jul 1997 21:57:02 +0530
Sender: owner-flexfax@celestial.com

| I have to buy another modem/fax for HylaFAXing, 
| now I'm using a ZyXEL 1496E PLUS w/o problems.

That's one of the best modems I've used till date for faxes and
specially Hylafax.

| For the same price (w/o a waiting of 90 days)
| I can buy a ZyXEL OMNI288S
| with a serial port for connecting a postscript printer 
| for direct standalone printing of incoming faxes(!).

I'm not sure the direct printing option works with teh Omni288S. I think
that option is only for the 288P, which has a parallel port, to connect
a printer to.

| Is this modem/fax so reliable as 1496E PLUS?
| Does anyone tried the OMNI 288S?

Yes, I have. I've been using it at home and work, and have even given it
to clients to use with Hylafax. Make sure you get a very recent version
of Hylafax.

This modem is really good. Initially, it didn't have as good line
holding ability as the U1496E on noisy lines. Now, with firmware
upgrades, that seems to have improved. But for faxes, I think it's every
bit as good as the U1496E.

Tell me, why is there the 90-day waiting period for U1496E's? Is there a
very heavy demand for that model? Here in India, no one seems to be
going for the U1496E; most others, like us, have shifted to the Omni.

Regards,
Shuvam
-- shuvam misra -------------------------- shuvam@spacenetindia.com --
-- spaceNET ------------------------------------ +91 22 98210 11665 --
----------------------------------------------- fax +91 22 287 3598 --
------------- "Linux: the choice of a GNU generation" ----------------

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 23 Jul 1997 13:01:25 -0400 (EDT)
From: Nico Garcia <raoul@cirl.meei.harvard.edu>
To: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Cc: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
Sender: owner-flexfax@celestial.com

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

On 23 Jul 1997, Morten Skjelland wrote:

>  Looks like my problem with hylafax on Solaris 2.5.1 is connected to
> the use of cachefs.  If I put the fax-software on a local disk, it
> works better.

*OOOOHHH*. Yes, you definitely cannot mount devices over the network.
It took me a bit of time under SunOS to find that one, and I didn't
even think of that problem for your situation.

>  There is also a missing device node: '$SPOOLDIR/dev/ticlts' 
> (mknod ticlts c 105 2) 

Hmm. It's not in the HylaFAX source code. What is this device for?

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

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

iQCVAwUBM9Y43j/+ItycgIJRAQFW/QP/bIVAvTRlK6npTIQDYVHPUI3D/u6Opg2q
9JTAzhlDat3BnUowha1j8jwMzclE6u/7LCMTkZTRrHjHy4LozTydMY6lJB620Kua
t7YFmlpZHr7ML5E2ih8/dZ+1mHPAggZCrRdNfwMuFqEltPUPbq412JEzoQfidbGH
1+iUDpS9sCY=
=iHD8
-----END PGP SIGNATURE-----

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.5.1
From: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Date: 23 Jul 1997 19:08:03 +0200
Lines: 29
Sender: owner-flexfax@celestial.com

Nico Garcia <raoul@cirl.meei.harvard.edu> writes:

| *OOOOHHH*. Yes, you definitely cannot mount devices over the network.
| It took me a bit of time under SunOS to find that one, and I didn't
| even think of that problem for your situation.

Well, I figured it out, and it works ok now.  Is this in the doc
somewhere?  If it isn't, it should be.

| >  There is also a missing device node: '$SPOOLDIR/dev/ticlts' 
| > (mknod ticlts c 105 2) 
| 
| Hmm. It's not in the HylaFAX source code. What is this device for?

It's used by flock and fcntl(...,F_SETLK,...).  If the device isn't
there, this happens:

panic: lm_get_me: no ticlts
syncing file systems... [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 done
 4177 static and sysmap kernel pages
^MSunOS Release 5.5.1 Version Generic_103640-08 [UNIX(R) System V Release 4.0]
[..]

:)

Morten
-- 
mortens@pvv.org
Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 23 Jul 1997 10:22:12 -0700 (PDT)
From: Tim Rice <tim@trr.metro.NET>
To: HylaFax mailing list <flexfax@sgi.com>
Subject: "Unable to set RT scheduling parameters" Error
Sender: owner-flexfax@celestial.com


HylaFAX v4.0pl1
UnixWare 2.03 & 2.1.2

I decided to track down an error in the syslog files.
....
Jul 23 07:30:43 trruw21 FaxGetty[689]: Unable to set RT scheduling
parameters: Invalid argument
....

I found it was coming from faxd/ModemServer.c++.
The offending system call was priocntl(2)
I discovered that UnixWare's version of priocntl(2) has no "RT" class.
It does have FC (Fixed Priority Class) which acording to the man page
"This ensures that a runnable fixed priority process is given
CPU service before any process belonging to any other class."
That sounds close to a Real Time Class.

I plan to impliment a patch that looks for sys/fppriocntl.h and sumbstitutes
the RT class for FC class.

What I need to know is:
	a) Has anyone allready done this work?

	b) Are there any platforms that have a priocntl(2)
	   with both RT and FC (and of course TS) classes?
	
	c) Are there any platforms with the RT class that
	   also have sys/fppriocntl.h?


Thanks,

--
Tim Rice			Multitalents	(707) 887-1469 (voice)
tim@trr.metro.net

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
Subject: mailfax for qmail
From: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Date: 23 Jul 1997 20:53:42 +0200
Lines: 28
Sender: owner-flexfax@celestial.com

Hi

 Here is a mailfax script for qmail.

--snip--
#!/bin/sh
#
#   mailfax - email to fax gateway for qmail.
#
#   This file should be installed as /local/etc/mailfax, and the
#   following changes made to the qmail configuration:
#
#   Add the following to /var/qmail/control/virtualdomains
#       .fax:fax
#
#   Add the following to /var/qmail/alias/.qmail-fax-default
#       | /local/etc/mailfax
#

/local/fax/bin/faxmail | /local/fax/bin/sendfax \
        -f $SENDER \
        -d "$EXT2@`/usr/bin/expr \"$HOST\" : '\(.*\)\.fax$'`"
--snip--

Morten
-- 
mortens@pvv.org
Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 23 Jul 1997 16:46:24 -0300 (GMT+3)
From: Ben Parker <ben@dha.unon.org>
To: flexfax@sgi.com
Subject: faxmail postscript attachment scaling problem
Sender: owner-flexfax@celestial.com


Here's the question that didn't find an answer at the time:
---------                                      
Date:       Tue, 11 Feb 1997 16:34:58 +0100
To:         flexfax@sgi.com
Subject:    Problem sending postscript-attachment via mail using faxmail
From:       krienke@mailhost.uni-koblenz.de (Rainer Krienke)
Message-ID: 199702111534.QAA03529@informatik.uni-koblenz.de

<snip>

The second problem is that the Postscript attachment is scaled down and
put in the lower left corner of the faxpage in a size of about 1x1cm. I
found that this happens because textfmt (actually faxmail) adds a
PS-prologue in which a line like.

0.05 dup scale

occurs. This line causes all output to be scaled to 1/20 of the natural
size.  Since a postscript attachment is simly copied through, this scaling
applies als o to the PS file contained in the attachment that expects the
default scaling. 

Does anyone know about this problem and does perhaps anyone have a fix to
these bugs ? 


Thanks a lot
Rainer

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 23 Jul 1997 12:57:53 -0700 (PDT)
From: "C.K." <cwk@ceres.fwcnetworks.com>
To: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
cc: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.4
Sender: owner-flexfax@celestial.com


I have had a similiar thing happen to me. All of a sudden my machine will

sync & crash and print some freaked out message about device xxxxx

and reboot, and boot back up in Single user mode and require for me to run

fsck manually on the faulty patition. Should I make the same device

(mknod ticlts c 105 2) for Solaris 2.4 in ~fax/dev ???

email : cwk@fwcnetworks.com
URL   : http://www.fwcnetworks.com/


On 23 Jul 1997, Morten Skjelland wrote:

> Nico Garcia <raoul@cirl.meei.harvard.edu> writes:
> 
> | *OOOOHHH*. Yes, you definitely cannot mount devices over the network.
> | It took me a bit of time under SunOS to find that one, and I didn't
> | even think of that problem for your situation.
> 
> Well, I figured it out, and it works ok now.  Is this in the doc
> somewhere?  If it isn't, it should be.
> 
> | >  There is also a missing device node: '$SPOOLDIR/dev/ticlts' 
> | > (mknod ticlts c 105 2) 
> | 
> | Hmm. It's not in the HylaFAX source code. What is this device for ?
> 
> It's used by flock and fcntl(...,F_SETLK,...).  If the device isn't there, this happens:
> 
> panic: lm_get_me: no ticlts
> syncing file systems... [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 [2] 2 done
>  4177 static and sysmap kernel pages
> ^MSunOS Release 5.5.1 Version Generic_103640-08 [UNIX(R) System V Release 4.0]
> [..]
> 
> :)
> 
> Morten
> -- 
> mortens@pvv.org
> Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.
> 

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: "Sordo Maurizio" <maurizio@sordo.com>
To: <flexfax@sgi.com>
Subject: Problem with ps2fax for SCO Unix 
Date: Thu, 24 Jul 1997 08:13:49 +0200
Sender: owner-flexfax@celestial.com

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML 3.2//EN">
<HTML>
<HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"Trident 4.71.0544.0"' name=GENERATOR>

</HEAD>
<BODY><FONT face=Arial size=2><FONT size=2>Hallo,<BR>
<BR>
my name is Maurizio Sordo.<BR>
<BR>
My system is &quot;SCO Openserver 5.0&nbsp; (Enterprise Edition) &quot;<BR>
<BR>
My machine is &quot;Hewlet Packard LD Pro &quot;<BR>
<BR>
I am installed &quot;hylafax&quot; and &quot;ghostscript&quot;&nbsp; .<BR>
<BR>
I have this problem:<BR>
<BR>
If I use this command:<BR>
<BR>
&nbsp; sendfax -n -d +43030 &lt;&lt;EOF<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
HALLO<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
EOF<BR>
<BR>
or any other &quot;sendfax&quot; command, &quot;hylafax&quot; send me this 
e-mail:<BR>
<BR>
************************************************<BR>
<BR>
&gt;From fax Mon Jul 21 16:23:38 
1997&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp; Received: (<A 
href="mailto:uucp@localhost">uucp@localhost</A>) by hpserver.seldati.com 
(8.6.8.1/SCA-6.6)&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
id QAA24118; Mon, 21 Jul 1997 16:23:37 
GMT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Return-Path: 
&lt;fax&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Date: Mon, 21 Jul 1997 16:23:37 
GMT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
From: Facsimile Agent 
&lt;fax&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Message-Id:<BR>
<BR>
&lt;<A 
href="mailto:199707211623.QAA24118@hpserver.seldati.com">199707211623.QAA24118@hpserver.seldati.com</A>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
To:<BR>
<BR>
<A 
href="mailto:root@hpserver">root@hpserver</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
Subject: facsimile job 1 to 4394043 
failed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp; Status: 
RO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Your 
facsimile job to 4394043 was not sent because document<BR>
<BR>
conversion&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to facsimile 
failed.&nbsp; The output from the converter<BR>
<BR>
program 
was:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Error: /typecheck in 
--restore--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Operand 
stack:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-savetype-&nbsp; /Courier-Bold&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Execution 
stack:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
%interp_exit<BR>
<BR>
--nostringval--&nbsp; --nostringval--&nbsp; --nostringval--&nbsp; false&nbsp; 
--nostringval--<BR>
<BR>
--nostringval--&nbsp; 
--nostringval--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
Dictionary 
stack:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 537/547&nbsp; 0/20&nbsp; 
6/200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ghostscript: Unrecoverable error, 
exit code 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
********************<BR>
<BR>
I can't send any fax,<BR>
<BR>
<BR>
<BR>
Can you help me, please?<BR>
<BR>
Regards<BR>
<BR>
Maurizio Sordo<BR>
<BR>
</FONT></FONT>
</BODY></HTML>
</x-html>

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.4
From: Morten Skjelland <Morten.Skjelland@chembio.ntnu.no>
Date: 24 Jul 1997 09:36:31 +0200
Lines: 21
X-Mailer: Gnus v5.4.64/XEmacs 20.3(beta14) - "Vienna"
Sender: owner-flexfax@celestial.com

"C.K." <cwk@ceres.fwcnetworks.com> writes:

| I have had a similiar thing happen to me. All of a sudden my machine will
| 
| sync & crash and print some freaked out message about device xxxxx
| 
| and reboot, and boot back up in Single user mode and require for me to run
| 
| fsck manually on the faulty patition. Should I make the same device
| 
| (mknod ticlts c 105 2) for Solaris 2.4 in ~fax/dev ???
| 
| email : cwk@fwcnetworks.com
| URL   : http://www.fwcnetworks.com/

Yes, it looks like Solaris 2.3 and higher needs /dev/ticlts.

Morten
-- 
mortens@pvv.org
Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 24 Jul 1997 12:21:21 +0200
Organization: Herfurth & Engelke
To: flexfax@sgi.com
Subject: faxing pcl-files?
From: 0531237290-0001@t-online.de (Rainer Haape)
Sender: owner-flexfax@celestial.com

Hi,

I have a DOS-application witch generates an ASCII output, when needed
with ESC-Sequences (for PCL-printing). I am using this Application under
W95, then i WHFC and hylafax on freeBSD.

If anybody knows hows to produce an output, which can be processed by
WHFC/Hylafax please let me know.

Thanx

Rainer Haape 
0531237290-0001@t-online.de

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: steve@bcs.co.za
X-Openmail-Hops: 1
Date: Thu, 24 Jul 97 16:11:48 +0200
Subject: Selecting a modem based on the area code
To: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

Hi,

Has anyone implemented a process whereby a fax can be directed to a 
specific modem based on the destination phone number or area code?

I would like to place a modem in each of our nodes located thought the 
country. Each of these would therefore be "local" to that region whilst 
there is one central HylaFAX server.

I notice this is in the TODO list

Regards
Steve

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 24 Jul 1997 10:49:50 -0400 (EDT)
From: Brendon Perero <perero@wopr.inetu.net>
To: David Woolley <david@djwhome.demon.co.uk>
cc: CADMO <cadmo@interbusiness.it>, flexfax@sgi.com
Subject: Re: HylaFAX
Sender: owner-flexfax@celestial.com

What you want to do is use the class 1 hardware configuration.
The class 2 doesn't seem to work most of the time and the software
configuration likes to drop connection most of the time.

Brendon Perero
INetU, Inc.


On Wed, 23 Jul 1997, David Woolley wrote:

> > Sometimes it gots two pages, never three...
> > SIGH! I am sad!
> > Any idea (please, different from the one you have of me!)
> 
> Read the warnings in the documentation about the use of Class 1 modems, then
> either obtain a modem with a working Class 2 or 2.0 implementation, or
> obtain a computer with lower serial I/O latency.
> 
> (Caution, there appear to be quite a few modems with broken Class 2
> imlementations - e.g about 6 weeks ago there were many people experiencing
> problems with USR modems.)
> 
> (Note, I've only used Hylafax with a Class 2 modem on the reccommended list,
> so I'm not completely sure what an underrun Class modem would look like on
> the log.)
> 

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 24 Jul 1997 11:02:59 -0500
From: Sherri Vanyek <svanyek@ala.org>
To: flexfax@sgi.com
Subject: hylafax-v4.0pl1 - BSDI 2.1 O/S
Sender: owner-flexfax@celestial.com

I recently upgraded hylafax to version 4 because I had a hardware
failure that caused me to load  BSDI 2.1 (unix kernel) straight and hylafax
3.0 would no longer function.  

Hylafax 4.0 is up and running and I can send faxes out.  However, I need
to interface it to my listprocessor using sendmail which I had
previously done by using the faxmail gateway and the /etc/aliases file.

When I send a message to a list I get the following error:

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

   ----- The following addresses have delivery notifications -----
"|/usr/local/sbin/mailfax | /usr/local/sbin/sendfax -d
Larry.Hersam@2802438 -n"  (unrecoverable error)
    (expanded from: <Larry.Hersam>)
"|/usr/local/sbin/mailfax | /usr/local/sbin/sendfax -d
Rob.Carlson@2804392 -n"  (unrecoverable error)
    (expanded from: <rob.carlson>)

   ----- Transcript of session follows -----
faxmail: No Destination/Dialstring specified.
sendfax: No input data; tranmission aborted.
554 "|/usr/local/sbin/mailfax | /usr/local/sbin/sendfax -d
Larry.Hersam@2802438 -n"... unknown mailer error 255
faxmail: No Destination/Dialstring specified.
sendfax: No input data; tranmission aborted.
554 "|/usr/local/sbin/mailfax | /usr/local/sbin/sendfax -d
Rob.Carlson@2804392 -n"... unknown mailer error 255

--KAA06151.869757995/ala1.ala.org
Content-Type: message/delivery-status

Reporting-MTA: dns; ala1.ala.org
Received-From-MTA: DNS; ala1.ala.org
Arrival-Date: Thu, 24 Jul 1997 10:26:33 -0500 (CDT)

Final-Recipient: RFC822; larry.hersam@ala1.ala.org
X-Actual-Recipient: RFC822; |/usr/local/sbin/mailfax |
/usr/local/sbin/sendfax -d Rob.Carlson@2802438 -n
Action: failed
Status: 5.0.0
Last-Attempt-Date: Thu, 24 Jul 1997 10:26:34 -0500 (CDT)

Final-Recipient: RFC822; rob.carlson@ala1.ala.org
X-Actual-Recipient: RFC822; |/usr/local/sbin/mailfax |
/usr/local/sbin/sendfax -d Rob.Carlson@2804392 -n
Action: failed
Status: 5.0.0
Last-Attempt-Date: Thu, 24 Jul 1997 10:26:34 -0500 (CDT)
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><

I followed the instructions for the sendmail version of the fax gateway
interface with mailfax.  I modified the sendmail.cf file and restarted the
process.  

Any ideas as to what the problem resolution might be???  Maybe I
missed something or interrupted something incorrectly in the instruction? 
 :(

Thanks,
Sherri Vanyek
American Library Association
ITS Department

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 24 Jul 1997 12:06:10 -0400
To: flexfax@sgi.com
From: Ivan Kohler <ivan@voicenet.com>
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.4
X-MIME-Autoconverted: from 8bit to quoted-printable by mail3.voicenet.com id NAA16462
Sender: owner-flexfax@celestial.com

I've been using HylaFAX 4.0pl1, built from source, on Solaris 2.5 for many
months with no problems.  Specifically, I did not need to make
~fax/dev/ticlts.  I'm using modems on a 8-port serial card (Sun SPC) -
perhaps that is why?

At 09:36 AM 7/24/97 +0200, Morten Skjelland wrote:
>"C.K." <cwk@ceres.fwcnetworks.com> writes:
>
>| I have had a similiar thing happen to me. All of a sudden my machine will
>| 
>| sync & crash and print some freaked out message about device xxxxx
>| 
>| and reboot, and boot back up in Single user mode and require for me to run
>| 
>| fsck manually on the faulty patition. Should I make the same device
>| 
>| (mknod ticlts c 105 2) for Solaris 2.4 in ~fax/dev ???
>| 
>| email : cwk@fwcnetworks.com
>| URL   : http://www.fwcnetworks.com/
>
>Yes, it looks like Solaris 2.3 and higher needs /dev/ticlts.
>
>Morten
>-- 
>mortens@pvv.org
>Jeg lukker et ye og ser halvt.  Jeg lukker begge og ser alt.
>
>

-- 
Ivan Kohler
VoiceNet Staff
ivan@voicenet.com
"I ain't often right but I've never been wrong
 It seldom turns out the way it does in the song
 Once in a while you get shown the light
 in the strangest of places if you look at it right" -JG/RH

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 24 Jul 1997 13:15:21 -0500
From: Sherri Vanyek <svanyek@ala.org>
To: flexfax@sgi.com
Subject: faxmail gateway - hylafax-v4.0pl1 - BSDI 2.1 O/S
Sender: owner-flexfax@celestial.com

I changed the /etc/aliases file and now I am getting the following error:

 ----- The following addresses have delivery notifications -----
"|/usr/local/sbin/faxmail -d Larry.Hersam@2802438"  (unrecoverable
error)
    (expanded from: <Larry.Hersam>)
"|/usr/local/sbin/faxmail -d Rob.Carlson@2804392.fax"  (unrecoverable
error)
    (expanded from: <rob.carlson>)

   ----- Transcript of session follows -----
Password:
faxmail: Login failed: 500 'PASS ': Syntax error, expecting password..
554 "|/usr/local/sbin/faxmail -d Larry.Hersam@2802438"... unknown
mailer error 255
Password:
faxmail: Login failed: 500 'PASS ': Syntax error, expecting password..
554 "|/usr/local/sbin/faxmail -d Rob.Carlson@2804392.fax"... unknown
mailer error 255

--NAA15468.869767678/ala1.ala.org
Content-Type: message/delivery-status

Reporting-MTA: dns; ala1.ala.org
Received-From-MTA: DNS; ala1.ala.org
Arrival-Date: Thu, 24 Jul 1997 13:07:56 -0500 (CDT)

Final-Recipient: RFC822; larry.hersam@ala1.ala.org
X-Actual-Recipient: RFC822; |/usr/local/sbin/faxmail -d
Larry.Hersam@2802438
Action: failed
Status: 5.0.0
Last-Attempt-Date: Thu, 24 Jul 1997 13:07:57 -0500 (CDT)

Final-Recipient: RFC822; rob.carlson@ala1.ala.org
X-Actual-Recipient: RFC822; |/usr/local/sbin/faxmail -d
Rob.Carlson@2804392.fax
Action: failed
Status: 5.0.0
Last-Attempt-Date: Thu, 24 Jul 1997 13:07:58 -0500 (CDT)

I am getting closer?

thanks,
Sherri

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 24 Jul 1997 16:20:48 -0400 (EDT)
Organization: The Creative Group
From: Patrick Gardella <patrick@cre8tivegroup.com>
To: flexfax@celestial.com
Subject: Scheduling?
Sender: owner-flexfax@celestial.com

I have read the FAQ and the man 1 hfaxd.  I tried to search the MLA, but I can't
determine the right query string to find what I need.  :)
 

I was wondering how HylaFAX handles sending of faxes.  It looks to be a FIFO 
queue, except when there is an error.  Then it appears to go through the next
5 or so.  And it keeps cycling through these 6.  Is that correct?

And when the errors reaches the limit, it rejects the fax (planned feature, I 
know).  

The faxes I am trying to send are to *very* busy fax machines, so I routinely 
hit the limit on retries (now set to 12).

What I would *like* to do is re-queue the failed fax at the back of the queue,
*or* to print the failed fax for manual delivery (preferred option).

Patrick

FYI:  HylaFAX 4.0pl1 on FreeBSD 2.2.1 machine with 1 2834ZDX Multitech 
Multimodem (soon to be 8).  
----------------------------------
E-Mail: Patrick Gardella <patrick@cre8tivegroup.com>
Date: 24-Jul-97
Time: 16:20:48

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

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 24 Jul 1997 21:36:49 -0700 (PDT)
From: "C.K." <cwk@ceres.fwcnetworks.com>
To: Ivan Kohler <ivan@voicenet.com>
cc: flexfax@sgi.com
Subject: Re: Problems with HylaFax 4.0pl1 on Solaris 2.4
Sender: owner-flexfax@celestial.com

I guess I'll wait and find out.  I have been a HylaFAX user for two years,

before version 4.0pl1 my Sparc never crashed from anything. Usually i

attribute matters like this to human error, my errors specifically.

If it crashes again, I will let others know.


email : cwk@fwcnetworks.com
URL   : http://www.fwcnetworks.com/


On Thu, 24 Jul 1997, Ivan Kohler wrote:

> I've been using HylaFAX 4.0pl1, built from source, on Solaris 2.5 for many
> months with no problems.  Specifically, I did not need to make
> ~fax/dev/ticlts.  I'm using modems on a 8-port serial card (Sun SPC) -
> perhaps that is why?
> 
> At 09:36 AM 7/24/97 +0200, Morten Skjelland wrote:
> >"C.K." <cwk@ceres.fwcnetworks.com> writes:
> >
> >| I have had a similiar thing happen to me.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 25 Jul 1997 10:03:42 -0300 (GMT+3)
From: Ben Parker <ben@dha.unon.org>
To: David Woolley <david@djwhome.demon.co.uk>
cc: flexfax@sgi.com
Subject: Re: faxmail :attachment file ?
Sender: owner-flexfax@celestial.com

This looks like it's going to work. If I multiply the scale by 20, passing
the output of pnmtops through a little Perl filter thingy, then I get
someting more or less looking OK.

Thanks very much,

Ben

On Tue, 22 Jul 1997, David Woolley wrote:

> > through faxmail doesn't work either as the graphic get squashed into the a
> > tiny bottom left corner by faxmail and sendfax. 
> 
> PS there should be a group of numbers near the beginning of the output
> from pnmtops which contain the pixel size of the image.  It shouldn't be
> difficult to extract them with sed, to create the correct scaling information,
> or even to clobber them, so that the image is scaled directly to the
> required size.  This assumes there is no option which avoids the need.
> 
> 
> I think you can get away without even using gsave...grestore, if you clobber
> the image scale.
> 

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Steve Williams <steve@genie96.com>
Subject: Re: Selecting a modem based on the area code
To: steve@bcs.co.za
Date: Fri, 25 Jul 1997 11:29:10 -0600 (MDT)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> 
> Hi,
> 
> Has anyone implemented a process whereby a fax can be directed to a 
> specific modem based on the destination phone number or area code?
> 
> I would like to place a modem in each of our nodes located thought the 
> country. Each of these would therefore be "local" to that region whilst 
> there is one central HylaFAX server.
> 
> I notice this is in the TODO list
> 
It wouldn't be too hard to put a shell/perl/... script wrapper around 
sendfax.

This script would examine the destination phone number, look up in a 
table which "Server" would be servicing that number, set the FAXSERVER=
environment variable, then call sendfax.  I could whip it off in about
4 lines of shell script for an easy implementation.

Let me know if you want more info.

Good Luck,
-- 
	Steve Williams, Calgary, Alberta, Canada
	Genie Computer Systems Inc.
	steve@genie96.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 25 Jul 1997 12:04:17 -0700 (PDT)
From: Tim Rice <tim@trr.metro.NET>
To: Sordo Maurizio <maurizio@sordo.com>
cc: flexfax@sgi.com
Subject: Re: Problem with ps2fax for SCO Unix 
Sender: owner-flexfax@celestial.com

On Thu, 24 Jul 1997, Sordo Maurizio wrote:

Did you build from source or are you using the binaries?

What version of Ghostscript are you using?

Did you install all the Ghostscript fonts?

> Hallo,
> 
> my name is Maurizio Sordo.
> My system is "SCO Openserver 5.0  (Enterprise Edition) "
> My machine is "Hewlet Packard LD Pro "
> I am installed "hylafax" and "ghostscript"  .
> I have this problem:
> If I use this command:
>   sendfax -n -d +43030 <<EOF
>               HALLO
>               EOF
> or any other "sendfax" command, "hylafax" send me this e-mail:
> ************************************************
> >From fax Mon Jul 21 16:23:38 1997                                         
>     Received: (uucp@localhost) by hpserver.seldati.com (8.6.8.1/SCA-6.6)  
>                 id QAA24118; Mon, 21 Jul 1997 16:23:37 GMT                
>             Return-Path: <fax>                                            
>                 Date: Mon, 21 Jul 1997 16:23:37 GMT                       
>                     From: Facsimile Agent <fax>                           
>                         Message-Id:
> <199707211623.QAA24118@hpserver.seldati.com>                        To:
> root@hpserver                                                             
> Subject: facsimile job 1 to 4394043 failed                                
>     Status: RO                                                            
>             Your facsimile job to 4394043 was not sent because document
> conversion          to facsimile failed.  The output from the converter
> program was:                                                              
>                                 Error: /typecheck in --restore--          
>                                     Operand stack:                        
>                                             -savetype-  /Courier-Bold     
>                                             Execution stack:              
>                                                     %interp_exit
> --nostringval--  --nostringval--  --nostringval--  false  --nostringval--
> --nostringval--  --nostringval--                                 
> Dictionary stack:                                                         
>         537/547  0/20  6/200                                              
>         Ghostscript: Unrecoverable error, exit code 1                     
> ********************
> I can't send any fax,
> 
> Can you help me, please?
> 
> Regards
> 
> Maurizio Sordo
> 

--
Tim Rice			Multitalents	(707) 887-1469 (voice)
tim@trr.metro.net

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Fri, 25 Jul 1997 16:34:47 -0400
To: Steve Williams <steve@genie96.com>, steve@bcs.co.za
From: Aidan Van Dyk <aidan@magma.ca>
Subject: Re: Selecting a modem based on the area code
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

Something as simple as setting the ModemClass would probably suffice.  A
simple
shell script which just calls sendfax with the -h ModemClass@host to specify a
differnet line if you have them all on one server.

At 11:29 AM 7/25/97 -0600, Steve Williams wrote:
>> 
>> Hi,
>> 
>> Has anyone implemented a process whereby a fax can be directed to a 
>> specific modem based on the destination phone number or area code?
>> 
>> I would like to place a modem in each of our nodes located thought the 
>> country. Each of these would therefore be "local" to that region whilst 
>> there is one central HylaFAX server.
>> 
>> I notice this is in the TODO list
>> 
>It wouldn't be too hard to put a shell/perl/... script wrapper around 
>sendfax.
>
>This script would examine the destination phone number, look up in a 
>table which "Server" would be servicing that number, set the FAXSERVER=
>environment variable, then call sendfax.  I could whip it off in about
>4 lines of shell script for an easy implementation.
>
>Let me know if you want more info.
>
>Good Luck,
>-- 
>	Steve Williams, Calgary, Alberta, Canada
>	Genie Computer Systems Inc.
>	steve@genie96.com
>
>

Aidan Van Dyk                               aidan@magma.ca
-------------------------------------------------------------------------
   Magma Communications Ltd                 Phone: +1 613 228-3565
   Unit 201, 52 Antares Drive               Fax:   +1 613 228-8313
   Nepean, Ontario, K2E 7Z1                 WWW:   http://www.magma.ca/

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Steve Williams <steve@genie96.com>
Subject: Re: Selecting a modem based on the area code
To: aidan@magma.ca (Aidan Van Dyk)
Date: Fri, 25 Jul 1997 14:58:44 -0600 (MDT)
Cc: steve@genie96.com, steve@bcs.co.za, flexfax@sgi.com
Sender: owner-flexfax@celestial.com

Hummm,

The way I read his post is that he wants to have several "Servers", with
one central "Client" ( or multiple "Clients", one on each "Server" ).  The 
"Servers" have the modems attached to them, and the central "Client" would 
just dispatch the fax to the appropriate "Server", where the call would be 
a local call.  ( Presumably via the Internet/WAN/... )

I may be wrong on my interpretation.

The ModemClass paramater would only be useful if there were central "Server"
with all the modems attached to it.  Using the ModemClass, remote "Clients"
could specify which modem/group of modems on the "Server" to send the fax 
out on.

> 
> Something as simple as setting the ModemClass would probably suffice.  A
> simple
> shell script which just calls sendfax with the -h ModemClass@host to specify a
> differnet line if you have them all on one server.
> 
> At 11:29 AM 7/25/97 -0600, Steve Williams wrote:
> >> 
> >> Hi,
> >> 
> >> Has anyone implemented a process whereby a fax can be directed to a 
> >> specific modem based on the destination phone number or area code?
> >> 
> >> I would like to place a modem in each of our nodes located thought the 
> >> country. Each of these would therefore be "local" to that region whilst 
> >> there is one central HylaFAX server.
> >> 
> >> I notice this is in the TODO list
> >> 
> >It wouldn't be too hard to put a shell/perl/... script wrapper around 
> >sendfax.
> >
> >This script would examine the destination phone number, look up in a 
> >table which "Server" would be servicing that number, set the FAXSERVER=
> >environment variable, then call sendfax.  I could whip it off in about
> >4 lines of shell script for an easy implementation.
> >
> >Let me know if you want more info.
> >
> >Good Luck,
> >-- 
> >	Steve Williams, Calgary, Alberta, Canada
> >	Genie Computer Systems Inc.
> >	steve@genie96.com
> >
> >
> 
> Aidan Van Dyk                               aidan@magma.ca
> -------------------------------------------------------------------------
>    Magma Communications Ltd                 Phone: +1 613 228-3565
>    Unit 201, 52 Antares Drive               Fax:   +1 613 228-8313
>    Nepean, Ontario, K2E 7Z1                 WWW:   http://www.magma.ca/
> 


-- 
	Steve Williams, Calgary, Alberta, Canada
	Genie Computer Systems Inc.
	steve@genie96.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Leslie Mikesell <les@Mcs.Net>
Subject: Re: sendfax/faxcover problems resolved (sort of)
To: edstrom@bubo.hmsc.orst.edu (John Edstrom)
Date: Fri, 25 Jul 1997 23:09:04 -0500 (CDT)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> I've had trouble getting sendfax and faxcover to do exactly what I
> want, mostly regarding idiosyncratic phone jiggery-pokery.   
> 
> For example, all Oregon State phones are one exchange, no matter where
> in the state they are physicly they are internal calls, and can only
> be reached by prefixing a 7 on the four digit number.  i.e. 867.1234
> -> 7.1234.  All outside calls, LD or local, need to have a 9 prefix.
> All LD calls need to be suffixed by a secret number which you don't
> want appearing on the fax as the to-fax-number so the dialed number
> has to be different from the displayed number on the fax cover
> sheet. i.e. 91555.555.1234@secretcodenumber -> 91555.555.1234.

Those transformations don't sound impossible with the stock
dialrules.  I fill in the outbound prefix and the 1 for LD if
it is missing and also allow a #7xxxx prefix which is a
bill-to-alternate-extension code without displaying it.

> What I did was to write my own sendfax and faxcover in perl that
> performs replacements as per dialrules, but also senses when prefixes
> and suffixes should be added or deleted and uses the ~/.hylafaxrc
> resource file like it ought to.  

If you can detect when to add/delete with a regexp match you should
be able to describe them in the dialrules transformations.

Les Mikesell
  les@mcs.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: faxmail postscript attachment scaling problem
To: ben@dha.unon.org (Ben Parker)
Date: Sat, 26 Jul 1997 13:42:46 +0100 (BST)
Cc: flexfax@sgi.com
Sender: owner-flexfax@celestial.com

> found that this happens because textfmt (actually faxmail) adds a
> PS-prologue in which a line like.
> 
> 0.05 dup scale
> 
> occurs. This line causes all output to be scaled to 1/20 of the natural

In my version of textfmt, this is in the page prologue, not the document
prologue, and is protected by being within a save...restore pair.  The
Hylafax system is installed in the office, though and I haven't time, when
there, at the moment, to play with it to see exactly what it does.

If the page is not being closed at the end of the text insertion, you will
have worse problems!

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Dr Andreas F Muller <Andreas.Mueller@othello.ch>
Date: Sat, 26 Jul 97 21:06:34 +0200
To: flexfax@celestial.com
Subject: UCP paging (SMS/GSM): originator, authentication, character set
Cc: yngvi@hagkaup.is
Sender: owner-flexfax@celestial.com

Hello,

in Yngvi's sources that add UCP capabilities, I missed the ability
to specify the sender of the message. And the character set for SMS
seems to be very distantly related to iso 8859-1. I've added a new
option to the info file called "pageSource", it specifies the sender of
the message. This will in many cases be identical to the Fax number,
but in some cases, like may own GSM phone, it may be the number of
the phone, which is different from the Fax number. A gigantic switch
statement translates all iso8859-1 characters to something recognizable
in the GSM alphabet, most of the time following the character set
RFC 1345. Furthermore, the pagerPassword option is used for UCP
authentication, if present.

I've been using this code now for a few days together with a HTML frontend
without bigger problems.

Installation:

1.  get Yngvi's stuff from

	http://www.hagkaup.is/~yngvi/hylafax

    install according to his instructions.
2.  Add the option pageSource to the files faxd/FaxMachineInfo.{c++,h}
3.  replace faxd/ucpSendApp.{c++,h} by the files you find on

	http://www.othello.ch/software

    rename the file ucpSendApp.cpp you find there to ucpSendApp.c++
4.  recompile and install.

You should now be able to send SMS messages containing characters like []{},
which are not allowed by the GSM alphabet (at least in Switzerland). They
will be mapped to <()>(!!).

Possible Problems:

1.  If you compile under Solaris 2.5 with gcc 2.7.2, you must turn off
    optimization for the file SNPPServer.c++, because an optimizer bug
    in the method dataCmd() breaks the DATA command of the SNPP server.
2.  If you use the thing in Switzerland to call the SMS center 1529300,
    be sure not to use the Hylafax recommended dial string ATDT%s@, the
    @ does not work. Simply use ATDT%s.

Hopefully, someone finds this thing useful. Regards

					Andreas Mueller

------------------------------------------------------------
Dr. Andreas Mueller                 Beratung und Entwicklung
Bubental 53, CH - 8852 Altendorf            <afm@othello.ch>
Voice: +41 55 462 1483             Fax/Data: +41 55 462 1485
------------------------------------------------------------

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 28 Jul 1997 16:28:38 +0200
From: Sven Arndt <sar@tng.de>
Organization: tng
To: flexfax@celestial.com
Subject: Hylafax and PPP?
Sender: owner-flexfax@celestial.com

Hi!

I would like to use a single modem to recieve faxes and to let people
log  in (using PPP).

I can recieve faxes now - but when someone tries to dial for an
PPP-Connection the modems do not connect.

What's wrong? Should I send a special INIT-String? The Hylafax-modem is
a USR Sportster 28.8 - the client side is a generic 14k modem.

Greetings,

SVen
--
Sven Arndt - http://www.tng.de/~sar - mailto:sar@tng.de

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 28 Jul 1997 09:34:38 -0500
From: Sherri Vanyek <svanyek@ala.org>
To: flexfax@sgi.com
Subject: Unknown mailer error 255 & 500 PASS:Syntax error
Sender: owner-flexfax@celestial.com

I am trying to use the fax-gateway via /etc/aliases.  I am able to get the
faxmail command to work from a user on the system at the command
prompt so I know that the Rob.Carlson@2802492 is working.  I need
HELP!!!!!!!!
554 "|/usr/local/sbin/faxmail | /usr/local/sbin/sendfax -d
Rob.Carlson@2804392 -n"  (unrecoverable error)
    (expanded from: <rob.carlson>)
Password:
Login failed: 500 'PASS ': Syntax error, expecting password.
554 "|/usr/local/sbin/faxmail | /usr/local/sbin/sendfax -d
Rob.Carlson@2804392 -n"... unknown mailer error 255

Any help would be great!

Thanks,
Sherri Vanyek
ITS Department
American Library Association
svanyek@ala.org

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 28 Jul 1997 12:40:28 -0700
To: Robert Colquhoun <rjc@trump.net.au>
From: "Roeland M.J. Meyer" <rmeyer@mhsc.com>
Subject: Re: Hylafax and PPP?
Cc: Sven Arndt <sar@tng.de>, flexfax@celestial.com
Sender: owner-flexfax@celestial.com

At 09:33 AM 7/29/97 +1000, Robert Colquhoun wrote:
>At 16:28 28/07/97 +0200, Sven Arndt wrote:
>
>>I would like to use a single modem to recieve faxes and to let people
>>log  in (using PPP).
>
>Hello Sven
>You need to get a copy of mgetty (from Sunsite or wherever)
>
>Get hylafax to look at mgetty for its getty and egetty programs
>
>Run faxgetty on each modem setting
>	GettyArgs: "-r -b -s 38400 %l"
>
>Enable AutoPPP in mgetty's login.config
>and in mgetty.config something like:
>	port ttyS*
>		direct y
>		toggle-dtr n

I was looking at doing the same thing but ran into an unanswered question;
Does this mean I'd have to disable mgetty's FAX recieve abilities? I was
thinking to run mgetty instead of faxgetty, would this not work?
_________________________________________________
Roeland M.J. Meyer (RM993)                                  
e-mail:		rmeyer@mhsc.com
web pages:	http://www.mhsc.com/~rmeyer
            
_________________________________________________

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 28 Jul 1997 13:43:25 -0600 (MDT)
From: Jim Hribnak <hribnak@nucleus.com>
To: Sherri Vanyek <svanyek@ala.org>
cc: flexfax@sgi.com
Subject: Re: Unknown mailer error 255 & 500 PASS:Syntax error
Sender: owner-flexfax@celestial.com



On Mon, 28 Jul 1997, Sherri Vanyek wrote:

I am trying to use the fax-gateway via /etc/aliases.  I am able to get the
faxmail command to work from a user on the system at the command
prompt so I know that the Rob.Carlson@2802492 is working.  I need
HELP!!!!!!!!
554 "|/usr/local/sbin/faxmail | /usr/local/sbin/sendfax -d
Rob.Carlson@2804392 -n"  (unrecoverable error)
    (expanded from: <rob.carlson>)
Password:
Login failed: 500 'PASS ': Syntax error, expecting password.
554 "|/usr/local/sbin/faxmail | /usr/local/sbin/sendfax -d
Rob.Carlson@2804392 -n"... unknown mailer error 255

Any help would be great!

Thanks,
Sherri Vanyek
ITS Department
American Library Association
svanyek@ala.org
=======

Same problem I had.. check the directory where the converting programs are
(ps2??? files) and try running them from the command line.. I had a
problem where when I ran those they would not find the cache file for hyla
fax (due the converting programs looking in the WRONG etc directory for
its needed files)

Jim

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 29 Jul 1997 09:33:08 +1000
To: Sven Arndt <sar@tng.de>, flexfax@celestial.com
From: Robert Colquhoun <rjc@trump.net.au>
Subject: Re: Hylafax and PPP?
Sender: owner-flexfax@celestial.com

At 16:28 28/07/97 +0200, Sven Arndt wrote:

>I would like to use a single modem to recieve faxes and to let people
>log  in (using PPP).

Hello Sven
You need to get a copy of mgetty (from Sunsite or wherever)

Get hylafax to look at mgetty for its getty and egetty programs

Run faxgetty on each modem setting
	GettyArgs: "-r -b -s 38400 %l"

Enable AutoPPP in mgetty's login.config
and in mgetty.config something like:
	port ttyS*
		direct y
		toggle-dtr n

PS This should be a FAQ question

Robert

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Mon, 28 Jul 1997 21:05:31 -0500
From: bgraf@adnovum.de (Bernhard Graf)
Reply-To: bgraf@adnovum.de
Organization: ADNOVUM
To: flexfax@sgi.com
Subject: Strange "Permission denied" error
Sender: owner-flexfax@celestial.com

Hello,

I have a problem getting Hylafax v4.0 pl1 on Linux 2.0.30 Intel to work.
Everything seems OK, but when I run any command, no matter what it is
with the -v switch I get the error :
420 "hostname" server cannot initialize: Could not create
client/"number": Permission denied.

I tried everything as etc/host, I chmoded it 0600, nothing changed.
Is it really a rights problem of a daemon process or does the software
try to create a file in a directory and has no right ?
I also set the faxstat and other client programs setuid root, started
all daemons as root, nothing helped.

What is it ?

Greetings,
Bernhard

Please reply to bgraf@adnovum.de

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date:	Tue, 29 Jul 1997 02:55:09 -0400
From:	hugh@mimosa.com ("D. Hugh Redelmeier")
To:	flexfax@celestial.com
Subject: problem with Motorola ModemSURFR modem
Sender: owner-flexfax@celestial.com

I am running HylaFAX v4.0pl0 (not pl1) on Solaris 2.5 (SPARC) with a
Motorola ModemSURFR External 28.8.

Every once in a while, HylaFAX starts complaining that my modem is
wedged.  I think that I know what the problem is.

According to truss, hfaxd is issuing the following command to the
modem:

	ATZE0V1Q0S0=0H0

I parsed this into:

	ATZ: reset the modem
	E0: turn off echoing
	V1: use words in response code
	Q0: turn on response messages
	S0=0: don't answer the phone
	H0: hang up the phone.

All this looks fine, except I've found that my modem will not accept
commands after ATZ on the same line.  The actual rejection message is
"4" -- command not recognized or too long.  Note that it is numeric
because the modem happens to be in this state.

When I look in my config.cua_a file, none of the strings look like
this long sequence.  I infer that HylaFAX is merging several strings.
Is there anyway to get it to NOT do this for ATZ?

The ATZ string is likely the ModemSoftResetCmd.  Perhaps I could
get the effect by defining it to be
	"ATZ\r<waitfor:0>"
Does this look right?

I'm willing to dig in the code, but I thought I'd ask first -- perhaps
there is a correct way to do this.

Thanks,

Hugh Redelmeier
hugh@mimosa.com  voice: +1 416 482-8253

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: kap10.studcs.uni-sb.de: mreckt owned process doing -bs
Date: Tue, 29 Jul 1997 12:08:20 +0200 (CEST)
From: Martin Recktenwald <mreckt@studcs.uni-sb.de>
To: HylaFAX mailing list <flexfax@sgi.com>
Subject: outbound fax and inbound data
Sender: owner-flexfax@celestial.com

Hi,

I have a problem with HylaFAX 4.0pl1 (running on FreeBSD3.0):

I want to use the same modem for incoming data calls (I have
getty running) and for sending fax.

Sending fax works without problems, the only thing I need is a modem
reset when HylaFAX has done its work.

What parameter can be set in the modem configuration file to let
HylaFAX reset the modem?

Or is it a bad idea anyway to have getty running and HylaFAX
taking over the line - should I use faxgetty although I do not
want to receive fax?

   Martin.
-------------------------------------------------- mreckt@studcs.uni-sb.de

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 29 Jul 1997 03:14:35 -0700
To: Leslie Mikesell <les@Mcs.Net>
From: "Roeland M.J. Meyer" <rmeyer@mhsc.com>
Subject: Re: Hylafax and PPP?
Cc: rmeyer@mhsc.com (Roeland M.J. Meyer), rjc@trump.net.au, sar@tng.de,
        flexfax@celestial.com
Sender: owner-flexfax@celestial.com

At 08:45 AM 7/29/97 -0500, Leslie Mikesell wrote:
>> At 09:33 AM 7/29/97 +1000, Robert Colquhoun wrote:
>
>> >
>> >Get hylafax to look at mgetty for its getty and egetty programs
>
>> I was looking at doing the same thing but ran into an unanswered question;
>> Does this mean I'd have to disable mgetty's FAX recieve abilities? I was
>> thinking to run mgetty instead of faxgetty, would this not work?
>
>That should work, but you'll lose a little on the outbound side since
>faxq won't know the state the modem unless faxgetty is running and
>it won't be able to detect the 1-D vs. 2-D encoding capability of
>the modem.  Why would you prefer mgetty's fax reception over faxgetty's
>anyway?  

It's not a preference, just that I've been running mgetty for some time now
and I  new to HylaFAX. However, I am using mgetty to process dial-in, PPP,
and FidoNet calls, AWA, FAX. My concern is that ALL these call types get
processed correctly.

If I can get a confirmation;
I run faxgetty on the port, in inittab.
This hands the call off to mgetty if it's not a FAX call.
mgetty can then handle the dial-in/PPP/FidoNet call as normal
mgetty's FAX capabilities are disabled.

>I always thought someone should glue a 'built-in' getty
>for data into faxgetty (keeping the external one as an option) since
>there is next to nothing involved when the modem speed is locked and
>it already knows about utmp entries.  Then it could do the same trick
>as mgetty to auto-detect PPP without having to exec an intermediate
>program.  (Of course I've been too lazy to try this myself...).

It's a little more complex than that. PPP isn't the only thing folks dial
into a Unix system for. There's normal shell dial-in, FidoNet mailer
support, PPP (of course), RADIUS server support., UUCP (still around
folks), plus proprietary/custom special purpose program support (weather
station, data logging support, etc). 

I do most of the above. I might be a good point that I'm over-working my
poor modems <grin>.

_________________________________________________
Roeland M.J. Meyer (RM993)                                  
e-mail:		rmeyer@mhsc.com
web pages:	http://www.mhsc.com/~rmeyer
            
_________________________________________________

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 29 Jul 1997 03:14:35 -0700
To: Leslie Mikesell <les@Mcs.Net>
From: "Roeland M.J. Meyer" <rmeyer@mhsc.com>
Subject: Re: Hylafax and PPP?
Cc: rmeyer@mhsc.com (Roeland M.J. Meyer), rjc@trump.net.au, sar@tng.de,
        flexfax@celestial.com
Sender: owner-flexfax@celestial.com

At 08:45 AM 7/29/97 -0500, Leslie Mikesell wrote:
>> At 09:33 AM 7/29/97 +1000, Robert Colquhoun wrote:
>
>> >
>> >Get hylafax to look at mgetty for its getty and egetty programs
>
>> I was looking at doing the same thing but ran into an unanswered question;
>> Does this mean I'd have to disable mgetty's FAX recieve abilities? I was
>> thinking to run mgetty instead of faxgetty, would this not work?
>
>That should work, but you'll lose a little on the outbound side since
>faxq won't know the state the modem unless faxgetty is running and
>it won't be able to detect the 1-D vs. 2-D encoding capability of
>the modem.  Why would you prefer mgetty's fax reception over faxgetty's
>anyway?  

It's not a preference, just that I've been running mgetty for some time now
and I  new to HylaFAX. However, I am using mgetty to process dial-in, PPP,
and FidoNet calls, AWA, FAX. My concern is that ALL these call types get
processed correctly.

If I can get a confirmation;
I run faxgetty on the port, in inittab.
This hands the call off to mgetty if it's not a FAX call.
mgetty can then handle the dial-in/PPP/FidoNet call as normal
mgetty's FAX capabilities are disabled.

>I always thought someone should glue a 'built-in' getty
>for data into faxgetty (keeping the external one as an option) since
>there is next to nothing involved when the modem speed is locked and
>it already knows about utmp entries.  Then it could do the same trick
>as mgetty to auto-detect PPP without having to exec an intermediate
>program.  (Of course I've been too lazy to try this myself...).

It's a little more complex than that. PPP isn't the only thing folks dial
into a Unix system for. There's normal shell dial-in, FidoNet mailer
support, PPP (of course), RADIUS server support., UUCP (still around
folks), plus proprietary/custom special purpose program support (weather
station, data logging support, etc). 

I do most of the above. I might be a good point that I'm over-working my
poor modems <grin>.

_________________________________________________
Roeland M.J. Meyer (RM993)                                  
e-mail:		rmeyer@mhsc.com
web pages:	http://www.mhsc.com/~rmeyer
            
_________________________________________________

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 29 Jul 1997 20:30:48 +1000
To: "Roeland M.J. Meyer" <rmeyer@mhsc.com>
From: Robert Colquhoun <rjc@trump.net.au>
Subject: Re: Hylafax and PPP?
Cc: Sven Arndt <sar@tng.de>, flexfax@celestial.com
Sender: owner-flexfax@celestial.com

At 12:40 28/07/97 -0700, Roeland M.J. Meyer wrote:
>I was looking at doing the same thing but ran into an unanswered question;
>Does this mean I'd have to disable mgetty's FAX recieve abilities? I was
>thinking to run mgetty instead of faxgetty, would this not work?

faxgetty is run on the line ie in /etc/inittab and only hands off to mgetty
if it is a data call.  As a double check you could add the data-only option
to mgetty.config.

Note also when building mgetty it also creates its own sendfax program it
is usually best to rm this.

Robert

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 29 Jul 1997 11:56:34 +0100 (WET DST)
From: Dani Pardo <dani@minerva.enpl.es>
To: Sven Arndt <sar@tng.de>
cc: flexfax@celestial.com
Subject: Re: Hylafax and PPP?
Sender: owner-flexfax@celestial.com



On Mon, 28 Jul 1997, Sven Arndt wrote:

>Hi!
>
>I would like to use a single modem to recieve faxes and to let people
>log  in (using PPP).
>
>I can recieve faxes now - but when someone tries to dial for an
>PPP-Connection the modems do not connect.
>
>What's wrong? Should I send a special INIT-String? The Hylafax-modem is
>a USR Sportster 28.8 - the client side is a generic 14k modem.

  I solved that inserting 

ModemOnHookCmd:         ATH0S0=1        # place phone on hook (hangup)

 in my modem config file.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Leslie Mikesell <les@Mcs.Net>
Subject: Re: Hylafax and PPP?
To: rmeyer@mhsc.com (Roeland M.J. Meyer)
Date: Tue, 29 Jul 1997 08:45:56 -0500 (CDT)
Cc: rjc@trump.net.au, sar@tng.de, flexfax@celestial.com
Sender: owner-flexfax@celestial.com

> At 09:33 AM 7/29/97 +1000, Robert Colquhoun wrote:

> >
> >Get hylafax to look at mgetty for its getty and egetty programs

> I was looking at doing the same thing but ran into an unanswered question;
> Does this mean I'd have to disable mgetty's FAX recieve abilities? I was
> thinking to run mgetty instead of faxgetty, would this not work?

That should work, but you'll lose a little on the outbound side since
faxq won't know the state the modem unless faxgetty is running and
it won't be able to detect the 1-D vs. 2-D encoding capability of
the modem.  Why would you prefer mgetty's fax reception over faxgetty's
anyway?  I always thought someone should glue a 'built-in' getty
for data into faxgetty (keeping the external one as an option) since
there is next to nothing involved when the modem speed is locked and
it already knows about utmp entries.  Then it could do the same trick
as mgetty to auto-detect PPP without having to exec an intermediate
program.  (Of course I've been too lazy to try this myself...).

Les Mikesell
  les@mcs.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Leslie Mikesell <les@Mcs.Net>
Subject: Re: Hylafax and PPP?
To: rmeyer@mhsc.com (Roeland M.J. Meyer)
Date: Tue, 29 Jul 1997 13:17:04 -0500 (CDT)
Cc: les@Mcs.Net, rmeyer@mhsc.com, rjc@trump.net.au, sar@tng.de,
        flexfax@celestial.com
Sender: owner-flexfax@celestial.com

> It's not a preference, just that I've been running mgetty for some time now
> and I  new to HylaFAX. However, I am using mgetty to process dial-in, PPP,
> and FidoNet calls, AWA, FAX. My concern is that ALL these call types get
> processed correctly.
> 
> If I can get a confirmation;
> I run faxgetty on the port, in inittab.
> This hands the call off to mgetty if it's not a FAX call.
> mgetty can then handle the dial-in/PPP/FidoNet call as normal
> mgetty's FAX capabilities are disabled.

Yes, assuming you have a class 2 modem set for auto-detect, the
modem will say DATA and faxgetty will exec the specified at
compile-time with the arguments from the per-modem config file.
As long as your arguments and/or config file convince mgetty
that the call is up and in data mode already it should work
the way you want.

> >I always thought someone should glue a 'built-in' getty
> >for data into faxgetty (keeping the external one as an option) since
> >there is next to nothing involved when the modem speed is locked and
> >it already knows about utmp entries.  Then it could do the same trick
> >as mgetty to auto-detect PPP without having to exec an intermediate
> >program.  (Of course I've been too lazy to try this myself...).
> 
> It's a little more complex than that. PPP isn't the only thing folks dial
> into a Unix system for. There's normal shell dial-in, FidoNet mailer
> support, PPP (of course), RADIUS server support., UUCP (still around
> folks), plus proprietary/custom special purpose program support (weather
> station, data logging support, etc). 

I forgot that mgetty handles fidonet as another special case like PPP.
Other than that, shell and uucp (and anything else that goes
through login) are handled simply by displaying the /etc/issue
file, issuing the initial prompt, accepting one line of input,
then exec'ing login with that as it's argument.  Compared to
the other stuff faxgetty does, that's pretty trivial.  I didn't
mean for faxgetty to omit login capability, just that it already
has the line in the right mode so it doesn't need a real getty
to process gettydefs/ttydefs and reset everything again before
invoking login.  Why exec a 30k+ program to output a single
prompt?

Les Mikesell
  les@mcs.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Leslie Mikesell <les@Mcs.Net>
Subject: Re: Hylafax and PPP?
To: rmeyer@mhsc.com (Roeland M.J. Meyer)
Date: Tue, 29 Jul 1997 13:17:04 -0500 (CDT)
Cc: les@Mcs.Net, rmeyer@mhsc.com, rjc@trump.net.au, sar@tng.de,
        flexfax@celestial.com
Sender: owner-flexfax@celestial.com

> It's not a preference, just that I've been running mgetty for some time now
> and I  new to HylaFAX. However, I am using mgetty to process dial-in, PPP,
> and FidoNet calls, AWA, FAX. My concern is that ALL these call types get
> processed correctly.
> 
> If I can get a confirmation;
> I run faxgetty on the port, in inittab.
> This hands the call off to mgetty if it's not a FAX call.
> mgetty can then handle the dial-in/PPP/FidoNet call as normal
> mgetty's FAX capabilities are disabled.

Yes, assuming you have a class 2 modem set for auto-detect, the
modem will say DATA and faxgetty will exec the specified at
compile-time with the arguments from the per-modem config file.
As long as your arguments and/or config file convince mgetty
that the call is up and in data mode already it should work
the way you want.

> >I always thought someone should glue a 'built-in' getty
> >for data into faxgetty (keeping the external one as an option) since
> >there is next to nothing involved when the modem speed is locked and
> >it already knows about utmp entries.  Then it could do the same trick
> >as mgetty to auto-detect PPP without having to exec an intermediate
> >program.  (Of course I've been too lazy to try this myself...).
> 
> It's a little more complex than that. PPP isn't the only thing folks dial
> into a Unix system for. There's normal shell dial-in, FidoNet mailer
> support, PPP (of course), RADIUS server support., UUCP (still around
> folks), plus proprietary/custom special purpose program support (weather
> station, data logging support, etc). 

I forgot that mgetty handles fidonet as another special case like PPP.
Other than that, shell and uucp (and anything else that goes
through login) are handled simply by displaying the /etc/issue
file, issuing the initial prompt, accepting one line of input,
then exec'ing login with that as it's argument.  Compared to
the other stuff faxgetty does, that's pretty trivial.  I didn't
mean for faxgetty to omit login capability, just that it already
has the line in the right mode so it doesn't need a real getty
to process gettydefs/ttydefs and reset everything again before
invoking login.  Why exec a 30k+ program to output a single
prompt?

Les Mikesell
  les@mcs.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date:	Tue, 29 Jul 1997 17:45:20 -0400
From:	hugh@mimosa.com ("D. Hugh Redelmeier")
To:	flexfax@celestial.com
Subject: Re: problem with Motorola ModemSURFR modem
Sender: owner-flexfax@celestial.com

| I am running HylaFAX v4.0pl0 (not pl1) on Solaris 2.5 (SPARC) with a
| Motorola ModemSURFR External 28.8.

| The ATZ string is likely the ModemSoftResetCmd.  Perhaps I could
| get the effect by defining it to be
| 	"ATZ\r<waitfor:0>"
| Does this look right?

I did some more experimenting.  This does not work.  For one thing, 0
isn't a legitimate thing to waitfor.  I ended up using OTHER in its
place.  For another, it would be good to flush any pending stuff, so I
tried:

	"<flush>ATZ\n<waitfor:OTHER>"

This didn't work because HylaFAX added an AT at the front; the modem
whistles at me when it gets a command "ATATZ\r".  I don't understand
the HylaFAX rules for AT.  I changed over to:

	"AT<flush>Z\n<waitfor:OTHER>"

This started to work, I think, but the modem got:

	"ATZ\rE0V1Q0S0=0H0

In other words, HylaFAX decided not to emit the AT for the commands
after the atz.  I really don't understand the HylaFAX rules for AT!
I ended up using 

	"AT<flush>Z\n<waitfor:OTHER>AT"

which seems pretty fishy.  What is the right way to do this?

Hugh Redelmeier
hugh@mimosa.com  voice: +1 416 482-8253

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: Hylafax and PPP?
To: rjc@trump.net.au (Robert Colquhoun)
Date: Tue, 29 Jul 1997 23:48:08 +0100 (BST)
Cc: sar@tng.de, flexfax@celestial.com
Sender: owner-flexfax@celestial.com

> 
> At 16:28 28/07/97 +0200, Sven Arndt wrote:
> 
> >I would like to use a single modem to recieve faxes and to let people
> >log  in (using PPP).
> 
> Hello Sven
> You need to get a copy of mgetty (from Sunsite or wherever)
> 
I think mgetty has to be overkill if he only wants to use PPP in data mode.

Assuming the OS supports #! fully, a fairly simple shell script should be
able to run up the PPP daemon directly, without going through a secondary
PPP detect phase.  I suspect it might even be possible to run the PPP
daemon in place of the getty.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Tue, 29 Jul 1997 19:17:47 -0400
From: "Sam C. Nicholson !!" <scion@delphi.com>
Organization: Skye Communication Networks, Inc.
To: "D. Hugh Redelmeier" <hugh@mimosa.com>
CC: flexfax@celestial.com
Subject: Re: problem with Motorola ModemSURFR modem
Sender: owner-flexfax@celestial.com

Interesting,

I have a most similar configuration. 
I am 2.5.1 and hylafax p11, same modem.

My modem accepts the long config strings.

Perhaps the version of the modem firmware
is an area to check.  I do not know how
to do this on my modemSurfr, for I have 
never had occasion to need to look.  It,
and hylafax, worked out of the box.

-sam

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
X-Authentication-Warning: tui.pinnacle.co.nz: jonc owned process doing -bs
Date: Wed, 30 Jul 1997 16:14:18 +1200 (NZST)
From: Jonathan Chen <jonc@pinnacle.co.nz>
To: "D. Hugh Redelmeier" <hugh@mimosa.com>
cc: flexfax@celestial.com
Subject: Re: problem with Motorola ModemSURFR modem
Sender: owner-flexfax@celestial.com

On Tue, 29 Jul 1997, D. Hugh Redelmeier wrote:

> I ended up using 
> 
> 	"AT<flush>Z\n<waitfor:OTHER>AT"
> 
> which seems pretty fishy.  What is the right way to do this?

In normal operation, HylaFAX doesn't usually send a ATZ command down
the line to reset the modem; it does the reset by lowering DTR. Your
modem should be configured to enable this (check ModemSetupDTRCmd).

The initialization string sent to your modem after this reset is
determined by ModemResetCmds, which should read something like:

	ModemResetCmds:         ATB0&G2S11=60

If this doesn't work, you'll have to send the list your config file.
--
Jonathan Chen                          e-mail : jonc@pinnacle.co.nz
  Pinnacle Software Ltd                Voice  : +64.9.415.4460
  Auckland, New Zealand                Fax    : +64.9.415.4250

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 30 Jul 1997 16:59:43 +1000
To: David Woolley <david@djwhome.demon.co.uk>
From: Robert Colquhoun <rjc@trump.net.au>
Subject: Re: Hylafax and PPP?
Cc: sar@tng.de, flexfax@celestial.com
Sender: owner-flexfax@celestial.com

At 23:48 29/07/97 +0100, David Woolley wrote:
>> 
>> At 16:28 28/07/97 +0200, Sven Arndt wrote:
>> 
>> >I would like to use a single modem to recieve faxes and to let people
>> >log  in (using PPP).
>> 
>> Hello Sven
>> You need to get a copy of mgetty (from Sunsite or wherever)
>> 
>I think mgetty has to be overkill if he only wants to use PPP in data mode.
>
>Assuming the OS supports #! fully, a fairly simple shell script should be
>able to run up the PPP daemon directly, without going through a secondary
>PPP detect phase.  I suspect it might even be possible to run the PPP
>daemon in place of the getty.
>
Maybe - but you will still need a getty of some sort if you ever want a
conventional data login.  Also it mightn't be such a simple shell script as
a control-c at the right time could give root access to the system.

Robert

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 30 Jul 1997 17:22:13 +0200
From: Guenter Herrmann <guenter.herrmann@vlsi.com>
Organization: VLSI Technology GmbH
To: flexfax@sgi.com
Subject: clientsetup
Sender: owner-flexfax@celestial.com

Hi,

I'm running:
#./faxsetup -client

and this is the result:

Setup program for HylaFAX (tm) v4.0pl1.

Created for sparc-sun-solaris2.5 on Fri Dec  6 09:54:36 EST 1996.

Checking system for proper client configuration.
./faxsetup[1301]: 5: bad file unit number

Could anybody help

Thanks

Guenter

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Leslie Mikesell <les@Mcs.Net>
Subject: Re: Hylafax and PPP?
To: rjc@trump.net.au (Robert Colquhoun)
Date: Wed, 30 Jul 1997 11:12:18 -0500 (CDT)
Cc: david@djwhome.demon.co.uk, sar@tng.de, flexfax@celestial.com
Sender: owner-flexfax@celestial.com

> >> >I would like to use a single modem to recieve faxes and to let people
> >> >log  in (using PPP).

> >Assuming the OS supports #! fully, a fairly simple shell script should be
> >able to run up the PPP daemon directly, without going through a secondary
> >PPP detect phase.  I suspect it might even be possible to run the PPP
> >daemon in place of the getty.
> >
> Maybe - but you will still need a getty of some sort if you ever want a
> conventional data login.  Also it mightn't be such a simple shell script as
> a control-c at the right time could give root access to the system.

It should work fine to run pppd instead of a getty if you don't want
to allow shell logins or uucp.  However if someone wants to do a
serious hack, I think it would be neat to cobble up something that
would provide an option to autodetect ppp frames but instead of
running pppd, do a PAP password exchange to authenticate a shell login
and then start the 'slirp' slip/ppp emulator as that user.  The advantage
of slirp is that it doesn't require another IP address for the remote
endpoint and the reason I'd like to see something start it this way
is that you could then connect from a Win95 (or about any other) dialer
without any scripting.  Most PPP dialers have fill-in-the-form setup
for PAP passwords but there is no standard for setting up ones that
need scripts. 

Les Mikesell
  les@mcs.com

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 30 Jul 1997 20:02:26 -0400
From: "Jonathan I. Kamens" <jik@kamens.brookline.ma.us>
To: flexfax@sgi.com
Subject: Update to: hylafax-4.0pl1: changes to work with SupraExpress 56e
Sender: owner-flexfax@celestial.com

On July 16, I sent you a patch to Class1Recv.c++ which seemed to be
necessary to make HylaFax work with the SupraExpress 56e modem, along
with the modem config file settings which were working for me.  I have
since discovered that some of those settings were incorrect.  Here are
the corrected settings.  After the list of settings, I'll explain what
I've changed and why.  Note that I've only included the settings which
are different from the defaults and are related to the modem (as
opposed to, e.g., my telephone number, which is unrelated to the
modem):

ModemType:		Class1		# use this to supply a hint
ModemRate:		115200		# rate for DCE-DTE communication
ModemFlowControl:	rtscts
ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD follows carrier
ModemDialCmd:		ATDT%s@		# T for tone dialing, @ for silence
ModemAnswerFaxBeginCmd:	<waitfor:OK><19200>AT+FCLASS=1 # switch to 19200 for FAX reception
ModemAnswerDataBeginCmd: "ATO\r<waitfor:CONNECT>" # go on-line
ModemNoFlowCmd:		AT&K		# disable flow control cmd
ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
ModemSoftFlowCmd:	AT&K4		# software flow control cmd
ModemWaitForConnect:	yes
ModemSetupAACmd:	AT+FCLASS=0;+FAE=1 # auto-answer works in class 0
ModemSetVolumeCmd:	"ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
ModemResultCodesCmd:	ATQ0X4W1	# enable result codes
Class1RecvAbortOK:	200		# wait 200ms for abort response
Class1RecvIdentTimer:	40000		# 35+5secs waiting for ident frames

The first setting that I've changed here is ModemAnswerFaxBeginCmd.
The problem with my old setting was that it wasn't waiting for the OK
that the modem was sending after the "FAX" and "CONNECT" lines, so it
was trying to go into Class 1 before the modem was ready for it.

The second one I've changed is ModemAnswerDataBeginCmd -- I've added
the "waitfor" to tell it to wait for the CONNECT message instead of
OK.

With these changed settings and the patch I sent you before, my
SupraExpress 56e answers both data and fax calls quickly and without
any timeouts during answering.

  jik

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 30 Jul 1997 20:02:26 -0400
From: "Jonathan I. Kamens" <jik@kamens.brookline.ma.us>
To: flexfax@sgi.com
Subject: Update to: hylafax-4.0pl1: changes to work with SupraExpress 56e
Sender: owner-flexfax@celestial.com

On July 16, I sent you a patch to Class1Recv.c++ which seemed to be
necessary to make HylaFax work with the SupraExpress 56e modem, along
with the modem config file settings which were working for me.  I have
since discovered that some of those settings were incorrect.  Here are
the corrected settings.  After the list of settings, I'll explain what
I've changed and why.  Note that I've only included the settings which
are different from the defaults and are related to the modem (as
opposed to, e.g., my telephone number, which is unrelated to the
modem):

ModemType:		Class1		# use this to supply a hint
ModemRate:		115200		# rate for DCE-DTE communication
ModemFlowControl:	rtscts
ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
ModemSetupDCDCmd:	AT&C1		# setup so DCD follows carrier
ModemDialCmd:		ATDT%s@		# T for tone dialing, @ for silence
ModemAnswerFaxBeginCmd:	<waitfor:OK><19200>AT+FCLASS=1 # switch to 19200 for FAX reception
ModemAnswerDataBeginCmd: "ATO\r<waitfor:CONNECT>" # go on-line
ModemNoFlowCmd:		AT&K		# disable flow control cmd
ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
ModemSoftFlowCmd:	AT&K4		# software flow control cmd
ModemWaitForConnect:	yes
ModemSetupAACmd:	AT+FCLASS=0;+FAE=1 # auto-answer works in class 0
ModemSetVolumeCmd:	"ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
ModemResultCodesCmd:	ATQ0X4W1	# enable result codes
Class1RecvAbortOK:	200		# wait 200ms for abort response
Class1RecvIdentTimer:	40000		# 35+5secs waiting for ident frames

The first setting that I've changed here is ModemAnswerFaxBeginCmd.
The problem with my old setting was that it wasn't waiting for the OK
that the modem was sending after the "FAX" and "CONNECT" lines, so it
was trying to go into Class 1 before the modem was ready for it.

The second one I've changed is ModemAnswerDataBeginCmd -- I've added
the "waitfor" to tell it to wait for the CONNECT message instead of
OK.

With these changed settings and the patch I sent you before, my
SupraExpress 56e answers both data and fax calls quickly and without
any timeouts during answering.

  jik

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 30 Jul 1997 20:09:25 -0400
From: "Jonathan I. Kamens" <jik@kamens.brookline.ma.us>
To: flexfax@sgi.com
Subject: hylafax-v4.0pl1: deal correctly with "class 1.0" modem; send
   softResetCmd in faxgetty
Sender: owner-flexfax@celestial.com

The patch below fixes two problems:

1) My modem, a SupraExpress 56e, responds "0,1,1.0" to "at+fclass=?".
Unfortunately, hylafax was assuming that the only modem class with a
period in it is 2.0, which means that "1.0" gets incremented by the
parser to "2" and faxgetty thinks my modem supports class 2, which it
doesn't.  I added a SERVICE_CLASS10 constant, and added "Class 1.0" to
the modem class names, and that seemed to solve the problem.

2) The documentation claims that the daemons send the soft reset
command to the modem, but I couldn't find any evidence that they do
so, either by reading and searching source code or by looking in the
server and session traces.  I modified faxd/ClassModem.c++ to send the
soft reset command before the other reset commands.

--- util/class2.h	1997/07/30 16:39:44	1.1
+++ util/class2.h	1997/07/30 16:40:19
@@ -45,8 +45,9 @@
 // service types returned by +fclass=?
 const int SERVICE_DATA	 = BIT(0);	// data service
 const int SERVICE_CLASS1 = BIT(1);	// class 1 interface
-const int SERVICE_CLASS2 = BIT(2);	// class 2 interface
-const int SERVICE_CLASS20 = BIT(3);	// class 2.0 interface
+const int SERVICE_CLASS10 = BIT(2);	// class 1.0 interface
+const int SERVICE_CLASS2 = BIT(3);	// class 2 interface
+const int SERVICE_CLASS20 = BIT(4);	// class 2.0 interface
 const int SERVICE_VOICE	 = BIT(8);	// voice service (ZyXEL extension)
 const int SERVICE_ALL	 = BIT(9)-1;
 
--- faxd/ClassModem.c++	1997/07/16 10:57:20	1.1
+++ faxd/ClassModem.c++	1997/07/30 17:41:10
@@ -52,9 +52,9 @@
 const char* ClassModem::serviceNames[9] = {
     "\"Data\"",			// SERVICE_DATA
     "\"Class 1\"",		// SERVICE_CLASS1
-    "\"Class 2\"",		// SERVICE_CLASS2
-    "\"Class 2.0\"",		// SERVICE_CLASS20 (XXX 3)
-    "",				// 4
+    "\"Class 1.0\"",		// SERVICE_CLASS10 (XXX 2)
+    "\"Class 2\"",		// SERVICE_CLASS2  (XXX 3)
+    "\"Class 2.0\"",		// SERVICE_CLASS20 (XXX 4)
     "",				// 5
     "",				// 6
     "",				// 7
@@ -129,7 +129,8 @@
      */
     // XXX: workaround yet another GCC bug (sigh)
     const fxStr& flow = conf.getFlowCmd(conf.flowControl);
-    resetCmds = "AT"
+    resetCmds = conf.softResetCmd 
+	      | "\nAT"
 	      | stripAT(conf.resetCmds)		// prepend to insure our needs
 	      | stripAT(conf.echoOffCmd)
 	      | stripAT(conf.verboseResultsCmd)

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
To: clarkson@uk.amgen.com (Michael Clarkson)
Cc: flexfax@sgi.com
Subject: Re: PCL to Fax 
Date: Thu, 31 Jul 1997 10:38:57 JST
From: "Andrew S. Howell" <andy@tibco.com>
Sender: owner-flexfax@celestial.com

>>>>> "Michael" == Michael Clarkson <clarkson@uk.amgen.com> writes:


    Michael> Hi, I have an application that produces reports in PCL
    Michael> format, is it = possible to=20 take this PCL output and
    Michael> use HlyaFax to fax this document directly = instead of
    Michael> sending it to a printer and conventionally faxing the
    Michael> paper copy.

I'm not familiar with PCL, put if you can write a rule that detects it
in typerules, ( /usr/local/lib/fax/typerules by default ), and you
have a program that converts from pcl to tiff or postscript, then it
is possible. See the typerules man page for more info.

Andy

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Wed, 30 Jul 1997 20:23:57 -0700 (PDT)
From: Tim Rice <tim@trr.metro.NET>
To: Guenter Herrmann <guenter.herrmann@vlsi.com>
cc: flexfax@sgi.com
Subject: Re: clientsetup
Sender: owner-flexfax@celestial.com


You probably need my client patch.

On Wed, 30 Jul 1997, Guenter Herrmann wrote:

> Hi,
> 
> I'm running:
> #./faxsetup -client
> 
> and this is the result:
> 
> Setup program for HylaFAX (tm) v4.0pl1.
> 
> Created for sparc-sun-solaris2.5 on Fri Dec  6 09:54:36 EST 1996.
> 
> Checking system for proper client configuration.
> ./faxsetup[1301]: 5: bad file unit number
> 
> Could anybody help
> 
> Thanks
> 
> Guenter
> 
> 

--
Tim Rice			Multitalents	(707) 887-1469 (voice)
tim@trr.metro.net
*** Makefile.in.old	Tue Nov 26 15:20:19 1996
--- Makefile.in	Tue Feb 25 10:25:08 1997
***************
*** 241,247 ****
  makeClientDirs::
  	-${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \
  	    -idb hylafax.sw.client -dir \
! 	    ${BIN} ${LIBDATA} ${LIBEXEC}
  makeServerDirs::
  	-${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \
  	    -idb hylafax.sw.server -dir ${SBIN};
--- 241,247 ----
  makeClientDirs::
  	-${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \
  	    -idb hylafax.sw.client -dir \
! 	    ${BIN} ${LIBDATA} ${LIBEXEC} ${SBIN}
  makeServerDirs::
  	-${INSTALL} -u ${SYSUSER} -g ${SYSGROUP} -m ${DIRMODE} \
  	    -idb hylafax.sw.server -dir ${SBIN};
***************
*** 341,347 ****
  	else \
  	    true; \
  	fi
! 	@for i in util man; do \
  	    (${ECHO} "= "$$i; cd $$i; ${MAKE} installClient); \
  	done
  	@if [ "@DSO@" != no ]; then \
--- 341,347 ----
  	else \
  	    true; \
  	fi
! 	@for i in etc util man; do \
  	    (${ECHO} "= "$$i; cd $$i; ${MAKE} installClient); \
  	done
  	@if [ "@DSO@" != no ]; then \
*** etc/Makefile.in.old	Tue Nov 26 15:20:30 1996
--- etc/Makefile.in	Tue Feb 25 10:14:13 1997
***************
*** 99,104 ****
--- 99,111 ----
  	    ${PUTSERVER} -F /etc/config -m 644 -src config.fax -O fax; \
  	fi
  
+ installClient: default
+ 	${PUTSERVER} -F ${SBIN} -m 755 -src faxsetup.sh -O faxsetup
+ 	for i in bsdi irix linux; do \
+ 	    ${PUTSERVER} -F ${SBIN} -m 755 \
+ 		-src ${SRCDIR}/faxsetup.$$i -O faxsetup.$$i; \
+ 	done
+ 
  #
  # These targets are created during the configuration procedure.
  #
*** etc/faxsetup.sh.in.old	Tue Nov 26 15:20:33 1996
--- etc/faxsetup.sh.in	Tue Feb 25 10:53:17 1997
***************
*** 1298,1304 ****
  EOF
      boom
  fi
! dumpPromptFuncs >&5
  
  #
  # Prompt the user for a string that can not be null.
--- 1298,1306 ----
  EOF
      boom
  fi
! if onServer; then
!     dumpPromptFuncs >&5
! fi
  
  #
  # Prompt the user for a string that can not be null.
***************
*** 2242,2245 ****
  Note ""
  Note "Done verifying system setup."
  
! $RM $JUNK; exit 0
--- 2244,2250 ----
  Note ""
  Note "Done verifying system setup."
  
! if onServer; then
!     $RM $JUNK
! fi
! exit 0

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: David Woolley <david@djwhome.demon.co.uk>
Subject: Re: Hylafax and PPP?
To: les@Mcs.Net (Leslie Mikesell)
Date: Thu, 31 Jul 1997 07:57:33 +0100 (BST)
Cc: rjc@trump.net.au, sar@tng.de, flexfax@celestial.com
X-Mailer: ELM [version 2.4 PL25]
Sender: owner-flexfax@celestial.com

> > Maybe - but you will still need a getty of some sort if you ever want a
> > conventional data login.  Also it mightn't be such a simple shell script as
> > a control-c at the right time could give root access to the system.

The shell script would not have the serial line as its source of commands, so
it would close safely on an interrupt.

> 
> would provide an option to autodetect ppp frames but instead of
> running pppd, do a PAP password exchange to authenticate a shell login
> and then start the 'slirp' slip/ppp emulator as that user.  The advantage

You can't do PAP until you've completed the LCP negotiation.
I think a better approach would be to add PAP (or better CHAP) to slirp,
assuming that it doesn't do it already.

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 31 Jul 1997 20:32:37 +1000
To: David Woolley <david@djwhome.demon.co.uk>
From: Robert Colquhoun <rjc@trump.net.au>
Subject: Re: Hylafax and PPP?
Cc: flexfax@celestial.com
Sender: owner-flexfax@celestial.com

At 07:57 31/07/97 +0100, David Woolley wrote:
>> > Maybe - but you will still need a getty of some sort if you ever want a
>> > conventional data login.  Also it mightn't be such a simple shell
script as
>> > a control-c at the right time could give root access to the system.
>
>The shell script would not have the serial line as its source of commands, so
>it would close safely on an interrupt.

Hello David
I've been checking the hylafax source code particularly Getty.c++
It appears the functions that exec the getty first redirect stdin,stdout to
the tty line before exec'ing the getty program - or shell script in this case.
(Check fn's Getty::run and Getty::setupSession)

This comes from running a HP-UX sytem where they explicitly say _never_ put
a shell script as a login shell into /etc/passwd or /etc/shells.

If i've interpreted this incorrectly please say

Thanks Robert

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
From: Leslie Mikesell <les@Mcs.Net>
Subject: Re: Hylafax and PPP?
To: david@djwhome.demon.co.uk (David Woolley)
Date: Thu, 31 Jul 1997 10:11:43 -0500 (CDT)
Cc: les@Mcs.Net, rjc@trump.net.au, sar@tng.de, flexfax@celestial.com
Sender: owner-flexfax@celestial.com

> > would provide an option to autodetect ppp frames but instead of
> > running pppd, do a PAP password exchange to authenticate a shell login
> > and then start the 'slirp' slip/ppp emulator as that user.  The advantage
> 
> You can't do PAP until you've completed the LCP negotiation.
> I think a better approach would be to add PAP (or better CHAP) to slirp,
> assuming that it doesn't do it already.

Hmmm, slirp started with basically the whole pppd program moved to user
space so perhaps it is already there or could be put back easily. Normally
you only run it after logging in so it probably doesn't have any
concept of setting your user id though.  Can't LCP be re-negotiated
so the initial exchange could run as far as the password check, switch
to the right uid, then force a renegotiation as it execs slirp?
Also, doesn't CHAP require keeping a clear-text copy of the password
in a file somewhere?  I'm not at all convinced that is a good idea.

Les Mikesell
  les@mcs.com  

From owner-flexfax@celestial.com  Wed Feb 17 13:55:25 1999
Date: Thu, 31 Jul 1997 12:04:56 -0400
From: "Jonathan I. Kamens" <jik@kamens.brookline.ma.us>
To: jik@kamens.brookline.ma.us
CC: flexfax@sgi.com
Subject: Re: hylafax-v4.0pl1: deal correctly with "class 1.0" modem; send
   softResetCmd in faxgetty
Sender: owner-flexfax@celestial.com

Yesterday, I wrote:

>  Date: Wed, 30 Jul 1997 20:09:25 -0400
>  From: "Jonathan I. Kamens" <jik@kamens.brookline.ma.us>
>  
>  The patch below fixes two problems:
>  
>  1) My modem, a SupraExpress 56e, responds "0,1,1.0" to "at+fclass=?".
>  Unfortunately, hylafax was assuming that the only modem class with a
>  period in it is 2.0, which means that "1.0" gets incremented by the
>  parser to "2" and faxgetty thinks my modem supports class 2, which it
>  doesn't.  I added a SERVICE_CLASS10 constant, and added "Class 1.0" to
>  the modem class names, and that seemed to solve the problem.
>  
>  2) The documentation claims that the daemons send the soft reset
>  command to the modem, but I couldn't find any evidence that they do
>  so, either by reading and searching source code or by looking in the
>  server and session traces.  I modified faxd/ClassModem.c++ to send the
>  soft reset command before the other reset commands.

My patch was incorrect; it was treating "2.0" in the response to
"at+fclass=?" as SERVICE_CLASS10, which is clearly wrong.

Here's a new, somewhat more complex patch to replace the one I sent
yesterday.  It adds new functionality to the ClassModem::vparseRange
function to allow a two-dimensional "mapping array" to be specified;
I've explained the new functionality in a comment above vparseRange in
the diff.

--- util/class2.h	1997/07/30 16:39:44	1.1
+++ util/class2.h	1997/07/31 00:10:07
@@ -45,8 +45,9 @@
 // service types returned by +fclass=?
 const int SERVICE_DATA	 = BIT(0);	// data service
 const int SERVICE_CLASS1 = BIT(1);	// class 1 interface
-const int SERVICE_CLASS2 = BIT(2);	// class 2 interface
-const int SERVICE_CLASS20 = BIT(3);	// class 2.0 interface
+const int SERVICE_CLASS10 = BIT(2);	// class 1.0 interface
+const int SERVICE_CLASS2 = BIT(3);	// class 2 interface
+const int SERVICE_CLASS20 = BIT(4);	// class 2.0 interface
 const int SERVICE_VOICE	 = BIT(8);	// voice service (ZyXEL extension)
 const int SERVICE_ALL	 = BIT(9)-1;
 
--- faxd/Class2.c++	1997/07/31 14:56:25	1.1
+++ faxd/Class2.c++	1997/07/31 15:32:29
@@ -134,7 +134,7 @@
     int sep = 0;
     int pwd = 0;
     if (doQuery(conf.class2APQueryCmd, s))
-	(void) vparseRange(s, 3, &sub, &sep, &pwd);
+	(void) vparseRange(s, 0, 0, 3, &sub, &sep, &pwd);
     if (sub & BIT(1)) {
 	saCmd = conf.class2SACmd;
 	modemSupports("subaddressing");
@@ -501,7 +501,7 @@
 fxBool
 Class2Modem::parseRange(const char* cp, Class2Params& p)
 {
-    if (!vparseRange(cp, 8, &p.vr,&p.br,&p.wd,&p.ln,&p.df,&p.ec,&p.bf,&p.st))
+    if (!vparseRange(cp, 0, 0, 8, &p.vr,&p.br,&p.wd,&p.ln,&p.df,&p.ec,&p.bf,&p.st))
 	return (FALSE);
     p.vr &= VR_ALL;
     p.br &= BR_ALL;
--- faxd/ClassModem.c++	1997/07/16 10:57:20	1.1
+++ faxd/ClassModem.c++	1997/07/31 16:03:40
@@ -52,14 +52,27 @@
 const char* ClassModem::serviceNames[9] = {
     "\"Data\"",			// SERVICE_DATA
     "\"Class 1\"",		// SERVICE_CLASS1
+    "\"Class 1.0\"",		// SERVICE_CLASS10
     "\"Class 2\"",		// SERVICE_CLASS2
-    "\"Class 2.0\"",		// SERVICE_CLASS20 (XXX 3)
-    "",				// 4
+    "\"Class 2.0\"",		// SERVICE_CLASS20
     "",				// 5
     "",				// 6
     "",				// 7
     "\"Voice\"",		// SERVICE_VOICE
 };
+/*
+  Bits corresponding to various service classes.  The first column is
+  for when there is no ".0", the second colum for when there is.
+
+  If there end up being ".1", ".2", etc. classes later, this can be
+  extended by changing the number of columns in the array.
+*/
+#define MAX_SERVICE_CLASS 2
+static const int serviceBits[3][MAX_VPARSE_POINT+2] = {
+  {SERVICE_DATA, SERVICE_DATA},
+  {SERVICE_CLASS1, SERVICE_CLASS10},
+  {SERVICE_CLASS2, SERVICE_CLASS20},
+};
 const char* ClassModem::ATresponses[13] = {
     "Nothing",			// AT_NOTHING
     "OK",			// AT_OK
@@ -129,7 +142,8 @@
      */
     // XXX: workaround yet another GCC bug (sigh)
     const fxStr& flow = conf.getFlowCmd(conf.flowControl);
-    resetCmds = "AT"
+    resetCmds = conf.softResetCmd 
+	      | "\nAT"
 	      | stripAT(conf.resetCmds)		// prepend to insure our needs
 	      | stripAT(conf.echoOffCmd)
 	      | stripAT(conf.verboseResultsCmd)
@@ -981,19 +995,68 @@
 const char COMMA = ',';
 const char SPACE = ' ';
 
+static int
+parseInt(const char **in_ptr)
+{
+  const char *ptr = *in_ptr;
+  int val = 0;
+  
+  if (! isdigit(*ptr))
+    return -1;
+  
+  do {
+    val = 10*val+(*ptr - '0');
+  } while (isdigit(*++ptr));
+
+  *in_ptr = ptr;
+  return val;
+}
+
+static void
+addBit(const int major, const int point, const int max,
+       const int map_array[0][MAX_VPARSE_POINT+2], int * const mask)
+{
+  if (! max) {
+    if (major <= 31)
+      *mask |= 1<<major;
+  }
+  else if (major <= max && point <= MAX_VPARSE_POINT)
+    *mask |= map_array[major][point+1];
+}
+
 /*
- * Parse a Class 2 parameter range string.  This is very
- * forgiving because modem vendors do not exactly follow
- * the syntax specified in the "standard".  Try looking
- * at some of the responses given by rev ~4.04 of the
- * ZyXEL firmware (for example)!
+ * Parse a Class 2 parameter range string, possibly remapping bits
+ * with decimal numbers in them.  This is very forgiving because modem
+ * vendors do not exactly follow the syntax specified in the
+ * "standard".  Try looking at some of the responses given by rev
+ * ~4.04 of the ZyXEL firmware (for example)!
  *
  * NB: We accept alphanumeric items but don't return them
  *     in the parsed range so that modems like the ZyXEL 2864
  *     that indicate they support ``Class Z'' are handled.
+ * 
+ * When "max" is non-zero, then it should specify the height of the
+ * "map_array" array, which should contain in its slots the bits to
+ * set for each "a.b" pair.  Column 0 in the array represents what bit
+ * to assign when there is no decimal part of a number; column 1
+ * represents what bit to assign when the number of the decimal is
+ * "1", etc.  For example, this array:
+ * 
+ * { { BIT(0), BIT(1) },
+ *   { BIT(2), BIT(2) },
+ *   { BIT(3), BIT(4) } };
+ * 
+ * Will assign BIT(0) for the parameter "0", BIT(1) for "0.0", BIT(2)
+ * for either "1" or "1.0", BIT(3) for "2", and BIT(4) for "2.0".
+ * Bits whose decimal parts are larger than MAX_VPARSE_POINT or whose
+ * whole parts are larger than "max" are ignored.  When no "max" and
+ * "map_array" are specified, the decimal parts of parameters are
+ * ignored.
  */
 fxBool
-ClassModem::vparseRange(const char* cp, int nargs ... )
+ClassModem::vparseRange(const char* cp, const int max, 
+			const int map_array[][MAX_VPARSE_POINT+2], 
+			int nargs ... )
 {
     fxBool b = TRUE;
     va_list ap;
@@ -1024,38 +1087,56 @@
 		b = FALSE;
 		goto done;
 	    }
-	    int v;
+	    int v, vpoint;
 	    if (isdigit(cp[0])) {
-		v = 0;
-		do {
-		    v = v*10 + (cp[0] - '0');
-		} while (isdigit((++cp)[0]));
+		vpoint = -1;
+		if ((v = parseInt(&cp)) < 0) {
+		  b = FALSE;
+		  goto done;
+		}
 	    } else {
 		v = -1;					// XXX skip item below
 		while (isalnum((++cp)[0]))
 		    ;
 	    }
-	    int r = v;
+	    int r = -1, rpoint = -1;
+	    if (cp[0] == '.') {				// <d.b>
+		cp++;
+		if ((vpoint = parseInt(&cp)) < 0) {
+		  b = FALSE;
+		  goto done;
+		}
+	    }
 	    if (cp[0] == '-') {				// <low>-<high>
 		cp++;
 		if (!isdigit(cp[0])) {
 		    b = FALSE;
 		    goto done;
 		}
-		r = 0;
-		do {
-		    r = r*10 + (cp[0] - '0');
-		} while (isdigit((++cp)[0]));
-	    } else if (cp[0] == '.') {			// <d.b>
-		cp++;
-		while (isdigit(cp[0]))			// XXX
-		    cp++;
-		v++, r++;				// XXX 2.0 -> 3
+		if ((r = parseInt(&cp)) < 0) {
+		  b = FALSE;
+		  goto done;
+		}
+		rpoint = -1;
+		if (cp[0] == '.') {
+		  cp++;
+		  if ((rpoint = parseInt(&cp)) < 0) {
+		    b = FALSE;
+		    goto done;
+		  }
+		}
 	    }
 	    if (v != -1) {				// expand range or list
-		r = fxmin(r, 31);			// clamp to valid range
-		for (; v <= r; v++)
-		    mask |= 1<<v;
+	      if (r == -1) {
+		r = v;
+		rpoint = vpoint;
+	      }
+	      for (; v <= r; v++) {
+		int max_point = (v == r) ? rpoint : MAX_VPARSE_POINT;
+		for (; vpoint <= max_point; vpoint++)
+		  addBit(v, vpoint, max, map_array, &mask);
+		vpoint = -1;
+	      }
 	    }
 	    if (acceptList && cp[0] == COMMA)		// (<item>,<item>...)
 		cp++;
@@ -1078,7 +1159,7 @@
 fxBool
 ClassModem::parseRange(const char* cp, u_int& a0)
 {
-    return vparseRange(cp, 1, &a0);
+    return vparseRange(cp, MAX_SERVICE_CLASS, serviceBits, 1, &a0);
 }
 
 void

