Section 3 : Running a Server

Q350: Howto distinguish which files have been received on which devices


? Got something to say about this answer? Hit the question mark to invoke the mailer and send your comments to the HylaFAQ maintainers.

Q.
Howto distinguish which files have been received on which devices

A.
Date: Tue, 28 May 1996 08:09:21 -0700
From: Sam Leffler <sam@hyla.chez.sgi.com>
Subject: Re: recvd subdirectory

    To:  flexfax@sgi.engr.sgi.com
    Subject:  recvd subdirectory
    Date: Mon, 27 May 1996 19:06:41 CDT
    From:  "Zhang Geng" 

    
    Hi, 
    
    I have 2 modems that litsens to 2 phone lines.  I would like them to store 
the received faxes in separate directories.
    
    I noticed that all the faxes by both modems are stored in the 
"${SPOOL}/recvq".  Is there any way to change this directory (e.g. specify a 
parameter in the configuration file or specify a switch in a command) other 
than modifying the source code?  
    
You don't indicate why you want two separate directories.  If you want to
distinguish which files have been received on which devices then that's
easy; the info is in the file and/or in the xferlog file.  If you want to
control access then you can use the RecvFileMode parameter to control that
based on device.  Otherwise you can modify/replace the faxrcvd script to
move the files to some other place that you prefer and/or change permissions
and/or ownerships.

        Sam


 Back to FAQ Index FAQ Index  Next question in List Q351: UUCP locking in Solaris x86?
faq@hylafax.org. Last updated $Date: 2000/01/10 00:56:31 $.