HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] How can I copy the .tif image file of the fax to a local directory?



In FaxDispatch, I was able to use mv instead of cp.  CP always bonked for me.  And I had to chmod the $FILENAME prior to attempting the move.  After the initial move, I was able to cp the file within FaxDispatch without a problem.  Not extremely efficient but functional.

On Thu, Aug 26, 2010 at 8:25 AM, Chris Weiss <cweiss@xxxxxxxxx> wrote:
On Thu, Aug 26, 2010 at 7:21 AM, A J Stiles
<hylafax_resp@xxxxxxxxxxxxxxx> wrote:
> On Thursday 26 Aug 2010, PhyloGenesis wrote:
>> I want to automatically make a copy of an image fax file on my local system
>> whenever I receive a fax.  I've been trying to edit faxrcvd to do it but it
>> doesn't seem to even execute my commands.  I tried commands like cp $1
>> /home/phylogenesis/ to make a copy of the file but after receiving a fax
>> (and running faxstat indicates that I have mail), I don't see any new file
>> in /home/phylogenesis.  I've read that you can edit faxrcvd to move it to
>> your local system but I can't find any examples or explanations on how.
>
> If you are running Hylafax in a chroot environment, then it will only ever be
> able to save files within the chroot.
>
> There might be a way out of this using hard links, which transcend chroots
> (but do not transcend filesystems).  (Symbolic links transcend filesystems
> but not chroots.)
>

you could also make the symlink from your home dir to the hylafax dir
and skip the copy process


____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*





Project hosted by iFAX Solutions