*BSD News Article 78479


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!kithrup.com!news.Stanford.EDU!bloom-beacon.mit.edu!news.mathworks.com!usenet.eel.ufl.edu!news.ultranet.com!zombie.ncsc.mil!linden.fortnet.org!coopnews.coop.net!hops.entertain.com!usenet
From: dwatson@xpert.net (Darryl Watson)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: flexfax foiled by sendmail
Date: 17 Sep 1996 15:26:43 GMT
Organization: Expert Internet Service
Lines: 26
Message-ID: <51mfvj$fel@hops.entertain.com>
NNTP-Posting-Host: homefolk.entertain.com
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.8 (beta 2)

Hi!

I have BSDI 2.0 with patches, and I am trying to run a 'sendfax' command
via sendmail.  I have data which I want to fax from my flexfax server, 
which is conveniently transmitted by emailing that data to the server.

A Perl script is invoked by putting an entry in the /etc/aliases file thus:

	fax_server:	"|/usr/local/scripts/fax_server"

so that when I send mail to the fax_server username, the script is invoked
and parses STDIN, stripping mail headers and sending the remaining data to
a sendfax command.

The problem is that when I run the sendfax command from sendmail, it
crashes with the following error:

	sendfax: Could not figure out who you are

I have read the man pages for sendfax, and tried to use various combinations
of the -f argument to satisfy sendfax, but with no luck.

Can anyone make suggestions as to how I can get around this problem?

Please email dwatson@entertain.com.  Thanks!