Re: SMTP authentication for sendmail using binary-only host system
- In reply to: Hiroo Ono : "Re: SMTP authentication for sendmail using binary-only host system"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Mar 2024 14:35:38 UTC
On 3/12/24 21:16, Hiroo Ono wrote: > 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. > [...] Thanks for supplying this additional information. -- George