From owner-freebsd-current@FreeBSD.ORG Wed Feb 26 07:35:29 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F1C6939A; Wed, 26 Feb 2014 07:35:28 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AF7501666; Wed, 26 Feb 2014 07:35:28 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s1Q7ZRSO030434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Feb 2014 23:35:27 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s1Q7ZQIj030433; Tue, 25 Feb 2014 23:35:26 -0800 (PST) (envelope-from jmg) Date: Tue, 25 Feb 2014 23:35:26 -0800 From: John-Mark Gurney To: Bryan Drewery Subject: Re: Import of DragonFly Mail Agent Message-ID: <20140226073526.GT92037@funkthat.com> Mail-Followup-To: Bryan Drewery , Baptiste Daroussin , current@freebsd.org References: <20140223211155.GS1699@ithaqua.etoilebsd.net> <530B67EA.1090102@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <530B67EA.1090102@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Tue, 25 Feb 2014 23:35:27 -0800 (PST) Cc: Baptiste Daroussin , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Feb 2014 07:35:29 -0000 Bryan Drewery wrote this message on Mon, Feb 24, 2014 at 09:40 -0600: > The RC script also leads to much confusion in this configuration: > > > # service sendmail stop > > Stopping sendmail. > > Waiting for PIDS: 80956. > > sendmail_submit not running? (check /var/run/sendmail.pid). > > Stopping sendmail_clientmqueue. > > Waiting for PIDS: 81322. > > It wasn't running? Was it broken? Is that why I couldn't send mail? > > > # service sendmail start > > Cannot 'start' sendmail. Set sendmail_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'. > > Oh, it didn't start? > > > # ps uaxw|grep sendmail > > root 64518 0.0 0.1 6020 2980 ?? Ss 10:19AM 0:00.00 sendmail: accepting connections (sendmail) > > smmsp 64726 0.0 0.1 6020 2924 ?? Ss 10:19AM 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) > > Oh. > > Can I restart? > > > # service sendmail restart > > Cannot 'restart' sendmail. Set sendmail_enable to YES in /etc/rc.conf or use 'onerestart' instead of 'restart'. > > Stopping sendmail_submit. > > Oh it looks dead again. > > > # ps uaxw|grep sendmail > > smmsp 64726 0.0 0.0 6020 0 ?? IWs - 0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) > > root 88210 0.0 0.1 6020 3008 ?? Ss 10:20AM 0:00.00 sendmail: accepting connections (sendmail) > > root 93369 0.0 0.1 3464 1296 18 S+ 10:20AM 0:00.00 grep sendmail > > Nope. > > RC script bugs aside, how about modifying the actual configuration? The problem with the above is that the people who did the work did enough for it to work in their configuration and dropped it in.. Having recently fixed some of this, it's clear that they didn't bother to test starting/stopping parts of sendmail and more complicated configurations... This is standard stuff that needs to be maintained... and I don't belive dma will magicly fix stuff like the above... It just means someone will rewrite it with a new set of bugs... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."