From owner-freebsd-questions@FreeBSD.ORG Tue Jan 27 08:32:28 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48E5F32B for ; Tue, 27 Jan 2015 08:32:28 +0000 (UTC) Received: from oslo.ath.cx (oslo.ath.cx [IPv6:2a01:4f8:200:42e4::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oslo.ath.cx", Issuer "oslo.ath.cx" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id ADFC7327 for ; Tue, 27 Jan 2015 08:32:27 +0000 (UTC) Received: by oslo.ath.cx (OpenSMTPD) with ESMTP id c3556ec9; Tue, 27 Jan 2015 09:32:23 +0100 (CET) Date: Tue, 27 Jan 2015 09:32:23 +0100 From: "Herbert J. Skuhra" To: opendaddy@hushmail.com Subject: Re: opensmtpd: procmail: not found Message-ID: <20150127083223.GA46908@oslo.ath.cx> References: <20150126132300.70653C039D@smtp.hushmail.com> <20150126141428.GA43445@holstein.holy.cow> <20150126145659.29F78C039D@smtp.hushmail.com> <20150126202502.GA40007@oslo.ath.cx> <20150126235409.BD7B7C039E@smtp.hushmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150126235409.BD7B7C039E@smtp.hushmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org, misc@opensmtpd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2015 08:32:28 -0000 On Mon, Jan 26, 2015 at 11:54:09PM +0000, opendaddy@hushmail.com wrote: > Hello, > > On 26. januar 2015 at 8:18 PM, "Herbert J. Skuhra" wrote: > > > >To understand why you get this error run: > > > >% whereis procmail | xargs -t ls -l > > Indeed, similar to the command parv gave me earlier: > > # whereis procmail | xargs -t -n1 ls -l > ls -l procmail: > ls: procmail:: No such file or directory Got it? > ls -l /usr/local/bin/procmail > -rwsr-sr-x 1 root mail 98224 Oct 3 04:19 /usr/local/bin/procmail > ls -l /usr/local/man/man1/procmail.1.gz > -rw-r--r-- 1 root wheel 10793 Oct 3 04:19 /usr/local/man/man1/procmail.1 .gz > > >Do you have a .forward file in $HOME with the content "|procmail"? > > No, I do not. I just copied my smtpd.conf from OpenBSD where it was all working fine. > > I have no idea what's going on here. Why is procmail acting up? > > Thanks. I guess the error does not come from your smtpd.conf, otherwise the log would show: Jan 26 14:05:20 mybox smtpd[23304]: delivery: TempFail for cf077883a36bcae2: from=, to=, user=od, method=mda, delay=1h5m20s, stat=Error ("/usr/local/bin/procmail: not found") and not: Jan 26 14:05:20 mybox smtpd[23304]: delivery: TempFail for cf077883a36bcae2: from=, to=, user=od, method=mda, delay=1h5m20s, stat=Error ("procmail: not found") At least that's what's happening on my system (FreeBSD 10.1-STABLE). So obviously something else is calling 'procmail' and /usr/local/bin missing in $PATH! Maybe 'smtpd -dv' shows more information? -- Herbert