Package: sendmail-bin
Version: 8.15.2-22
Severity: normal

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?


-- Package-specific info:
Output of /usr/share/bug/sendmail-bin/script:

ls -alR /etc/mail:
/etc/mail:
total 364
drwxr-sr-x   7 smmta smmsp  4096 May 16 21:30 .
drwxr-xr-x 293 root  root  20480 Jul 30 17:29 ..
-rwxr-xr--   1 root  smmsp 10035 May 16 21:30 Makefile
-rw-------   1 root  root   4261 May 16 21:30 access
-rw-r-----   1 smmta smmsp 12288 May 16 21:30 access.db
-rw-r--r--   1 root  root    281 Jul 26  2015 address.resolve
lrwxrwxrwx   1 root  smmsp    10 Aug  7  2015 aliases -> ../aliases
-rw-r-----   1 smmta smmsp 12288 May 16 21:30 aliases.db
-rw-r--r--   1 root  root   3242 May 16 21:30 databases
-rw-r--r--   1 root  root   5659 Jul 26  2015 helpfile
-rw-r--r--   1 root  smmsp    20 Aug  7  2015 local-host-names
drwxr-sr-x   2 smmta smmsp  4096 Aug  7  2015 m4
drwxr-xr-x   2 root  root   4096 May 16 21:09 peers
drwxr-xr-x   2 root  smmsp  4096 Jul 26  2015 sasl
-rw-r--r--   1 root  smmsp 65138 May 16 21:30 sendmail.cf
-rw-r--r--   1 root  root  65140 May 16 21:29 sendmail.cf.old
-rw-r--r--   1 root  root  12235 May 16 21:30 sendmail.conf
-rw-r--r--   1 root  smmsp  4212 May 16 21:30 sendmail.mc
-rw-r--r--   1 root  root    148 Jan 14  2018 service.switch
-rw-r--r--   1 root  root    179 Jan 14  2018 service.switch-nodns
drwxr-sr-x   2 smmta smmsp  4096 Jun 17  2020 smrsh
-rw-r--r--   1 root  smmsp 44524 May 16 21:30 submit.cf
-rw-r--r--   1 root  root  44526 May 16 21:29 submit.cf.old
-rw-r--r--   1 root  smmsp  2374 May 16 21:30 submit.mc
drwxr-xr-x   2 smmta smmsp  4096 Aug  7  2015 tls
-rw-r--r--   1 root  smmsp     0 Aug  7  2015 trusted-users

/etc/mail/m4:
total 8
drwxr-sr-x 2 smmta smmsp 4096 Aug  7  2015 .
drwxr-sr-x 7 smmta smmsp 4096 May 16 21:30 ..
-rw-r----- 1 root  smmsp    0 Aug  7  2015 dialup.m4
-rw-r----- 1 root  smmsp    0 Aug  7  2015 provider.m4

/etc/mail/peers:
total 12
drwxr-xr-x 2 root  root  4096 May 16 21:09 .
drwxr-sr-x 7 smmta smmsp 4096 May 16 21:30 ..
-rw-r--r-- 1 root  root   328 Jul 26  2015 provider

/etc/mail/sasl:
total 8
drwxr-xr-x 2 root  smmsp 4096 Jul 26  2015 .
drwxr-sr-x 7 smmta smmsp 4096 May 16 21:30 ..

/etc/mail/smrsh:
total 8
drwxr-sr-x 2 smmta smmsp 4096 Jun 17  2020 .
drwxr-sr-x 7 smmta smmsp 4096 May 16 21:30 ..
lrwxrwxrwx 1 root  smmsp   32 Jun 17  2020 mail.local -> 
/usr/libexec/sendmail/mail.local
lrwxrwxrwx 1 root  smmsp   17 Aug  7  2015 procmail -> /usr/bin/procmail

/etc/mail/tls:
total 48
drwxr-xr-x 2 smmta smmsp 4096 Aug  7  2015 .
drwxr-sr-x 7 smmta smmsp 4096 May 16 21:30 ..
-rw-r--r-- 1 root  root     7 Aug  7  2015 no_prompt
-rw------- 1 root  root  1191 Aug  7  2015 sendmail-client.cfg
-rw-r--r-- 1 root  smmsp 1184 Aug  7  2015 sendmail-client.crt
-rw------- 1 root  root   993 Aug  7  2015 sendmail-client.csr
-rw-r----- 1 root  smmsp 1679 Aug  7  2015 sendmail-common.key
-rw-r----- 1 root  smmsp 1650 Aug  7  2015 sendmail-common.prm
-rw------- 1 root  root  1191 Aug  7  2015 sendmail-server.cfg
-rw-r--r-- 1 root  smmsp 1184 Aug  7  2015 sendmail-server.crt
-rw------- 1 root  root   993 Aug  7  2015 sendmail-server.csr
-rwxr--r-- 1 root  root  3264 May 16 21:30 starttls.m4

sendmail.conf:
DAEMON_NETMODE="Static";
DAEMON_NETIF="eth0";
DAEMON_MODE="Daemon";
DAEMON_PARMS="";
DAEMON_HOSTSTATS="No";
DAEMON_MAILSTATS="No";
QUEUE_MODE="${DAEMON_MODE}";
QUEUE_INTERVAL="10m";
QUEUE_PARMS="";
MSP_MODE="Cron";
MSP_INTERVAL="20m";
MSP_PARMS="";
MSP_MAILSTATS="${DAEMON_MAILSTATS}";
MISC_PARMS="";
CRON_MAILTO="root";
CRON_PARMS="";
LOG_CMDS="No";
HANDS_OFF="No";
AGE_DATA="";
DAEMON_RUNASUSER="No";
DAEMON_STATS="${DAEMON_MAILSTATS}";
MSP_STATS="${MSP_MAILSTATS}";


sendmail.mc:
divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.14.9-4 2015-07-26 18:37:21 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
undefine(`confHOST_STATUS_DIRECTORY')dnl        #DAEMON_HOSTSTATS=
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Family=inet,  Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
DAEMON_OPTIONS(`Family=inet,  Name=MSP-v4, Port=submission, M=Ea, 
Addr=127.0.0.1')dnl
define(`confPRIVACY_FLAGS',dnl
`needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl
define(`confCONNECTION_RATE_THROTTLE', `15')dnl
define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`access_db', , `skip')dnl
FEATURE(`greet_pause', `1000')dnl 1 seconds
FEATURE(`delay_checks', `friend', `n')dnl
define(`confBAD_RCPT_THROTTLE',`3')dnl
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
include(`/etc/mail/m4/dialup.m4')dnl
include(`/etc/mail/m4/provider.m4')dnl
FEATURE(`always_add_domain')dnl
MASQUERADE_AS(`(none)')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl
MAILER_DEFINITIONS
MAILER(`local')dnl
MAILER(`smtp')dnl

submit.mc...
divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: submit.mc, v 8.14.9-4 2015-07-26 18:37:21 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-msp')dnl
FEATURE(`msp', `[127.0.0.1]', `25')dnl


-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing-debug'), (500, 
'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-7-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CRAP, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ru_UA.UTF-8, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8), 
LANGUAGE=ru_UA:ru
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sendmail-bin depends on:
ii  debconf              1.5.77
ii  init-system-helpers  1.60
ii  libc6                2.31-13
ii  libdb5.3             5.3.28+dfsg1-0.8
ii  libldap-2.4-2        2.4.57+dfsg-3
ii  liblockfile1         1.17-1+b1
ii  libnsl2              1.3.0-2
ii  libsasl2-2           2.1.27+dfsg-2.1
ii  libssl1.1            1.1.1k-1
ii  libwrap0             7.6.q-31
ii  lsb-base             11.1.0
ii  procps               2:3.3.17-5
ii  sendmail-base        8.15.2-22
ii  sendmail-cf          8.15.2-22

sendmail-bin recommends no packages.

Versions of packages sendmail-bin suggests:
ii  libsasl2-modules  2.1.27+dfsg-2.1
ii  openssl           1.1.1k-1
pn  sasl2-bin         <none>
pn  sendmail-doc      <none>

Versions of packages sensible-mda depends on:
ii  libc6     2.31-13
ii  procmail  3.22-26

Versions of packages sendmail depends on:
ii  sendmail-base  8.15.2-22
ii  sendmail-cf    8.15.2-22
ii  sensible-mda   8.15.2-22

Versions of packages sendmail suggests:
pn  rmail         <none>
pn  sendmail-doc  <none>

-- no debconf information

Reply via email to