====== sendmail install log ====== root@raspberrypi:~# apt-get install sendmail Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgnutls-dane0 libunbound8 libxcb-image0 libxcb-util0 Use 'apt autoremove' to remove them. The following additional packages will be installed: liblockfile-bin liblockfile1 libsigsegv2 lockfile-progs m4 procmail sendmail-base sendmail-bin sendmail-cf sensible-mda Suggested packages: m4-doc sendmail-doc rmail logcheck sasl2-bin libsasl2-modules The following packages will be REMOVED: exim4-base exim4-config exim4-daemon-light The following NEW packages will be installed: liblockfile-bin liblockfile1 libsigsegv2 lockfile-progs m4 procmail sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda 0 upgraded, 11 newly installed, 3 to remove and 0 not upgraded. Need to get 2,107 kB of archives. After this operation, 783 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf libsigsegv2 armhf 2.12-2 [32.3 kB] Get:2 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf m4 armhf 1.4.18-2 [185 kB] Get:3 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf liblockfile-bin armhf 1.14-1.1 [18.9 kB] Get:4 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf liblockfile1 armhf 1.14-1.1 [15.3 kB] Get:5 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf lockfile-progs armhf 0.1.18 [9,828 B] Get:6 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf sendmail-base all 8.15.2-14~deb10u1 [343 kB] Get:7 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf sendmail-cf all 8.15.2-14~deb10u1 [292 kB] Get:8 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf sendmail-bin armhf 8.15.2-14~deb10u1 [634 kB] Get:9 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf procmail armhf 3.22-26 [129 kB] Get:10 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf sensible-mda armhf 8.15.2-14~deb10u1 [225 kB] Get:11 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf sendmail all 8.15.2-14~deb10u1 [223 kB] Fetched 2,107 kB in 11s (191 kB/s) (Reading database ... 64085 files and directories currently installed.) Removing exim4-daemon-light (4.92-8+deb10u4) ... Removing exim4-base (4.92-8+deb10u4) ... Removing exim4-config (4.92-8+deb10u4) ... Selecting previously unselected package libsigsegv2:armhf. (Reading database ... 63951 files and directories currently installed.) Preparing to unpack .../00-libsigsegv2_2.12-2_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../01-m4_1.4.18-2_armhf.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package liblockfile-bin. Preparing to unpack .../02-liblockfile-bin_1.14-1.1_armhf.deb ... Unpacking liblockfile-bin (1.14-1.1) ... Selecting previously unselected package liblockfile1:armhf. Preparing to unpack .../03-liblockfile1_1.14-1.1_armhf.deb ... Unpacking liblockfile1:armhf (1.14-1.1) ... Selecting previously unselected package lockfile-progs. Preparing to unpack .../04-lockfile-progs_0.1.18_armhf.deb ... Unpacking lockfile-progs (0.1.18) ... Selecting previously unselected package sendmail-base. Preparing to unpack .../05-sendmail-base_8.15.2-14~deb10u1_all.deb ... Unpacking sendmail-base (8.15.2-14~deb10u1) ... Selecting previously unselected package sendmail-cf. Preparing to unpack .../06-sendmail-cf_8.15.2-14~deb10u1_all.deb ... Unpacking sendmail-cf (8.15.2-14~deb10u1) ... Selecting previously unselected package sendmail-bin. Preparing to unpack .../07-sendmail-bin_8.15.2-14~deb10u1_armhf.deb ... Unpacking sendmail-bin (8.15.2-14~deb10u1) ... Selecting previously unselected package procmail. Preparing to unpack .../08-procmail_3.22-26_armhf.deb ... Unpacking procmail (3.22-26) ... Selecting previously unselected package sensible-mda. Preparing to unpack .../09-sensible-mda_8.15.2-14~deb10u1_armhf.deb ... Unpacking sensible-mda (8.15.2-14~deb10u1) ... Selecting previously unselected package sendmail. Preparing to unpack .../10-sendmail_8.15.2-14~deb10u1_all.deb ... Unpacking sendmail (8.15.2-14~deb10u1) ... Setting up liblockfile-bin (1.14-1.1) ... Setting up libsigsegv2:armhf (2.12-2) ... Setting up procmail (3.22-26) ... Setting up liblockfile1:armhf (1.14-1.1) ... Setting up m4 (1.4.18-2) ... Setting up lockfile-progs (0.1.18) ... Setting up sendmail-cf (8.15.2-14~deb10u1) ... Setting up sendmail-base (8.15.2-14~deb10u1) ... adduser: Warning: The home directory `/var/lib/sendmail' does not belong to the user you are currently creating. Setting up sendmail-bin (8.15.2-14~deb10u1) ... update-alternatives: using /usr/lib/sm.bin/sendmail to provide /usr/sbin/sendmail-mta (sendmail-mta) in auto mode update-alternatives: using /usr/lib/sm.bin/sendmail to provide /usr/sbin/sendmail-msp (sendmail-msp) in auto mode 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. Updating sendmail environment ... Validating configuration. Writing configuration to /etc/mail/sendmail.conf. Writing /etc/cron.d/sendmail. Could not open /etc/mail/databases(No such file or directory), creating it. Could not open /etc/mail/sendmail.mc(No such file or directory) Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Writing configuration to /etc/mail/sendmail.conf. Writing /etc/cron.d/sendmail. Turning off Host Status collection Could not open /etc/mail/databases(No such file or directory), creating it. Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/databases... Checking filesystem, this may take some time - it will not hang! ... Done. Checking for installed MDAs... Adding link for newly extant program (mail.local) Adding link for newly extant program (procmail) sasl2-bin not installed, not configuring sendmail support. To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth" Creating/Updating SSL(for TLS) information Creating /etc/mail/tls/starttls.m4... Creating SSL certificates for sendmail. Generating DSA parameters, 2048 bit long prime This could take some time .........+........+.+....................................+.......+.......................+...........+..+..+....+..+.......+.+..............+.....................+....+...+....+.....+.................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* .....+...................+.....+...................+.................................+..+..+.....+...........................+.........+.+................+..+...+...............+.......+..+.........+....+..+..............+............+.................+....+....+.......+..+.+..............+....+..........+.....+...............+...........................+.........+..........+...........+....................+....+.....+...............+..+.............+.....+..+......+.............+..+.......+.....+...................+..+....................+...+.......+.......+....+....................+.+.................+..+.............+........+.+........................+.....+...........+.........................................+............+..........+........+..+............+....+................+.+........+..........................+....+.......+.+...+.......+...+..+...............+..+.........+..+........+...+..............+...+..+....+......+.......+...........+...........+....+...+.....+..+............+..+.........+....+.+...+.......+...+......+....+......+................+...........+.+.....+.....+........+....+......+..........+.+.....+..+..............+......+.......+........+.....+.............+..................+......+.......+............+..............+..............................+.........+....+..+....+.......+....+...+...+..............+........+....+...................+........................+.+......+...............+.....................+.....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* Generating RSA private key, 2048 bit long modulus (2 primes) ...........................................................+++++ .............................................+++++ e is 65537 (0x010001) *** *** *** WARNING *** WARNING *** WARNING *** WARNING *** *** *** Everything you need to support STARTTLS (encrypted mail transmission and user authentication via certificates) is installed and configured but is *NOT* being used. To enable sendmail to use STARTTLS, you need to: 1) Add this line to /etc/mail/sendmail.mc and optionally to /etc/mail/submit.mc: include(`/etc/mail/tls/starttls.m4')dnl 2) Run sendmailconfig 3) Restart sendmail Updating /etc/hosts.allow, adding "sendmail: all". Please edit /etc/hosts.allow and check the rules location to make sure your security measures have not been overridden - it is common to move the sendmail:all line to the *end* of the file, so your more selective rules take precedence. Checking {sendmail,submit}.mc and related databases... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/databases... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/databases... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/Makefile... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Writing configuration to /etc/mail/sendmail.conf. Writing /etc/cron.d/sendmail. Disabling HOST statistics file(/var/lib/sendmail/host_status). Creating /etc/mail/sendmail.cf... Creating /etc/mail/submit.cf... Informational: confCR_FILE file empty: /etc/mail/relay-domains Warning: confCT_FILE source file not found: /etc/mail/trusted-users it was created Informational: confCT_FILE file empty: /etc/mail/trusted-users Warning: confCW_FILE source file not found: /etc/mail/local-host-names it was created Warning: access_db source file not found: /etc/mail/access it was created Updating /etc/mail/access... Linking /etc/aliases to /etc/mail/aliases Updating /etc/mail/aliases... WARNING: local host name (raspberrypi) is not qualified; see cf/README: WHO AM I? /etc/mail/aliases: 12 aliases, longest 10 bytes, 134 bytes total Warning: 3 database(s) sources were not found, (but were created) please investigate. Setting up sensible-mda (8.15.2-14~deb10u1) ... Setting up sendmail (8.15.2-14~deb10u1) ... Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ... Processing triggers for libc-bin (2.28-10+rpi1) ... Processing triggers for systemd (241-7~deb10u6+rpi1) ... Processing triggers for man-db (2.8.5-2) ... root@raspberrypi:~# ps -e | grep sendmail 4308 ? 00:00:00 sendmail-mta root@raspberrypi:~# apt-get install sendmail libsasl2-modules Reading package lists... Done Building dependency tree Reading state information... Done sendmail is already the newest version (8.15.2-14~deb10u1). The following packages were automatically installed and are no longer required: libgnutls-dane0 libunbound8 libxcb-image0 libxcb-util0 Use 'apt autoremove' to remove them. Suggested packages: libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql The following NEW packages will be installed: libsasl2-modules 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 96.3 kB of archives. After this operation, 240 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf libsasl2-modules armhf 2.1.27+dfsg-1+deb10u1 [96.3 kB] Fetched 96.3 kB in 5s (19.0 kB/s) Selecting previously unselected package libsasl2-modules:armhf. (Reading database ... 64526 files and directories currently installed.) Preparing to unpack .../libsasl2-modules_2.1.27+dfsg-1+deb10u1_armhf.deb ... Unpacking libsasl2-modules:armhf (2.1.27+dfsg-1+deb10u1) ... Setting up libsasl2-modules:armhf (2.1.27+dfsg-1+deb10u1) ...