Public bug reported:
After updating from 20.10 to 21.04 (Xubuntu) I ended up during upgrade asked if
I want "internet site" or "Local only" configuration on postfix.
Since not planning on having FQDN mail server on this machine, I choosed Local
only.
If I remove 2 dots from hostname = in /etc/postfix/main.cf , they get re-added
after
' apt upgrade ' and that seems to stop packages upgrade process on machine.
Setting up postfix (3.5.6-1) ...
setting myhostname=xdesk.. in /etc/postfix
Postfix (main.cf) is now set up with the changes above. 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 'systemctl reload postfix'.
Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: xdesk..
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad
parameter value: xdesk..
dpkg: error processing package postfix (--configure):
installed postfix package post-installation script subprocess returned error
exit status 75
Processing triggers for libc-bin (2.33-0ubuntu5) ...
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: postfix 3.5.6-1
ProcVersionSignature: Ubuntu 5.11.0-17.18-generic 5.11.12
Uname: Linux 5.11.0-17-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Thu May 27 09:35:04 2021
DuplicateSignature: InvalidHostOrDomain
EtcMailname: *** /etc/mailname does not exist ***
Hostname: xdesk
PostconfMydomain: .
PostconfMyhostname: xdesk..
PostconfMyorigin: $myhostname
SourcePackage: postfix
UpgradeStatus: Upgraded to hirsute on 2021-05-27 (0 days ago)
** Affects: postfix (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug hirsute regression-retracer
** Information type changed from Private Security to Public
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1929786
Title:
Postfix Local only configuration adds 2 dots on hostname , blocking
package upgrades
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1929786/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs