HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Notify with fax attached



> Or is it a so simple question that nobody answers ... :-)

I think this is the case.  Hylafax was written for a tradditional
Unix system manager, who could write small shell scripts like this in 
their sleep.  Unfortunately, it is now being used by the plug and play
crowd who want canned solutions.

Furthermore, there are very few people on the list actually interested
in coding++.

The file that you have to modify is notify.awk.  Note that, in general,
the names of the document files it accesses are not those of TIFF-F
files created on the fly, but the Postscript, PCL, TIFF, etc. files that
were submitted using the client server protocol, after any conversion by
the client.

You'd basically have to invoke the return to sender processing in 
non-error cases and construct email attachments rather than just
listing the names of the files.  Worked examples of attachments have
been given recently for received faxes.

The name of the fax image file is also available, but is not extracted
by the awk script (it is the fax parameter).  I don't know if it still
exists when the notify script is called, but if it is, it should be
easy to generalise the code (but beware, there can be a restart page
number appended to the name; also it might not exist if there was
a conversion failure).

The last three paragraphs are based on looking at the man pages and code
for about 30 minutes; there may be hidden catches.

++ There are few enough who even reply.




Project hosted by iFAX Solutions