From nobody Tue Apr 16 18:30:04 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 4VJszH5g4pz5HKTh for ; Tue, 16 Apr 2024 18:30:19 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (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 "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJszH06Whz4kQw for ; Tue, 16 Apr 2024 18:30:18 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Authentication-Results: mx1.freebsd.org; none Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 43GIU5Zh010019; Tue, 16 Apr 2024 11:30:11 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ultimatedns.net; s=mx99; t=1713292211; x=1713292811; r=y; bh=GJIduE0ggedirRyCWw/qydKrE9curaobBckR2Ils8lo=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=qKOE4OWRRnsBmYrtFpsA2o7BDW24Mkw5jh0vngGkoyHmQ/nkA9hPg7KvwCBjXbCw4 9dsQnRZLtT/Afi3eH+wE5kab1Nydud9JtSrk+j2JPj8Z9p4TE+HSuF52EojMdWhGsu SrCLyUHveMEMFI6cAD1yX9UjRYOY7IkaREiJkbRfHnKdZRcwG4sScUw4NCWhrq0GCK jdGCMB5EaMXW45r/jwWhIoutETUTB9+XGT1K2iMxi2E5FXrdjIYeFd3/SCDlpLoChT kTQl2lYWVsAwf12gB45WGYsvUMME7uz08DaLEasy5Z1j/I/KP6PfRKpU7DooF3faRN UKCkhFcPJCaRw== 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 Date: Tue, 16 Apr 2024 11:30:04 -0700 From: Chris To: Lexi Winter Cc: pkgbase@freebsd.org Subject: Re: mailwrapper * In-Reply-To: References: <333569ac5ddd2549c026c97dfcc376a8@bsdforge.com> User-Agent: UDNSMS/17.0 Message-ID: <16e34a36133c4ac35a9860489c21f025@bsdforge.com> X-Sender: bsd-lists@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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:11404, ipnet:24.113.0.0/16, country:US] X-Rspamd-Queue-Id: 4VJszH06Whz4kQw On 2024-04-16 05:01, Lexi Winter wrote: > 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. I generally pick and setup my MTA up front. So mailwrappper(8) doesn't really play a part. But I can't see where your proposed changes could have anything but a positive affect. Thanks for the clarification, and thanks for your efforts on this. > > [0] > https://cgit.freebsd.org/src/commit/?id=3467e28f3d114f35bdfa87d6afd373f9d291dfb3 > [1] > https://cgit.freebsd.org/src/commit/?id=2632dac82984593a7be37bafc570a93f82270249 ---Chris