Hi,
I changed the hostname and ran apt-get install postfix and
sudo dpkg-reconfigure postfix
but it didn't fix the problem. it seems that I need to remove the broken
installation first!?
how?
Please advise.
Thanks,
Masood
mas...@masood-rocks:~$ sudo su
[sudo] password for masood:
r...@masood-rocks:/home/masood# /etc/init.d/motion stop
Stopping motion detection : motion
.
r...@masood-rocks:/home/masood# apt-get reconfigure postfix
E: Invalid operation reconfigure
r...@masood-rocks:/home/masood# sudo dpkg-reconfigure postfix
/usr/sbin/dpkg-reconfigure: postfix is broken or not fully installed
r...@masood-rocks:/home/masood# sudo apt-get install postfix
Reading package lists... Done
Building dependency tree
Reading state information... Done
postfix is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
31 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up postfix (2.5.5-1) ...
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
newaliases: warning: valid_hostname: invalid character 33(decimal):
masood-ROCKS!>
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad
parameter value: masood-ROCKS!>
dpkg: error processing postfix (--configure):
subprocess post-installation script returned error exit status 75
dpkg: dependency problems prevent configuration of courier-maildrop:
courier-maildrop depends on postfix | mail-transport-agent; however:
Package postfix is not configured yet.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing courier-maildrop (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mlmmj:
mlmmj depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing mlmmj (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dtc-common:
dtc-common depends on courier-maildrop | cyrus-imapd-2.2; however:
Package courier-maildrop is not configured yet.
Package cyrus-imapd-2.2 is not installed.
dtc-common dNo 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.
No apport
report written because MaxReports is reached already
No apport report written because
MaxReports is reached already
No apport report written because MaxReports is
reached already
No apport report written because MaxReports is reached already
No
apport report written because MaxReports is reached already
No apport report written
because MaxReports is reached already
No apport report written because
MaxReports is reached already
epends on mlmmj; however:
Package mlmmj is not configured yet.
dpkg: error processing dtc-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of courier-imap:
courier-imap depends on postfix | mail-transport-agent; however:
Package postfix is not configured yet.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing courier-imap (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of courier-imap-ssl:
courier-imap-ssl depends on courier-imap (>= 1.3.7-3); however:
Package courier-imap is not configured yet.
dpkg: error processing courier-imap-ssl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of courier-pop:
courier-pop depends on postfix | mail-transport-agent; however:
Package postfix is not configured yet.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing courier-pop (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of courier-pop-ssl:
courier-pop-ssl depends on courier-pop; however:
Package courier-pop is not configured yet.
dpk