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] faxrcvd : moving received fax to different dir
Hey,
i would say it's a permission problem with the shared
directory.
remember that the faxdaemon should have the permission the
write to this directory.
Greetings Torsten
Tehn Yit Chin schrieb:
>
> I want to modify faxrcvd so that upon the reception of a fax, it will copy
> the fax to another directory that is shared.
>
> The small addition that I made towards the start of faxrcvd is
>
> ....
> ....
> ....
> NEW_DIR="/home/e-smith/files/ibays/faxq/files"
>
> /bin/cp $FILE $NEW_DIR/$FILE
> /bin/chmod 0644 $NEW_DIR/$FILE
> FILE="$NEW_DIR/$FILE"
>
> if [ -f $FILE ]; then
> #
> # Check the sender's TSI and setup to dispatch
> # facsimile received from well-known senders.
> #
> ....
> ....
> ....
>
> When I execute bin/faxrcvd at the command prompt as root or uucp, it works.
> It sends out the correct email notification and the fax ends up in the
> correct directory with the correct permissions.
>
> When it is executed by hylafax, I get an email indicating that facsimile
> was not received. Below is a typical email and it does not indicate what
> the problem.
>
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null