In a recent installation of OpenBSD, I noticed that the smtpd daemon is present.
gelima# ps aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
[...]
root 90899 0.0 0.0 1720 2236 ?? Ip 10:26PM 0:00.02 /usr/sbin/smtpd
_smtpd 46484 0.0 0.0 1452 3244 ?? Ipc 10:26PM 0:00.02 smtpd: crypto (smtpd)
_smtpd 24355 0.0 0.0 1656 3484 ?? Ipc 10:26PM 0:00.03 smtpd: control (smtpd)
_smtpd 2198 0.0 0.0 1524 3356 ?? Ip 10:26PM 0:00.04 smtpd: lookup (smtpd)
_smtpd 10223 0.0 0.1 1932 4700 ?? Ipc 10:26PM 0:00.05 smtpd: dispatcher (smtpd)
_smtpq 87986 0.0 0.0 1652 3464 ?? Ipc 10:26PM 0:00.03 smtpd: queue (smtpd)
_smtpd 9288 0.0 0.0 1456 3304 ?? Ipc 10:26PM 0:00.04 smtpd: scheduler (smtpd)
_sndiop 14528 0.0 0.0 2656 996 ?? IpU 10:26PM 0:00.00 sndiod: helper (sndiod)
How can I find the package which /usr/sbin/smtpd belongs to and remove it from system. I don't want to disable smtpd service from the system, I want to delete it.
I see that it is not available in binary packages.
# pkg_info -mz
htop--
nginx--
pkglocatedb--
quirks--
vim--no_x11
So where is it?