dpkg: error processing postfix (--configure)
Avi Greenbury
lists at avi.co
Sat Aug 25 23:15:26 UTC 2012
Thufir wrote:
> 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'.
This is purely informational
> Running newaliases
> postalias: fatal: open /etc/postfix/aliases: No such file or directory
> dpkg: error processing postfix (--configure):
> subprocess installed post-installation script returned error exit
> status 1
this is an error. The problem is that /etc/postfix/aliases doesn't
exist but is cited somewhere in main.cf in a line that looks like this:
alias_database = hash:/etc/postfix/aliases
(from your postconf output). Hash that line out and do
apt-get install postfix ; apt-get -f install
and it should succeed. You may then want to do
dpkg-reconfigure postfix
or at least have a check over the files yourself to make sure all your
config is having Postfix do the sort of things you want it to be
doing.
--
Avi
More information about the ubuntu-users
mailing list