From nobody Tue Apr 16 12:01:59 2024 X-Original-To: pkgbase@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 4VJjMP14nWz5GkWL for ; Tue, 16 Apr 2024 12:02:09 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from fuchsia.eden.le-Fay.ORG (fuchsia.eden.le-fay.org [IPv6:2001:8b0:aab5:107::11]) by mx1.freebsd.org (Postfix) with ESMTP id 4VJjMN6FdMz3wvD for ; Tue, 16 Apr 2024 12:02:08 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; none Received: from iris.eden.le-Fay.ORG (iris.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::6]) by fuchsia.eden.le-Fay.ORG (Postfix) with ESMTP id D5A2E8E8C; Tue, 16 Apr 2024 12:01:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=fuchsia; t=1713268919; bh=9JoSOPykfEE2c1aeaVXzsBqK6kE9vvGxEwN5oV5KZ+8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=YdwqpuTuR23HpANA91SmMdjLJoItYd0KGAPu2QnZYfzrfbAoOhkt7dur+etD8uT4p bxzMtfvhqy62wKAfl7wPuhG4TJMvnApKrKqJTpGZFRE1qTUJQirlOxWDOlJAUppfyN HDcmrjp1a8f6hoiJNaRbBFuX6DzqJC802XjWF1J8= Received: from ilythia.eden.le-fay.org (ilythia.eden.le-fay.org [IPv6:2001:8b0:aab5:106:3::10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 534682C0421; Tue, 16 Apr 2024 13:01:59 +0100 (BST) Date: Tue, 16 Apr 2024 13:01:59 +0100 From: Lexi Winter To: Chris Cc: pkgbase@freebsd.org Subject: Re: mailwrapper * Message-ID: References: <333569ac5ddd2549c026c97dfcc376a8@bsdforge.com> List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zLhoZO+gMTN4GWIf" Content-Disposition: inline In-Reply-To: <333569ac5ddd2549c026c97dfcc376a8@bsdforge.com> 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:20712, ipnet:2001:8b0::/32, country:GB] X-Rspamd-Queue-Id: 4VJjMN6FdMz3wvD --zLhoZO+gMTN4GWIf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Chris: > As I read it, and use it; mailwrapper(8) simply *assumes* that there > is *some* default (based on available options) MTA already installed, > and points to it as needed. The sendmail/dma stuff is there as a > system isn't really complete if one can't send mail. How had you > intended to improve the process? right: if you have mailwrapper, you also need an MTA. but the situation here is if you have an MTA and *don't* have mailwrapper, i.e. you build src WITHOUT_MAILWRAPPER. in that case -- if i'm reading the Makefile correctly -- the build process will create a symlink from 'mailwrapper' to either dma or sendmail binary, so it appears to consumers that mailwrapper is installed even though it's not; trying to use it simply calls the MTA directly. my proposal is to remove this functionality, i.e. the special handling of the WITHOUT_MAILWRAPPER case, to simplify the Makefile and make it less confusing to pkgbase-ify mailwrapper into its own package. this functionality was modified for DMA in 3467e28f [0] in 2022, but was originally added for sendmail in 2632dac8 [1], way back in 2002. i assume the use-case was people who wanted to use sendmail but didn't want to install mailwrapper for some reason, but nowadays, i would be surprised if anyone is still doing this. [0] https://cgit.freebsd.org/src/commit/?id=3467e28f3d114f35bdfa87d6afd373f9d291dfb3 [1] https://cgit.freebsd.org/src/commit/?id=2632dac82984593a7be37bafc570a93f82270249 --zLhoZO+gMTN4GWIf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmYeaLQACgkQDHqbqZ41 x5kUywwAijcHmqknC6p6BZztjfzM3A2JmArWldNoa7R5Z7Wj4TTNGWxAJt5IaQkX RKjiyWw52CeKjh6ddng24efz/Mb1lZccL5d9A/uMWXhxFCdagEPvvMYJ2ZzMot+B 75TFg2zCUOiOQUpTDBxxGR3Vct8Ekk4+jlrbL2Zu/aGKFBl9K7HY7xD8sj5zzuNM 2ghfJnRph2GTXkJlZ70sWV6dkrlsTvtBlwjigygr2ybqUDPtZM+v7vigiPF1hJLT Y4YNjh1GOL1J97yQ2XntjWvE0SgSudEa3DdXwDDBBqZn2Xoc06xtpsVw3t69/RfH WdPHo6Id/xcuoq9hBxYx7oZLuRLCILervz5CWhNzVITJE67IFkuPNS38PcVgOf1d +ybM3Yo2zhegWb0zVIMEQkB+RpievTEaOF+8Kz7cJJZCuYyXxJdTDtI8MpNwQjYw rXcEx8/LOhaL01NQqpkj9CYPv1CBx6mSQSpAHLZgH76EvxK5JlAQo9Z0hyw/8OSi PvbuMyzd =fjeC -----END PGP SIGNATURE----- --zLhoZO+gMTN4GWIf--