Hylafax Mailing List Archives

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

Re: [hylafax-users] faxrcvd : moving received fax to different dir



Is faxdaemon and uucp the same user?

I have added uucp to the group that have permission to write to the shared 
directory. I verified this by running faxrcvd as uucp on the command prompt 
and that works ok.

thanks,
--------------------------------------------------------------------------
Tehn Yit Chin
Chief Engineer - Millison Technology Pty.Ltd.
ph: +61 3 9798 7333
mailto:tehn.yit.chin@millison.com.au
--------------------------------------------------------------------------

-----Original Message-----
From:	Torsten Mueller [SMTP:torsten@archesoft.de]
Sent:	Tuesday, 8 January 2002 6:47 PM
To:	tehn.yit.chin@millison.com.au
Cc:	hylafax-users@hylafax.org
Subject:	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



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