From nobody Wed Aug 7 16:52:45 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WfGSj2DrKz5SllS for ; Wed, 07 Aug 2024 16:52:53 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [147.160.157.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "A1-48603", Issuer "A1-48603" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WfGSj0Wckz45kQ for ; Wed, 7 Aug 2024 16:52:53 +0000 (UTC) (envelope-from doug@safeport.com) Authentication-Results: mx1.freebsd.org; none Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.17.1/8.17.1) with ESMTPS id 477GqkJs058651 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 7 Aug 2024 16:52:46 GMT (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.17.1/8.17.1/Submit) with ESMTP id 477GqjkW058645; Wed, 7 Aug 2024 16:52:46 GMT (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Wed, 7 Aug 2024 16:52:45 +0000 (UTC) From: doug Reply-To: doug@safeport.com To: Sysadmin Lists cc: Questions Subject: Re: rc.conf defaults and sendmail - dma In-Reply-To: <1536403762.116315.1722970322630@fidget.co-bxl> Message-ID: <8d3d26a8-6fd-e077-e2c-24dbb2b71452@safeport.com> References: <1536403762.116315.1722970322630@fidget.co-bxl> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US] X-Rspamd-Queue-Id: 4WfGSj0Wckz45kQ On Tue, 6 Aug 2024, Sysadmin Lists wrote: > One of my servers stopped receiving mail from systems on the local network, and > while troubleshooting I found a variable inside /etc/defaults/rc.conf had > changed in 14.0-RELEASE: > > < # Settings for /etc/rc.d/sendmail: > < sendmail_enable="NONE" # Run the sendmail inbound daemon (YES/NO/NONE). > < # If NONE, don't start any sendmail processes. > --- >> mta_start_script="/etc/rc.sendmail" >> # Script to start your chosen MTA, called by /etc/rc. >> # Settings for /etc/rc.sendmail and /etc/rc.d/sendmail: >> sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO). > > The change from "NO" to "NONE" caused the system to not start sendmail as a > localhost-only MTA. The release notes document a transition from sendmail to > dma, but don't say anything about disabling the previously default settings. > Where are those changes documented? I looked for /etc/defaults/rc.conf in the > src git repo, but was surprised not to find it. Is that file generated during > system installation, or where is it located in the tree? > > The /etc/rc.sendmail script has also been nuked, so how is sendmail started for > localhost-only mail service? `service sendmail start' fails to start any > services, even with sendmail="YES" in rc.conf. > > $ service sendmail rcvar > # sendmail : Electronic mail transport agent > # > sendmail_enable="YES" > # (default: "") > > # sendmail_msp_queue : Electronic mail transport agent > # > sendmail_enable="YES" > # (default: "") > sendmail_msp_queue_enable="YES" > # (default: "") > in rc.conf: sendmail_enable="YES"