Zainstalowałem Etcha i zabrałem się za konfigurację Postfixa. ¯eby ułatwić sobie pracę poszukałem jakiegoś HowTo i znalazłem stronę Debian Admin.
Niestety, coś nie wyszło z SASL2 i postanowiłem wszystko odinstalować przez aptitude. Potem ręcznie wywaliłem katalogi, które uznałem za zbędne po deinstalacji pakietów (/etc/postfix i /etc/dovecot).
Spróbowałem ponownie zainstalować postfixa, ale nie udało się. Zinstalowałem więc ponownie exim4 z nadzieją, że wrócę do standardowego SMTP Debiana i wtedy instlacja Postfixa zastąpi exim4.
Nistety, podczas instalacji wywala mi:
Kod: Zaznacz cały
orion:~# aptitude install postfix
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
The following packages are BROKEN:
exim4 exim4-config
The following packages will be automatically REMOVED:
exim4-daemon-light
The following NEW packages will be installed:
postfix
The following packages will be REMOVED:
exim4-daemon-light
0 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/1146kB of archives. After unpacking 1847kB will be used.
The following packages have unmet dependencies:
exim4-config: Conflicts: postfix but 2.3.8-2 is to be installed.
exim4: Depends: exim4-daemon-light but it is not installable or
exim4-daemon-heavy but it is not installable or
exim4-daemon-custom which is a virtual package.
Resolving dependencies...
The following actions will resolve these dependencies:
Remove the following packages:
exim4
exim4-base
exim4-config
Score is -289
Accept this solution? [Y/n/q/?] y
The following packages will be automatically REMOVED:
exim4 exim4-base exim4-config exim4-daemon-light
The following NEW packages will be installed:
postfix
The following packages will be REMOVED:
exim4 exim4-base exim4-config exim4-daemon-light
0 packages upgraded, 1 newly installed, 4 to remove and 0 not upgraded.
Need to get 0B/1146kB of archives. After unpacking 958kB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 22216 files and directories currently installed.)
Removing exim4 ...
dpkg: exim4-base: dependency problems, but removing anyway as you request:
exim4-daemon-light depends on exim4-base (>= 4.63).
Removing exim4-base ...
Stopping MTA: exim4_listener.
Removing exim4-config ...
dpkg: exim4-daemon-light: dependency problems, but removing anyway as you request:
at depends on mail-transport-agent; however:
Package mail-transport-agent is not installed.
Package ssmtp which provides mail-transport-agent is not installed.
Package exim which provides mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not installed.
Package exim4-daemon-light which provides mail-transport-agent is to be removed.
Package xmail which provides mail-transport-agent is not installed.
mutt depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package ssmtp which provides mail-transport-agent is not installed.
Package exim which provides mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not installed.
Package exim4-daemon-light which provides mail-transport-agent is to be removed.
Package xmail which provides mail-transport-agent is not installed.
Removing exim4-daemon-light ...
Stopping MTA:.
Selecting previously deselected package postfix.
(Reading database ... 22079 files and directories currently installed.)
Unpacking postfix (from .../postfix_2.3.8-2_amd64.deb) ...
Setting up postfix (2.3.8-2) ...
Postfix configuration was not changed. If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix/bin/sh: /etc/postfix/post-install: No such file or directory
postfix/postfix-script: warning: unable to create missing queue directories
postfix/postfix-script: fatal: Postfix integrity check failed!
failed!
invoke-rc.d: initscript postfix, action "restart" failed.
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up postfix (2.3.8-2) ...
Postfix configuration was not changed. If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix/bin/sh: /etc/postfix/post-install: No such file or directory
postfix/postfix-script: warning: unable to create missing queue directories
postfix/postfix-script: fatal: Postfix integrity check failed!
failed!
invoke-rc.d: initscript postfix, action "restart" failed.
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
postfix
orion:~#
Pozdrawiam,
Adam