new_fax: notify problems

Mate Wierdl (mw@wierdlmpc.msci.memphis.edu)
Sun, 11 May 1997 12:21:22 -0500


I have mgetty 1.0.0. I am trying to set up new_fax so that my
incoming faxes are automatically printed and I am notified about their
arrival.
I have
	id
	notify mw@matyi.msci.memphis.edu
	print

in my faxlist (do not be confused, `matyi' is my home box's name where
I try to implement all this). The printing is done very well, but no
notification is done (I thought I should get a notification by mail).
When I do `cat notify.module' I get

# MODULE notify
# A function to notify a user of a fax receipton
#
# Written 1996 by Darko Krizic
#
notify()
{
  log "notify $data"
}

This function certainly not going to send me anything in the mail. I
tried to figure out if maybe the new_fax script will do something
about this, but I could not find anything. Did I misunderstand the
README for new_fax? It says

	If I want send a notification mail
	to myself I use the keyword "notify":

		notify dekay@ipf.de

I also would like to point out an inaccuracy in this README file. The
README says

	In order to make a notification on the user's tty if he is online, use
	the keyword "write":

		write dekay root

On the other hand, in Example 1, I see

	This is an example for a standard default section, where the fax will
	be mailed to the user dekay and a notification will be written
	to the tty if I am online. After that the fax will be deleted. Two of
	the faxes are named:

		id 12345
		name Douglas Adams
		id 4563234
		name Desaster Area
		id
		mail dekay@ipf.de
		notify dekay root
		delete

I think in the above `notify' has to be replaced by `write'.

Thanks, and best,

Mate

Mate Wierdl 
mw@moni.msci.memphis.edu 
University of Memphis
.