From nobody Thu Jan 27 22:50:50 2022 X-Original-To: freebsd-current@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 B0F5F1995CF4; Thu, 27 Jan 2022 22:50:51 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JlG5l4MB9z3qpq; Thu, 27 Jan 2022 22:50:51 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643323851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lfmBjeN6PV3N95QxdSk6caN+J9VTUoKkd8zURRcxcOY=; b=ufcrqGEZoVVhDcj+4zkK5D3qToK2KUWzIzog6zGNu34AoQ6CSh0yFXot5U25RGtAYILxwV GdjsNDERNxcscWbElwoyDLLafGHLG/fL31y52bp4n9XQfHlhy23J1AGMOFKm92SubngDzP wAm3EciEy50fLcTgRXCTT7G+z3Muwys3Tuv1/djfFDwzeDwhgd33UZnGHl3kQdkHUAnIzp GFJtDrPCdQvg2tCMo4Oe4M7HsedalLcFiL/gFcfBKMwhW2zsp25Pg/f96jCDR4J6xa+tQr yvqELkD98MOC1OaO0x7Ihgb2L+BkVstzmosyAV8N2E4qVAokXU7gVvYec8WXxA== Received: from [10.0.1.4] (ralph.baldwin.cx [66.234.199.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 047F46EAD; Thu, 27 Jan 2022 22:50:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: <642d2921-1011-12fe-69b2-b394282341ae@FreeBSD.org> Date: Thu, 27 Jan 2022 14:50:50 -0800 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Dragonfly Mail Agent (dma) in the base system Content-Language: en-US To: Ed Maste , FreeBSD Hackers Cc: FreeBSD Current References: From: John Baldwin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643323851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lfmBjeN6PV3N95QxdSk6caN+J9VTUoKkd8zURRcxcOY=; b=Zz74tbe8nFHENLDn+vcKx5NMoF7F77WcWM46yuGttBwKf4twF0t/l0x8ZWbZoRSuiM8qn5 CdkYVcbZ3WQFBYhPxyNyDQ/epL5oJbNLbxr903sDnwXvisac+KzEirl1WUMIao5Z2qkzq9 yJchmaII+iO8YIZco8aWx1XdAe0W2QE+/FmDRqlQ3StkD5gf/3n9aGQunyQ+LfzSCWnHV7 mNWifCKb2ht/KUJiVmqok6ccsQJznuwglPMrDlog3jecnLb891x3fyUEydfz0opfIKsDHB O+KccAfj6qJwV6hF0jIaOaZu7vn6bOjSnIMbjMtOIx55/5W/q0Wc8mfFrPgy8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643323851; a=rsa-sha256; cv=none; b=BCyqC3CSlWmBXQz+KqH/ZEdlfw2tNKBFAV+HW8NIvV5sWz3l67zQN7aZevLYMFW1ndKVjp PltiV6LAyFyAbslH3d1QGlHSeK2qye9xHr3jA1azQz9zDAHmlPnKZf03kOshRRKDuzXARo xb5zq0hpGH4htK55qlkOOa5EPUA4JtuoLGmgP7seuIGTFsQlSvqyg5TekmJKtax0TSZi+0 cCvNWxWcPZF5X6wUZX+E/cZ6+18j9WUZnH/ZxWKxw+hWgsgQQHcrv5p8jtMptvrNIs0I0s 2cCA3r9orIc8M8AkoMMGcVVgyew0FYT7+8csGeLYFMupAj+11fuelyB4NI1zwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 1/27/22 1:34 PM, Ed Maste wrote: > The Dragonfly Mail Agent (dma) is a small Mail Transport Agent (MTA) > which accepts mail from a local Mail User Agent (MUA) and delivers it > locally or to a smarthost for delivery. dma does not accept inbound > mail (i.e., it does not listen on port 25) and is not intended to > provide the same functionality as a full MTA like postfix or sendmail. > It is intended for use cases such as delivering cron(8) mail. > > Since 2014 we have a copy of dma in the base system available as an > optional component, enabled via the WITH_DMAGENT src.conf knob. > > I am interested in determining whether dma is a viable minimal base > system MTA, and if not what gaps remain. If you have enabled DMA on > your systems (or are willing to give it a try) and have any feedback > or are aware of issues please follow up or submit a PR as appropriate. I've used DMA on systems without local mail accounts to forward cron periodic e-mails just fine. It even supports STARTTLS and SMTP AUTH. I haven't tried using it for simple local delivery to /var/mail/root. -- John Baldwin