From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 20 12:58:35 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA60837B405 for ; Fri, 20 Jun 2003 12:58:35 -0700 (PDT) Received: from beck.quonix.net (beck.quonix.net [64.239.136.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD4443F93 for ; Fri, 20 Jun 2003 12:58:35 -0700 (PDT) (envelope-from essenz@essenz.com) Received: from beck.quonix.net (localhost.quonix.net [127.0.0.1]) by beck.quonix.net (8.12.9/8.12.9) with ESMTP id h5KJwTE7048188 for ; Fri, 20 Jun 2003 12:58:29 -0700 (PDT) (envelope-from essenz@essenz.com) Received: from localhost (essenz@localhost) by beck.quonix.net (8.12.9/8.12.8/Submit) with ESMTP id h5KJwTLd048185 for ; Fri, 20 Jun 2003 12:58:29 -0700 (PDT) (envelope-from essenz@essenz.com) X-Authentication-Warning: beck.quonix.net: essenz owned process doing -bs Date: Fri, 20 Jun 2003 12:58:29 -0700 (PDT) From: John Von Essen X-X-Sender: To: Message-ID: <20030620123418.L47984-100000@beck.quonix.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: question about rc.sendmail implementation... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 19:58:36 -0000 I am unclear why rc.sendmail works the way it works. For instance, in my rc.conf I have the following: sendmail_enable="YES" sendmail_flags="-L sm-mta -bd -q30m" sendmail_outbound_enable="YES" sendmail_outbound_flags="-L sm-queue -q30m" Note: I am not running the localhost submission agent and its related clientmqueue cleaner. (Dont ask... I have my reasons for not running msp) Now, if I do NOT use "/etc/mail/Makefile" to start the above config and instead just ran the above commands and flags manually, I would have the following two processes running on my system: root 41975 ... 0:00.01 sendmail: accepting connections (sendmail) root 41978 ... 0:00.01 sendmail: Queue runner@00:30:00 for /var/spool/mqueue Now, if use mail/Makefile with "make start" and I have the above config in rc.conf then I only see one process running: root 41975 ... 0:00.01 sendmail: accepting connections (sendmail) It is pretty obvious why this occurs, rc.sendmail has no routine for handling the sendmail_outbound_enable="YES" entry from rc.conf. What I dont understand is, why is this so? Why would it exist in rc.conf if nothing in rc.sendmail handles it? In my case, I simply modified mail/Makefile and rc.sendmail and added a start-mqueue/start_mqueue (and a stop-mqueue/stop_mqueue) routine that would parse the outbound entry from rc.conf. Just curious as to why this is not the default? -John