#991711 sendmail-bin: sendmail service causes a long boot time

Package:
sendmail-bin
Source:
sendmail
Description:
powerful, efficient, and scalable Mail Transport Agent
Submitter:
Bohdan Horbeshko
Date:
2021-07-30 15:09:03 UTC
Severity:
normal
#991711#5
Date:
2021-07-30 15:05:02 UTC
From:
To:
Dear Maintainer,

it delays the system load, or just waits for something, for circa 2 minutes.

Here's the journalctl log:

июл 30 15:53:05 localhost systemd[1]: Starting LSB: powerful, efficient, and scalable Mail Transport Agent...
июл 30 15:53:49 localhost su[3645]: (to smmsp) root on none
июл 30 15:53:52 localhost su[3645]: pam_unix(su:session): session opened for user smmsp(uid=139) by (uid=0)
июл 30 15:54:53 localhost.localdomain sm-mta[4080]: error: safesasl(/usr/lib/x86_64-linux-gnu/sasl2/Sendmail.conf) failed: Group writable directory
июл 30 15:54:54 localhost.localdomain sm-mta[4080]: error: safesasl(/usr/lib/sasl2/Sendmail.conf) failed: Group writable directory
июл 30 15:54:54 localhost.localdomain sm-mta[4080]: error: safesasl(/usr/lib/x86_64-linux-gnu/sasl2/libanonymous.so) failed: Group writable directory
июл 30 15:54:54 localhost.localdomain sm-mta[4080]: error: safesasl(/usr/lib/x86_64-linux-gnu/sasl2/libsasldb.so) failed: Group writable directory
июл 30 15:54:54 localhost.localdomain sm-mta[4080]: error: safesasl(/usr/lib/x86_64-linux-gnu/sasl2/libdigestmd5.so) failed: Group writable directory
июл 30 15:54:54 localhost.localdomain sm-mta[4080]: error: safesasl(/usr/lib/x86_64-linux-gnu/sasl2/libcrammd5.so) failed: Group writable directory
июл 30 15:54:54 localhost.localdomain sm-mta[4080]: error: safesasl(/usr/lib/x86_64-linux-gnu/sasl2/libntlm.so) failed: Group writable directory
июл 30 15:54:54 localhost.localdomain sm-mta[4080]: error: safesasl(/usr/lib/x86_64-linux-gnu/sasl2/liblogin.so) failed: Group writable directory
июл 30 15:54:54 localhost.localdomain sm-mta[4080]: error: safesasl(/usr/lib/x86_64-linux-gnu/sasl2/libplain.so) failed: Group writable directory
июл 30 15:54:54 localhost.localdomain sm-mta[4087]: starting daemon (8.15.2): SMTP+queueing@00:10:00
июл 30 15:55:08 localhost.localdomain sendmail[3467]: Starting Mail Transport Agent (MTA): sendmail.
июл 30 15:55:08 localhost.localdomain systemd[1]: Started LSB: powerful, efficient, and scalable Mail Transport Agent.

Before, it also had such lines after a minute of delay:

июл 30 15:34:57 localhost.localdomain sm-mta[3564]: gethostbyaddr(192.168.43.237) failed: 1
июл 30 15:34:57 localhost.localdomain sm-mta[3564]: gethostbyaddr(10.0.3.1) failed: 1

so I thought it's a culprit and added those IPs to /etc/hosts, but it didn't help: the lines are gone, but the service start time is still too long.

Do I need sendmail at all, if I don't run a mail server on my system, and the only mail there is that coming from the package manager? Should I maybe just delete it, or replace with something lighter?