From nobody Tue Dec 12 09:37:42 2023 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 4SqD735xHJz53j96 for ; Tue, 12 Dec 2023 09:37:51 +0000 (UTC) (envelope-from C.Brinkhaus@t-online.de) Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) (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 (4096 bits) client-digest SHA256) (Client CN "mailout00.t-online.de", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SqD722ylNz3Fn8 for ; Tue, 12 Dec 2023 09:37:50 +0000 (UTC) (envelope-from C.Brinkhaus@t-online.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of C.Brinkhaus@t-online.de designates 194.25.134.85 as permitted sender) smtp.mailfrom=C.Brinkhaus@t-online.de; dmarc=none Received: from fwd71.aul.t-online.de (fwd71.aul.t-online.de [10.223.144.97]) by mailout11.t-online.de (Postfix) with SMTP id 193E116F2D for ; Tue, 12 Dec 2023 10:37:47 +0100 (CET) Received: from localhost ([217.226.189.5]) by fwd71.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1rCzCz-0NV89w0; Tue, 12 Dec 2023 10:37:46 +0100 Received: from thinkpad.local (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0a4235c0 for ; Tue, 12 Dec 2023 10:37:42 +0100 (CET) Received: (from chris@localhost) by thinkpad.local (8.17.1/8.17.1/Submit) id 3BC9bgsd018054 for questions@freebsd.org; Tue, 12 Dec 2023 10:37:42 +0100 (CET) (envelope-from chris) Date: Tue, 12 Dec 2023 10:37:42 +0100 From: Christoph Brinkhaus To: questions@freebsd.org Subject: Re: Sendmail on 14-RELEASE Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kyO+4zGAdUNdUCJC" Content-Disposition: inline In-Reply-To: X-TOI-EXPURGATEID: 150726::1702373866-E5A18957-29F01143/0/0 CLEAN NORMAL X-TOI-MSGID: 87ff2ba3-c3d7-4a4b-9e99-e1d9b8605a7d X-Spamd-Result: default: False [0.93 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_SPAM_MEDIUM(0.98)[0.980]; NEURAL_SPAM_SHORT(0.85)[0.848]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:194.25.134.80/28]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:3320, ipnet:194.25.0.0/16, country:DE]; RCVD_IN_DNSWL_NONE(0.00)[194.25.134.85:from]; FREEMAIL_ENVFROM(0.00)[t-online.de]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[t-online.de]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; FREEMAIL_FROM(0.00)[t-online.de]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[194.25.134.85:from] X-Rspamd-Queue-Id: 4SqD722ylNz3Fn8 X-Spamd-Bar: / --kyO+4zGAdUNdUCJC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am Tue, Dec 12, 2023 at 01:03:44AM -0500 schrieb Aryeh Friedman: > I have installed 14.0-RELEASE and for the life of me (even following > the hand book and examples from several 13.X machines around here) can > not get the following issues resolved: >=20 > 1. Sendmail does not start when enabled (it dies instantly) > 2. When running in interactive mode the following alias is not found > despite the path existing with mailnull/mail ownership and newaliases > being run >=20 > root@sarek2048:/etc/mail # grep a: /etc/aliases > a: /var/mail/test/a > root@sarek2048:/etc/mail # newaliases > root@sarek2048:/etc/mail # !sen > -su: !sen: not found > root@sarek2048:/etc/mail # sendmail -bi a > sendmail: invalid recipient `a' >=20 > On 13 I have no issue with the above: >=20 > root@sarek1024:/etc/mail # grep 'a:' aliases > a: /var/mail/test/a > root@sarek1024:/etc/mail # newaliases > /etc/mail/aliases: 55 aliases, longest 16 bytes, 739 bytes total >=20 > Note I copied the aliases from 13 to 14 with scp Hello Aryeh, /etc/mail/mailer.conf has been tuned to be used with dma instead of sendmail. I do not use sendmail but opensmtpd. With the updated mailer.conf I have had issues, too. Then I restored the content to a previous version. ~> cat /etc/mail/mailer.conf # # Execute the "real" sendmail program, named # /usr/libexec/sendmail/sendmail # # If dma(8) is installed, an example mailer.conf that uses dma(8) # instead can # can be found in /usr/share/examples/dma. # sendmail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail hoststat /usr/libexec/sendmail/sendmail purgestat /usr/libexec/sendmail/sendmail Everything is back to normal. Since I do not use sendmail I am not sure if this helps in your setup, but it might be worth to try. Kind regards, Christoph --=20 Ist die Katze gesund schmeckt sie dem Hund. --kyO+4zGAdUNdUCJC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEj7zWuLpAjGEt2B3aIXCAe2OOngIFAmV4KeEACgkQIXCAe2OO ngIm7wv/Zn5ZikAR+PPA48SkNaho3WJoqgscJrNuOWhLzY4JY/MAeBzl8K7A6NfG 96ysPnyEE8tnufmelulUg7+SzumaIjXtNfPKQRKkB6gkjhJksXszs5EdlH4P5mkd T3NlcYUXRfNLu7OIAc+nsJWhZSO8pIA2GGc/fGB8/YosWmuAos4xFlre5baO4shq QScNtWRkxWZR1A63pOWbP0GP0pI+fq5Wu6jjuRzRltFBSpCIPCEzr6w+x7isKHKl LL/pDgzyZ0fb3WQ5tCCMY3fUpUFEeqIe44OvGH9x+5aXDOcUz0gze3rShM+93yzl GapbaqeptN/NUaT7+iFpVV82+lP3Xo79rC9JDBhcSL86HnB902nf89WlJcnm6itq MTDk6D0FzIOCrzz8y2B1bwqiE67/bkl9LYaKyy550AUytvdH6c0W3DTtbqrC+Z+0 R6xnfhOt/Uor6o6dBx8joruQY26+31EKGGWn6wQiuPtKWVkvbKROvqKGRhr6TRO7 vJwdNo96 =jopE -----END PGP SIGNATURE----- --kyO+4zGAdUNdUCJC--