From owner-freebsd-questions Sun Feb 16 4:44:44 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69EE637B401 for ; Sun, 16 Feb 2003 04:44:42 -0800 (PST) Received: from as9-2-1.bi.s.bonet.se (as9-2-1.bi.s.bonet.se [217.215.7.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 265F943F93 for ; Sun, 16 Feb 2003 04:44:41 -0800 (PST) (envelope-from peo@intersonic.se) Received: by as9-2-1.bi.s.bonet.se (Postfix, from userid 1003) id 6F72F49697A; Sun, 16 Feb 2003 13:44:38 +0100 (CET) Message-ID: <3E4F87AF.4030801@intersonic.se> Date: Sun, 16 Feb 2003 13:44:31 +0100 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030126 X-Accept-Language: en-us, en, sv MIME-Version: 1.0 To: hylafax-users@hylafax.org Cc: freebsd-questions@freebsd.org Subject: hylafax / faxrcvd script / freebsd Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-100.7 required=5.7 tests=NOSPAM_INC,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MOZILLA_UA,USER_IN_WHITELIST,X_ACCEPT_LANG version=2.44 X-Spam-Level: X-Sanitizer: Advosys mail filter Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry for the crosspost but I believe this is partly a FreeBSD issue since it seems to work for Linux users. After a little digging I have found the place where the bin/faxrcvd script fails. The bin/faxrcvd works completely well from the command line, only fails when called from the hylafax server (excerpt from log below): RECV FAX: bin/faxrcvd "recvq/fax00035.tif" "cuaa1" "00000067" "" "" "" here the script fails at line 202: $PS2PDF -g$GW\x$GL -r$RW\x$RL $FILE.ps $FILE.pdf 2>/dev/null The "$FILE.ps" is created but not converted to "$FILE.pdf". This works from the command line issued as: %ps2pdf -g -r recvq/fax00035.tif.ps recvq/fax00035.tif.pdf Everything in spool area is owned by uucp/dialer hfaxd, faxgetty and faxq are running as uucp A "etc/FaxDispatch" file exists with the content: FILETYPE=pdf; SENDTO=FaxMaster; Why is the ps2pdf part not working when bin/faxrcvd is issued from the hylafax server? Is there a way I could catch the output sent to bin/faxrcvd? Why does this work for most Linux users but not FreeBSD 4.7? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message