I have an error when I try to install sendmail ou mailutils on Debian 9.13:
Setting up sendmail-bin (8.15.2-8+deb9u1) ...
You are doing a new install, or have erased /etc/mail/sendmail.mc.
If you've accidentaly erased /etc/mail/sendmail.mc, check /var/backups.
I am creating a safe, default sendmail.mc for you and you can
run sendmailconfig later if you need to change the defaults.
Failed to stop sendmail.service: Unit sendmail.service not loaded.
dpkg: error processing package sendmail-bin (--configure):
subprocess installed post-installation script returned error exit status 5
Setting up libgc1c2:amd64 (1:7.4.2-8) ...
dpkg: dependency problems prevent configuration of mailutils:
mailutils depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package mail-transport-agent is not installed.
Package sendmail-bin which provides mail-transport-agent is not configured yet.
dpkg: error processing package mailutils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sensible-mda:
sensible-mda depends on sendmail-bin | mail-transport-agent; however:
Package sendmail-bin is not configured yet.
Package mail-transport-agent is not installed.
Package sendmail-bin which provides mail-transport-agent is not configured yet.
dpkg: error processing package sensible-mda (--configure):
dependency problems - leaving unconfigured
Setting up libntlm0:amd64 (1.4-8) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up guile-2.0-libs:amd64 (2.0.13+1-4) ...
Setting up libfribidi0:amd64 (0.19.7-1+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libkyotocabinet16v5:amd64 (1.2.76-4.2+b1) ...
Setting up mailutils-common (1:3.1.1-1) ...
Setting up libgsasl7 (1.8.0-8+b2) ...
Setting up libmailutils5:amd64 (1:3.1.1-1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Errors were encountered while processing:
sendmail-bin
mailutils
sensible-mda
E: Sub-process /usr/bin/dpkg returned an error code (1)
Other question/answer are not working for me, error is generic. How can I fix this problem ? Thanks !