From owner-freebsd-questions@freebsd.org Mon Sep 21 11:05:09 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31D91A063D8 for ; Mon, 21 Sep 2015 11:05:09 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D11511980 for ; Mon, 21 Sep 2015 11:05:08 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wicfx3 with SMTP id fx3so140092419wic.1 for ; Mon, 21 Sep 2015 04:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=ZfPa4icGx3mvAdv+W3LhYO7naDbj68cT2UrI4dJz4pE=; b=sJwifnCgfrzZXk0BKrM9cTHYooUizCjgzwImjrWcPSm/THoHcCEq0cUqEiFbQ4TLNB Es63QSTZeVQgoehayN8xRou3ug32l8+wAldJeMWOb9vl79KyfYvhA8C9jLiOYQx2oLXP RP+3rrYILQc0B82myOaHJnKP7pTrjMTr8UjVwspkfrKdN6SWfyeKPNjGo/vXslUXKqQm 1XdWFkLoyK3pIdf6v4fCzYhhNcHcF8Ldqc+e8ZommDkvU+aswblAUV4ae01aa72oYTLd Z/k9ngLegRIAodeT8jHSVMVDBw5u+Wu+P7t6BHaP7sGIFg5TqWXRCd/hXjVXB2X9jLgj C/4g== X-Received: by 10.180.105.135 with SMTP id gm7mr12088308wib.18.1442833507383; Mon, 21 Sep 2015 04:05:07 -0700 (PDT) Received: from gumby.homeunix.com ([90.195.198.255]) by smtp.gmail.com with ESMTPSA id uc12sm12890106wib.13.2015.09.21.04.05.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 04:05:06 -0700 (PDT) Date: Mon, 21 Sep 2015 12:05:02 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: spamd: could not create IO::Socket::IP socket on [::1]:783: Permission denied Message-ID: <20150921120502.529bd60e@gumby.homeunix.com> In-Reply-To: <201509210621.t8L6LmQM013949@deneb.dwf.com> References: <201509210621.t8L6LmQM013949@deneb.dwf.com> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2015 11:05:09 -0000 On Mon, 21 Sep 2015 00:21:48 -0600 reg@dwf.com wrote: > > It appears that I have some configuration left to do > > > spamd: could not create IO::Socket::IP socket on [::1]:783: > Permission denied server socket setup failed, retry 1: spamd: could > not create IO::Socket::IP socket on [127.0.0.1]:783 > : Permission denied > > What do I need to do to get spamd to run? It depends what you are trying to do Most likely you are trying to start spamd as an unprivileged user rather than starting it as root and letting it drop to the user specified by the -u argument. It has to start as root to use a low port. If you want it to work with user data in home directories it needs to start as root and run without -u.