From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 22:51:20 2003 Return-Path: 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 7796B37B401 for ; Mon, 7 Apr 2003 22:51:20 -0700 (PDT) Received: from ns1.pilikia.net (ns1.pilikia.net [66.180.134.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53D2843FAF for ; Mon, 7 Apr 2003 22:51:19 -0700 (PDT) (envelope-from art@pilikia.net) Received: from localhost (localhost.pilikia.net [127.0.0.1]) by ns1.pilikia.net (Postfix) with ESMTP id A34D822E14; Mon, 7 Apr 2003 19:51:18 -1000 (HST) Received: from ns1.pilikia.net ([127.0.0.1]) by localhost (ns1.pilikia.net [127.0.0.1:10024]) (amavisd-new) with LMTP id 06248-04; Mon, 7 Apr 2003 19:51:07 -1000 (HST) Received: from uluru (uluru.local.net [10.25.0.4]) by ns1.pilikia.net (Postfix) with ESMTP id A0F9022E07; Mon, 7 Apr 2003 19:51:03 -1000 (HST) Received: from gecko (gecko.local.net [10.25.0.9]) by uluru (Postfix) with ESMTP id 64C3F22E52; Mon, 7 Apr 2003 19:51:03 -1000 (HST) Date: Mon, 07 Apr 2003 19:51:02 -1000 From: "Arthur W. Neilson III" To: "H.Wade Minter" , freebsd-questions@freebsd.org Message-ID: <300691351.1049745062@[10.25.0.9]> In-Reply-To: References: X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by AMaViSd-NeW/NAI-uvscan-4.14 Subject: Re: Upgraded amavisd, mail failing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Arthur W. Neilson III" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 05:51:20 -0000 I had the same problem, brought up amavisd-new/postfix/spamassassin on a new system today w/freshly cvsupped ports tree and have the taint check problem you are describing. I posted a query about this to the amavis-user list, if you hear of a fix *please* let me know I am running with -T taint checking disabled fer now. --On Monday, April 07, 2003 10:43 PM -0400 H.Wade Minter said: | I ran a portupgrade on my postfix-based mail system tonight, and it | upgraded p5-Mail-SpamAssassin and amavisd-new. So far so good. I | restarted the daemons, restarted the queue, and all of the incoming mail | started getting held with the following error: | | Apr 7 22:37:12 mail postfix/lmtp[62440]: D8C44280: | to=, relay=127.0.0.1[127.0.0.1], delay=1566, | status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in | processing, id=62383-01-3, decoding FAILED: Insecure $ENV{PATH} while | running with -T switch at /usr/local/sbin/amavisd line 3082. (in reply to | end of DATA command)) | | | Line 3082 from amavisd is: | |# call 'file' utility for each part, |# and associate (save) full and short types with each part |# | sub determine_file_types($$$) { | my($partslist,$tempdir,$file_generator_object) = @_; | | for my $part (@$partslist) { | my($filename) = "$tempdir/parts/$part"; | ==> my($filetype) = qx($file -b $filename 2>/dev/null); | my($ret) = retcode($?); | $ret==0 or die "'file' utility ($file) failed, status=$ret"; | chomp($filetype); | section_time('get-file-type'); | | local($_) = $filetype; my($ty); | | # try to classify some common types and give them short type name | | | Line 5140 in amavisd has: | |# Set path, home and term explictly. Don't trust environment | ==> $ENV{PATH} = $path if $path ne ''; | $ENV{HOME} = $helpers_home if $helpers_home ne ''; | $ENV{TERM} = 'dumb'; | | And amavisd.conf has: | | $path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin'; | | | This is a stock install from ports, nothing funny going on. Does anyone | have any ideas on what might be broken? | | --Wade | | _______________________________________________ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to | "freebsd-questions-unsubscribe@freebsd.org" | -- __ / ) _/_ It is a capital mistake to theorise before one has data. /--/ __ / Insensibly one begins to twist facts to suit theories, / (_/ (_<__ Instead of theories to suit facts. -- Sherlock Holmes, "A Scandal in Bohemia" Arthur W. Neilson III, WH7N - FISTS #7448 Bank of Hawaii Network Services http://www.pilikia.net art@pilikia.net, aneilson@boh.com, wh7n@arrl.net