This is an old revision of the document!
exim4 install log
root@raspberrypi:~# apt-get install exim4 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: liblockfile-bin liblockfile1 libsigsegv2 libxcb-image0 libxcb-util0 lockfile-progs m4 procmail sendmail-base sendmail-cf sensible-mda Use 'apt autoremove' to remove them. The following additional packages will be installed: exim4-base exim4-config exim4-daemon-light Suggested packages: exim4-doc-html | exim4-doc-info eximon4 spf-tools-perl swaks The following packages will be REMOVED: sendmail sendmail-bin The following NEW packages will be installed: exim4 exim4-base exim4-config exim4-daemon-light 0 upgraded, 4 newly installed, 2 to remove and 54 not upgraded. Need to get 1,957 kB of archives. After this operation, 1,873 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://raspbian.mirror.digitalpacific.com.au/raspbian buster/main armhf exim4-daemon-light armhf 4.92-8+deb10u5 [493 kB] Get:2 http://raspbian.mirror.digitalpacific.com.au/raspbian buster/main armhf exim4-config all 4.92-8+deb10u5 [324 kB] Get:3 http://raspbian.mirror.digitalpacific.com.au/raspbian buster/main armhf exim4-base armhf 4.92-8+deb10u5 [1,133 kB] Get:4 http://raspbian.mirror.digitalpacific.com.au/raspbian buster/main armhf exim4 all 4.92-8+deb10u5 [7,168 B] Fetched 1,957 kB in 3s (590 kB/s) Preconfiguring packages ... (Reading database ... 64551 files and directories currently installed.) Removing sendmail (8.15.2-14~deb10u1) ... dpkg: sendmail-bin: dependency problems, but removing anyway as you requested: sensible-mda depends on sendmail-bin | mail-transport-agent; however: Package sendmail-bin is to be removed. Package mail-transport-agent is not installed. Package sendmail-bin which provides mail-transport-agent is to be removed. Package exim4-daemon-light which provides mail-transport-agent is not installed. sensible-mda depends on sendmail-bin | mail-transport-agent; however: Package sendmail-bin is to be removed. Package mail-transport-agent is not installed. Package sendmail-bin which provides mail-transport-agent is to be removed. Package exim4-daemon-light which provides mail-transport-agent is not installed. Removing sendmail-bin (8.15.2-14~deb10u1) ... Selecting previously unselected package exim4-daemon-light. (Reading database ... 64496 files and directories currently installed.) Preparing to unpack .../exim4-daemon-light_4.92-8+deb10u5_armhf.deb ... Unpacking exim4-daemon-light (4.92-8+deb10u5) ... Selecting previously unselected package exim4-config. Preparing to unpack .../exim4-config_4.92-8+deb10u5_all.deb ... Unpacking exim4-config (4.92-8+deb10u5) ... Selecting previously unselected package exim4-base. Preparing to unpack .../exim4-base_4.92-8+deb10u5_armhf.deb ... Unpacking exim4-base (4.92-8+deb10u5) ... Selecting previously unselected package exim4. Preparing to unpack .../exim4_4.92-8+deb10u5_all.deb ... Unpacking exim4 (4.92-8+deb10u5) ... Setting up exim4-config (4.92-8+deb10u5) ... Setting up exim4-base (4.92-8+deb10u5) ... exim: DB upgrade, deleting hints-db Setting up exim4-daemon-light (4.92-8+deb10u5) ... Setting up exim4 (4.92-8+deb10u5) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for systemd (241-7~deb10u6+rpi1) ...