could no install postfix during kubuntu upgrade

Bug #222310 reported by Soroosh
2
Affects Status Importance Assigned to Milestone
postfix (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: update-manager

hi
during upgrade kubuntu 7.10 to kubuntu 8.04 i recived an error window!
the title was: "Could not install post fix"
i have installed postfix before but i could not start it!

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Please attach the files in /var/log/dist-upgrade to this bugreport.
 Thanks Michael

Changed in update-manager:
status: New → Incomplete
Revision history for this message
Soroosh (sorset) wrote :
Revision history for this message
Soroosh (sorset) wrote :
Revision history for this message
Soroosh (sorset) wrote :
Revision history for this message
Soroosh (sorset) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Here is what causes the error:

Setting up postfix (2.5.1-2ubuntu1) ...^M
Installing new version of config file /etc/init.d/postfix ...^M
Installing new version of config file /etc/postfix/postfix-script ...^M
Installing new version of config file /etc/postfix/post-install ...^M
Installing new version of config file /etc/postfix/postfix-files ...^M
setting inet_protocols: all^M
^M
Postfix is now set up with the changes above. If you need to make changes, edit^M
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration^M
values, see postconf(1).^M
^M
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.^M
^M
Running newaliases^M
newaliases: fatal: myorigin parameter setting must not contain multiple values: -e true^M
dpkg: error processing postfix (--configure):^M
 subprocess post-installation script returned error exit status 75^M

I reassign to postfix.

Changed in update-manager:
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Scott Kitterman (kitterman) wrote :

Please attach the output of postconf -n to the bug.

Revision history for this message
Soroosh (sorset) wrote :

I have configed post fix from https://help.ubuntu.com/community/Postfix
here is output of "/etc/init.d/postfix reload"

postfix: fatal: myorigin parameter setting must not contain multiple values: -e true
                                                                         [fail]

and output of "postconf -n"

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = server1.example.com, example.com, localhost.example.com, localhost
myhostname = server1.example.com
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandominet_protocols = all

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 222310] Re: could no install postfix during kubuntu upgrade

What are the contents of /etc/mailname?

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 222310] Re: could no install postfix during kubuntu upgrade

On Tue, Apr 29, 2008 at 05:49:29PM -0000, Soroosh wrote:
> postfix: fatal: myorigin parameter setting must not contain multiple values: -e true
> [fail]
>

> myorigin = /etc/mailname

what's the content of /etc/mailname ?

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com

Revision history for this message
Soroosh (sorset) wrote :

"-e true"

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 222310] Re: could no install postfix during kubuntu upgrade

I'm not sure how that got in that file, but you want to edit that file to
have the fully qualified hostname of the server (e.g. mail.example.com).

Revision history for this message
Soroosh (sorset) wrote :

thx
i edited it to "localhost" and fixed.

Changed in postfix:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.