From nobody Tue Aug 6 18:52:02 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 4Wdj8n3kQ4z5SSHD for ; Tue, 06 Aug 2024 18:52:09 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Received: from wilbur.contactoffice.com (wilbur.contactoffice.com [212.3.242.68]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wdj8l5kpgz4GwD for ; Tue, 6 Aug 2024 18:52:07 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mailfence.com header.s=20240605-akrp header.b="Z/Sq5srH"; dmarc=pass (policy=reject) header.from=mailfence.com; spf=pass (mx1.freebsd.org: domain of sysadmin.lists@mailfence.com designates 212.3.242.68 as permitted sender) smtp.mailfrom=sysadmin.lists@mailfence.com Received: from fidget.co-bxl (fidget.co-bxl [10.2.0.33]) by wilbur.contactoffice.com (Postfix) with ESMTP id B2077140B for ; Tue, 6 Aug 2024 20:52:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1722970324; s=20240605-akrp; d=mailfence.com; i=sysadmin.lists@mailfence.com; h=Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:To:Subject:From; bh=pJDBbXwV9mH0OSINEuS0QLBx2CRQ3NJEIAJIf+fzuZs=; b=Z/Sq5srHYojuazVbM0oPGpx8yAVL0UGXMC5OQjrbyQWz9tdOEFoXMU9lKbo4SfGm 2uydFjjxL76Jq5B3wl/8N1SshcFvsHPLi3tshSbgrcs6BKMfthwbCVoEZd7gLA+Yhd5 b0TWIEuAPqZORhuwYZil9VHb5kn5tnrY/rnlirOFc1s3YOgO1/IL8DmCJrAlZdDyJqb 1BggXqplKI9rLNpR3IRvhvZZUk4wqZ8pFgyLFuU6azEYMih0jGhxFN2NAtaTiNhju5i KhpZoJg3VLkeFGgqe4o958Prc427z42iyZX9pdA9ob4FtQ02LUUzAHv5UGsNpgreH0m z4Zcsr0QFg== Date: Tue, 6 Aug 2024 20:52:02 +0200 (CEST) Message-ID: <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=UTF-8 Content-Transfer-Encoding: 7bit To: Questions Subject: rc.conf defaults and sendmail - dma From: Sysadmin Lists X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:312482426 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.86 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.974]; DMARC_POLICY_ALLOW(-0.50)[mailfence.com,reject]; R_SPF_ALLOW(-0.20)[+ip4:212.3.242.64/26]; R_DKIM_ALLOW(-0.20)[mailfence.com:s=20240605-akrp]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:203, ipnet:212.3.242.64/26, country:US]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[212.3.242.68:from]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[mailfence.com:+] X-Rspamd-Queue-Id: 4Wdj8l5kpgz4GwD 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: "") -- Sent with https://mailfence.com Secure and private email