Date: Fri, 16 May 2008 14:08:20 +0900 (JST) From: mitsuru@riken.jp To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/123724: mail/qmhandle qmHandle -a does not work Message-ID: <200805160508.m4G58Kok011956@zebu.yokohama.riken.jp> Resent-Message-ID: <200805160550.m4G5o1k7064827@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 123724 >Category: ports >Synopsis: mail/qmhandle qmHandle -a does not work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 16 05:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 7.0-RELEASE >Organization: RIKEN >Environment: System: FreeBSD 7.0-RELEASE >Description: qmHandle -a does not work when PID of qmail-send is small. 'ps -U qmails | grep qmail-send | cut -s -d " " -f 1' does not work correctly when PID is less than 5 digit number, and it fails to find PID of qmail-send. You should use 'pgrep qmail-send' instead. >How-To-Repeat: qmHandle -a does not work. >Fix: --- patch-qmHandle.old 2008-05-16 13:56:28.000000000 +0900 +++ patch-qmHandle 2008-05-16 13:56:52.000000000 +0900 @@ -27,7 +27,7 @@ -my ($pidcmd) = 'pidof qmail-send'; +#my ($pidcmd) = 'pidof qmail-send'; +# This is for FreeBSD with a standard qmail installation: -+my ($pidcmd) = 'ps -U qmails | grep qmail-send | cut -s -d " " -f 1'; ++my ($pidcmd) = 'pgrep qmail-send'; + #################### USER CONFIGURATION END #################### >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805160508.m4G58Kok011956>