From nobody Tue Dec 12 19:53:59 2023 X-Original-To: freebsd-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 4SqTpG1fdhz537wc for ; Tue, 12 Dec 2023 19:54:14 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SqTpF4BYBz4R2P for ; Tue, 12 Dec 2023 19:54:13 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2c9c18e7990so84976711fa.2 for ; Tue, 12 Dec 2023 11:54:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702410852; x=1703015652; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=J7kTxzwa7FlU4+Z04bUqImsShxtEXGOojS0bGXNNCdY=; b=HDDOLtvKYYD1SF2Q7xKVZfeM17Ktp7dbNS1sf278op7JlGUaEVdV8vZMyihZwfoXY0 7bocfvrKoDWtSc+J44zxq04vVFhUOw0oHZXGlEV07JNFGcLRlcsirfQ8QMdthEBtZc7T /uxRMdC//CGx0ArEu5uMfucTl15dK927psEfYkFvssNg7b++0DbwBZJEHdJ8I20m4zhG hmmEwdJ4t+C3oeL4QgoBiL22QpeqF19kv2sHz+IFmDQh4rPkvRq1K0yKBHXhkiYSgoND j7SSSrF3ahfv8To/ZtHMmEG9wy00PhPUGsNCSnryP4nS/+SOrq4zmvSaBmPOYZHRjMZv +7nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702410852; x=1703015652; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J7kTxzwa7FlU4+Z04bUqImsShxtEXGOojS0bGXNNCdY=; b=HIRTjnX1270Ow6wnDwI8pV+hQA1+NbGYmq8exhJvRRo8RnDLh9tAG8qGnU/gJkWtac 8dM8B3hOa7pS0UDqXgtb501Lt5uJLOvHWx9Q6wG/E1IqlA2IAYCrJ2s2YMOTBUgOQi8o Dxg7uD5hpKQZZtFewKSGCJI+r6v17GUMCQW/Bo/G7c/zoOu+TSGxO4mQfHuqfuK6FY2s YH26LXUneHL+IkrK9QRmXQRmWRYPEqvg6d+F+JazaWEMlwAFSfRNSVuCMbga9L7uqwuo 7jRIHEK7aSSyX4gHEBQGkF3P8/RXs8zB1/FMy++hSXyMuAS9VSN8204qmqEsP3cmsEkl EmfQ== X-Gm-Message-State: AOJu0YzBvT7KO2RgJ8uR7AGsZCTBJfgqGYsM6Ntivr6+phTXAwcYNN7q 9s2W2j7+4qLlORfpfeRJ2aWQM/4YTf6cPUXhb1CpNJfr X-Google-Smtp-Source: AGHT+IFYzsOAoeMOoICVpdRMdo+v/3ESoeWikVoiD5dTx8yByfWC6qNnzfhTbRfW9Y0smW6YtgP7ijH8u3f4HUpNMXI= X-Received: by 2002:a05:651c:514:b0:2cc:1fb4:cb2b with SMTP id o20-20020a05651c051400b002cc1fb4cb2bmr2189099ljp.87.1702410851767; Tue, 12 Dec 2023 11:54:11 -0800 (PST) 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 References: <20231212160938.470C67E25858@ary.qy> <68490b1a-5b2e-cd54-349a-b86cca63e158@iecc.com> In-Reply-To: <68490b1a-5b2e-cd54-349a-b86cca63e158@iecc.com> From: Aryeh Friedman Date: Tue, 12 Dec 2023 14:53:59 -0500 Message-ID: Subject: Re: Sendmail on 14-RELEASE To: "John R. Levine" Cc: freebsd-questions@freebsd.org, wfdudley@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SqTpF4BYBz4R2P On Tue, Dec 12, 2023 at 2:47=E2=80=AFPM John R. Levine wro= te: > > >> Most freebsd machines are not used as mail servers. DMA is small and > >> fast and adequate to handle mail from a stub system that might have a > >> local mailbox or two and relays the rest of the mail to a smarthost. > > > > I would completely disagree that the machine I was asking about does > > not use email at all except during manual and automatic testing of a > > web app it is the main test/development machine it is for. Without > > something that can *SEND* mail it is impossible to test this > > functionality. ... > > As I said in the message you quoted, DMA sends mail anywhere you want by > relaying it to a smarthost. I have virtual FreeBSD machines all over the > place with DMA that mail me status reports. Again *WRONG* it does not work with local aliases (I set up aliased a-z [see original post for example of the a alias]). Since all we are doing is testing if java/javamail works and it uses the *LOCAL* SMTP server to send all email even if local then having a non-SMTP server like DMA is a immediate no go. Note the app when under test *NEVER* sends anything but local mail (to the above aliases only). Also for HIPAA reasons we have made the development environment NAT gapped with the public Internet and thus it is not capable of receiving external mail anyways (nor sending it). It is purely for local testing and DMA is not a suitable replacement in this case. > > Perhaps this would be a good time to read the manual rather than guessing= . The handbook made no mention of sendmail not being installed by default and only mentioned DMA in passing without stating it was the default option. So in this case RTFM would have been no help at all. (Finally figured it out from reading the man page on mailler.conf which was not even pointed to by the man page on DMA). > > Regards, > John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Du= mmies", > Please consider the environment before reading this e-mail. https://jl.ly --=20 Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org