postfix: fatal: /etc/postfix/postfix-script: No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postfix (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Binary package hint: postfix
On initial installation of postfix I receive an error when starting the process. Below is a capture of attempted installation thru errror:
Reading package lists... Done
Building dependency tree... Done
postfix is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up postfix (2.2.10-1) ...
Creating /etc/postfix/
Adding tcp map entry to /etc/postfix/
setting myhostname: whitebox
setting alias maps
setting alias database
setting myorigin
setting destinations: $myhostname, $mydomain
setting relayhost:
setting mynetworks: 127.0.0.1/32 192.168.0.3/32
setting mailbox_command
setting mailbox_size_limit: 0
setting recipient_
setting inet_interfaces: all
Postfix is now set up with a default configuration. If you need to make
changes, edit /etc/postfix/
After modifying main.cf, be sure to run '/etc/init.
Running newaliases
* Stopping Postfix Mail Transport Agent postfix [ ok ]
* Starting Postfix Mail Transport Agent postfix postfix: fatal: /etc/postfix/
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)
I can confirm this bug on Ubuntu 6.06 AMD64 with all the latest updates.
$ sudo apt-get install --reinstall postfix
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up postfix (2.2.10-1ubuntu0.1) ...
Postfix configuration was not changed. If you need to make changes, edit main.cf (and others) as needed. To view Postfix configuration
/etc/postfix/
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init. d/postfix reload'.
Running newaliases postfix- script: No such file or directory
[fail]
postalias: warning: /etc/aliases.db: duplicate entry: "news"
* Stopping Postfix Mail Transport Agent postfix [ ok ]
* Starting Postfix Mail Transport Agent postfix postfix: fatal: /etc/postfix/
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)