polling faxes with sendfax...
Gert Doering (gert@greenie.muc.de)
Sat, 16 Jan 1999 12:29:33 +0100
Hi,
On Fri, Jan 15, 1999 at 04:26:22PM +0000, Detlev Jaeger wrote:
> After polling faxes using 'sendfax -p <nnnn>' I would like to forward
> the received pages via email. But I can't find any function like
> mgetty's new_fax script. Also the received pages appear in the
> directory where the sourcecode is and not in the var/spool/fax/
> /incoming...
The received pages appear in the *current* directory, or in the directory
specified with "sendfax -d /some/dir/some/where -p ...".
There is no new_fax here, but that's not really necessary - after all, you
*know* when sendfax is running, there are no "external" events here.
Just run sendfax from a script, that will immediately afterwards collect
all fn*/ff* files and mail them away.
> I cannot find any information in the docs. Could someone please give
> me a hint how to fix these two problems ?
"man sendfax" lists:
-d <directory>
Specify the directory where polled fax files should
go to. Defaults to "." for the current directory.
Unused if not polling a fax.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de