From nobody Wed Mar 13 01:16:15 2024 X-Original-To: freebsd-ports@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 4TvXf63XDXz5CwBP for ; Wed, 13 Mar 2024 01:16:30 +0000 (UTC) (envelope-from hiroo@oikumene.net) Received: from barleycorn.oikumene.net (tk2-231-25124.vs.sakura.ne.jp [160.16.110.128]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TvXf60gywz40Cj for ; Wed, 13 Mar 2024 01:16:28 +0000 (UTC) (envelope-from hiroo@oikumene.net) Authentication-Results: mx1.freebsd.org; none Received: from nowhere.oikumene.ukehi.net (KD059129091046.ppp-bb.dion.ne.jp [59.129.91.46]) by barleycorn.oikumene.net (Postfix) with ESMTPSA id D49C861FCC; Wed, 13 Mar 2024 10:16:18 +0900 (JST) Received: from nowhere.oikumene.ukehi.net ([IPv6:240f:3f:802f:2:82c1:6eff:fef8:b41e]) by nowhere.oikumene.ukehi.net (8.18.1/8.18.1) with ESMTP id 42D1GFCB028357; Wed, 13 Mar 2024 10:16:17 +0900 (JST) (envelope-from hiroo@oikumene.net) X-Authentication-Warning: nowhere.oikumene.ukehi.net: Host [IPv6:240f:3f:802f:2:82c1:6eff:fef8:b41e] claimed to be nowhere.oikumene.ukehi.net Date: Wed, 13 Mar 2024 10:16:15 +0900 From: Hiroo Ono To: bob prohaska Cc: George Mitchell , freebsd-ports@freebsd.org Subject: Re: SMTP authentication for sendmail using binary-only host system Message-ID: <20240313101615.5208ad02@nowhere.oikumene.ukehi.net> In-Reply-To: References: <4577e583-5b2a-4413-846b-9a6f25c60c94@m5p.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.41; amd64-portbld-freebsd14.0) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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)[]; TAGGED_RCPT(0.00)[freebsd]; ASN(0.00)[asn:9370, ipnet:160.16.0.0/17, country:JP] X-Rspamd-Queue-Id: 4TvXf60gywz40Cj No, If you installed sendmail from packages, you have to follow the instructions in the package message. Also, cyrus-sasl should be installed as a dependency. See pkg query %M sendmail. excerpt: --------------------------------------------------- To use the binaries supplied by the port you should add the following lines to your sendmail.mc file before any mailer or feature definition: define(`confEBINDIR', `/usr/local/libexec')dnl define(`UUCP_MAILER_PATH', `/usr/local/bin/uux')dnl --------------------------------------------------- To activate sendmail as your default mailer, run: $ cd /usr/local/etc/mail && cp mailer.conf.sendmail mailer.conf Your '/usr/local/etc/mail/mailer.conf' should look like this: # # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail # sendmail /usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail hoststat /usr/local/sbin/sendmail purgestat /usr/local/sbin/sendmail You may also need to update /etc/rc.conf. On Tue, 12 Mar 2024 11:48:30 -0700 bob prohaska wrote: > On Tue, Mar 12, 2024 at 02:01:19PM -0400, George Mitchell wrote: > > There's a port (package) for sendmail, and it would appear that the > > necessary options (SASL and SASLAUTHD) are on by default. And TLS > > is also on. -- George > > The host in question is running > 14.0-RELEASE-p5 FreeBSD 14.0-RELEASE-p5 #0: Tue Feb 13 23:49:05 UTC > 2024 > root@arm64-builder.daemonology.net:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC > arm64 > > Sendmail was configured using > cp /usr/share/examples/sendmail/mailer.conf /etc/mail/mailer.conf > so no local customizations. Might it be sufficent to run > pkg install cyrus-sasl > and accept the defaults? > > Thanks for writing! > > bob prohaska > >