From owner-freebsd-questions@FreeBSD.ORG Sun Dec 18 23:17:49 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9327616A41F for ; Sun, 18 Dec 2005 23:17:49 +0000 (GMT) (envelope-from sveinhal@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF4F043D69 for ; Sun, 18 Dec 2005 23:17:48 +0000 (GMT) (envelope-from sveinhal@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so788221wxc for ; Sun, 18 Dec 2005 15:17:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=e/QJltRvc37ncCRiftQTdcRCeEAEOjxSqQXJCvsRdYq3A1AR0n7HDI1k+JKD7ivdECBMwCy+To94+/Jc3Ma910OHMfByqc11rxLoU63UT+51VMoVVS2vEiVQUdKNRnDTHuUZ06JGJsBZJjzbt4Josm0EL729HVcUTIOWMF4bH0w= Received: by 10.70.89.3 with SMTP id m3mr3759453wxb; Sun, 18 Dec 2005 15:17:48 -0800 (PST) Received: by 10.70.105.11 with HTTP; Sun, 18 Dec 2005 15:17:48 -0800 (PST) Message-ID: Date: Mon, 19 Dec 2005 00:17:48 +0100 From: Svein Halvor Halvorsen Sender: sveinhal@gmail.com To: Gojyo In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: Running qmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2005 23:17:49 -0000 On 12/18/05, Gojyo wrote: > I've some problem making qmail work. > I've installed qmail (with smtp auth support), ucspi-tcp and daemontools > from the ports tree (I'm using Freebsd 6.0). > > I've disabled sendmail running the enable-qmail script after qmail > installation (and I can see it's not running), I've copied the "maildir" > start script from /var/qmail/boot to /var/qmail/rc and added > qmail_enable=3D"YES" to /etc/rc.conf. > Now I can't exactly understand what I have to do: I think I have to run > qmail from the svscan service, but I really cannot figure out how to do i= t. > I need some help.... You shouldn't need daemontools and the svscan utility (though it is useful for a number of reasons). The qmail port should have installed a symlink in /usr/local/etc/rc.d/qmail.sh pointing to /var/qmail/rc. This link is broken by default, but by moving or copying a file from the /var/qmail/boot directory to this location, the link should resolve and the script executed at startup. The scripts are non-rcng so you shouldn't need anything in /etc/rc.conf to make things work. You may need to edit the startup script /var/qmail/rc though. I would, however, recomend that you install daemontools also. This would require a little more initial work on your part, but is far easier to maintain, and makes sure that qmail keep running. Svein Halvor