HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Issues with FAXDISPATCH



Hi All,
Im using Solaris 10 with Hylafax and having few issues with faxdispatch, it is setup correctly and works fine from terminal by running following;

$ bin/faxrcvd "recvq/fax000000029.tif" "dgrasa01m" "000000057" "" "" ""      (i run this command by logging in as root or Hylafax user)

in the log file i can see that hylafax is running this command after receiving fax but file doesnt gets copied or moved.

but when i run this command as login UUCP, it fails.
I have tried following;


bash-3.00# su - uucp
$ pwd
/usr/lib/uucp
$ cd /opt/csw/var/spool/hylafax
$ bin/faxrcvd "recvq/fax000000029.tif" "dgrasa01m" "000000057" "" "" ""
bin/faxrcvd: /dev/pts/6: cannot create
bin/faxrcvd: /dev/pts/6: cannot create
bin/faxrcvd: etc/FaxDispatch: not found

$ pwd
/opt/csw/var/spool/hylafax
$ bin/faxrcvd "recvq/fax000000030.tif" "dgrasa02m" "000000058" "" "" ""
bin/faxrcvd: /dev/pts/6: cannot create
bin/faxrcvd: /dev/pts/6: cannot create
bin/faxrcvd: etc/FaxDispatch: not found

my faxdispatch is as follow;

NOTIFY_FAXMASTER=errors

## and/or by device
FOLDER="/opt/csw/var/spool/hylafax/recvq/"
FULLPATH="${FOLDER}${FILENAME}.tif"
case "$DEVICE" in
dgrasa01m)   cp $FULLPATH /opt/csw/var/spool/hylafax/recvq/test/;;
dgrasa02m) cp $FULLPATH /opt/csw/var/spool/hylafax/recvq/test1/;;
esac

I know there is no issue with fax dispatch as it works from terminal. Folder test and test1 have 777 permissions, also i cahnged the owner to UUCP but issue is still there.

any help will be greately appreciated.

regards,
Kaleem



Project hosted by iFAX Solutions