From owner-freebsd-current Sat Mar 30 11:46:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id 9F0A637B41B; Sat, 30 Mar 2002 11:46:37 -0800 (PST) Received: from horsey.gshapiro.net (gshapiro@localhost [127.0.0.1]) by horsey.gshapiro.net (8.12.3.Gamma0/8.12.3.Gamma0) with ESMTP id g2UJkbRn070066 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 30 Mar 2002 11:46:37 -0800 (PST) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.3.Gamma0/8.12.3.Gamma0/Submit) id g2UJkb5j070063; Sat, 30 Mar 2002 11:46:37 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15526.5660.883425.137921@horsey.gshapiro.net> Date: Sat, 30 Mar 2002 11:46:36 -0800 From: Gregory Neil Shapiro To: freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Another possible solution for non-sendmail users In-Reply-To: <15523.14636.146301.834847@horsey.gshapiro.net> References: <15523.14636.146301.834847@horsey.gshapiro.net> X-Mailer: VM 7.00 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks to some reviewers, a couple of problems with my last patch have been fixed. This time, I've actually tried the combinations involved to make sure it works. The changes from the last patch are only to /etc/mail/Makefile and /etc/rc.sendmail. rc.sendmail changes: - Use proper shell variable substitution - Make it more like rc.d scripts: - start, stop, and restart now affect all daemons, not just the MTA. - New targets: start-mta, stop-mta, restart-mta - Optimize by using functions instead of making the script re-execute itself. Makefile changes: - Fix syntax error - Check for pidfile before trying to use it with kill (warn if not present) - Minor cosmetic changes The updated patch is available in the same location: http://people.freebsd.org/~gshapiro/mta-start I've also pulled out the two changed files for those who have already patched: http://people.freebsd.org/~gshapiro/Makefile http://people.freebsd.org/~gshapiro/rc.sendmail I'll give this new patch a couple of days review time before committing it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message