From owner-freebsd-questions@FreeBSD.ORG Thu Oct 7 09:40:25 2010 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56B49106564A for <freebsd-questions@freebsd.org>; Thu, 7 Oct 2010 09:40:25 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id E11D48FC16 for <freebsd-questions@freebsd.org>; Thu, 7 Oct 2010 09:40:24 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 09593E6032 for <freebsd-questions@freebsd.org>; Thu, 7 Oct 2010 10:40:24 +0100 (BST) Received: from core.nessbank (client-82-31-12-174.midd.adsl.virginmedia.com [82.31.12.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA for <freebsd-questions@freebsd.org>; Thu, 7 Oct 2010 10:40:23 +0100 (BST) From: Bruce Cran <bruce@cran.org.uk> To: freebsd-questions@freebsd.org Date: Thu, 7 Oct 2010 10:40:22 +0100 User-Agent: KMail/1.13.5 (FreeBSD/9.0-CURRENT; KDE/4.5.1; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201010071040.22559.bruce@cran.org.uk> Subject: postfix installed in base, mailwrapper spins using 100% CPU X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 07 Oct 2010 09:40:25 -0000 Hi, I installed a new server recently with postfix. I first rebuilt world using WITH_SENDMAIL=no and removed the sendmail files using 'make delete-old'. I installed postfix in /usr but now mailwrapper doesn't work - it runs using 100% CPU and never quits. I suspect it might be stuck in a loop trying to run the sendmail binary and being redirected back to itself. So /etc/mail/mailer.conf contains: sendmail /usr/sbin/sendmail send-mail /usr/sbin/sendmail mailq /usr/sbin/sendmail newaliases /usr/sbin/sendmail and /usr/sbin/sendmail is: lrwxr-xr-x 1 root wheel 21 Oct 2 09:50 /usr/sbin/sendmail -> /usr/sbin/mailwrapper Should it actually be the sendmail binary that postfix installs, and if so I'm wondering how it could have ended up being a symlink? -- Bruce Cran