Date: Wed, 13 Mar 2024 10:16:15 +0900 From: Hiroo Ono <hiroo@oikumene.net> To: bob prohaska <fbsd@www.zefox.net> Cc: George Mitchell <george+freebsd@m5p.com>, 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: <ZfCjfl9hKM0A4Jlw@www.zefox.net> References: <ZfCJpItKGt3y4lB_@www.zefox.net> <4577e583-5b2a-4413-846b-9a6f25c60c94@m5p.com> <ZfCjfl9hKM0A4Jlw@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <fbsd@www.zefox.net> 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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240313101615.5208ad02>