[Bug 275575] sendmail_enable="YES" does not start sendmail

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Dec 2023 18:50:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275575

--- Comment #1 from Gerasimos Melissaratos <gmelis@mikroskosmos.gr> ---
It works correctly when the variable sendmail_program is set to
/usr/libexec/sendmail/sendmail in /etc/rc.conf or /etc/rc.conf.local. So the
following can provide a quick fix:

echo sendmail_program="/usr/libexec/sendmail/sendmail" >> /etc/rc.conf

though I believe it would be better if the variable was set in
/etc/rc.d/sendmail:

23c23
< command=${sendmail_program:-/usr/sbin/${name}}
---
> command=${sendmail_program:-/usr/libexec/sendmail/${name}}

-- 
You are receiving this mail because:
You are the assignee for the bug.