Hylafax Mailing List Archives

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

Re: infos about sent faxes?



frank@gondor.nikoma.de wrote:
    
    Hi there!
    
    I'm writing a client program that needs to request
    status information (like send status, server dial string and
    such) from a Hylafax server to see if a fax has been
    successfully sent, even if the fax was submitted three weeks 
    ago. This information is saved in the 'doneq' directory, but 
    its contents get deleted periodically, together with the according
    postscript or tiff files.
    The problem is that I only need the status information, but
    not the faxes themselves because their total size could in-
    crease to gigs of unused data if they aren't deleted. The status 
    information I need is saved in etc/xferlog, which cannot be
    accessed from a client program.
    
    So here is my question:
    Is it possible to keep the status information on the server
    accessible to all (which is not a security problem because
    you can see status infos about others' faxes when they were
    just sent), but to delete the faxes themselves automatically?
    (maybe this requires a change in faxcron?)

The complete information about a finished job is as long accessible
through the existing client/server protocol as the q#### file
is in the spool/doneq. There is also already a hook (see -a
option) in faxqclean(1M) and in the job file (see "doneop" in
sendq(4F)) to control what should be done with the job by
faxqclean(1M). One solution that comes into my mind is expanding
faxqclean(1M) to let the q#### files in the doneq but remove
the assosiated documents by using the "archive" value of
"doneop" and a new flag in faxqclean(1M). BTW: faxcron(1M) has
nothing to do with the job files or documents.
    
    A better solution would be a mechanism to find out if a fax
    was successfully sent without changing the server's configuration
    - probably someone knows a way to do this??
    
    thanks in advance,

If your client just wants to know if the job was successful or
not there is a notify flag for it (-D of sendfax(1)).

	matthias



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services