root@mail:/# 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:
linux-headers-3.8.0-33 linux-headers-3.8.0-33-generic linux-image-3.8.0-33-generic linux-image-extra-3.8.0-33-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
exim4-base exim4-config exim4-daemon-light
Suggested packages:
eximon4 exim4-doc-html exim4-doc-info spf-tools-perl swaks
The following packages will be REMOVED:
postfix
The following NEW packages will be installed:
exim4 exim4-base exim4-config exim4-daemon-light
0 upgraded, 4 newly installed, 1 to remove and 0 not upgraded.
Need to get 1,687 kB of archives.
After this operation, 189 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1
http://ru.archive.ubuntu.com/ubuntu/ raring/main exim4-base amd64 4.80-7ubuntu1 [866 kB]
Get:2
http://ru.archive.ubuntu.com/ubuntu/ raring/main exim4-daemon-light amd64 4.80-7ubuntu1 [495 kB]
Get:3
http://ru.archive.ubuntu.com/ubuntu/ raring/main exim4-config all 4.80-7ubuntu1 [318 kB]
Get:4
http://ru.archive.ubuntu.com/ubuntu/ raring/main exim4 all 4.80-7ubuntu1 [7,864 B]
Fetched 1,687 kB in 2s (841 kB/s)
Preconfiguring packages ...
Selecting previously unselected package exim4-base.
(Reading database ... 123492 files and directories currently installed.)
Unpacking exim4-base (from .../exim4-base_4.80-7ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
dpkg: postfix: dependency problems, but removing anyway as you requested:
mailutils depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package postfix which provides default-mta is to be removed.
Package mail-transport-agent is not installed.
Package ssmtp which provides mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is to be removed.
mailutils depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package postfix which provides default-mta is to be removed.
Package mail-transport-agent is not installed.
Package ssmtp which provides mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is to be removed.
(Reading database ... 123564 files and directories currently installed.)
Removing postfix ...
* Stopping Postfix Mail Transport Agent postfix [ OK ]
Processing triggers for ureadahead ...
Processing triggers for ufw ...
WARN: uid is 0 but '/' is owned by 65534
Processing triggers for man-db ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously unselected package exim4-daemon-light.
(Reading database ... 123398 files and directories currently installed.)
Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.80-7ubuntu1_amd64.deb) ...
Selecting previously unselected package exim4-config.
Unpacking exim4-config (from .../exim4-config_4.80-7ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up exim4-config (4.80-7ubuntu1) ...
Adding system-user for exim (v4)
find: `mail' is not the name of a known user
find: `mail' is not the name of an existing group
2013-12-04 14:25:34 Exim configuration error in line 663 of /var/lib/exim4/config.autogenerated.tmp:
user mail was not found
2013-12-04 14:25:34 Exim configuration error in line 663 of /var/lib/exim4/config.autogenerated.tmp:
user mail was not found
2013-12-04 14:25:34 Exim configuration error in line 663 of /var/lib/exim4/config.autogenerated.tmp:
user mail was not found
exim: could not open panic log - aborting: see message(s) above
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
/var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
dpkg: error processing exim4-config (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of exim4-base:
exim4-base depends on exim4-config (>= 4.30) | exim4-config-2; however:
Package exim4-config is not configured yet.
Package exim4-config-2 is not installed.
Package exim4-config which provides exim4-config-2 is not configured yet.
dpkg: error processing exim4-base (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of exim4-daemon-light:
exim4-daemon-light depends on exim4-base (>= 4.80); however:
Package exim4-base is not configured yet.
dpkg: error processing exim4-daemon-light (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
exim4-config
exim4-base
exim4-daemon-light
E: Sub-process /usr/bin/dpkg returned an error code (1)