mydomain gets set to "localdomain"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postfix (CentOS) |
New
|
Undecided
|
Unassigned | ||
postfix (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I'm on 16.04.1 with postfix 3.1.0-3. This is almost exactly the same bug that has been reported 8-12 years ago, explained in detail here: https:/
My host+mailname are configured as recommended by Ubuntu, and the postfix config is pretty default. The above upstream debian bug says it was fixed in v2.11, but I'm not sure ...
# postconf | grep ^mydomain
mydomain = localdomain
and then in turn:
# postconf | grep ^myhostname
Here are my configs:
# cat /etc/hosts
7x.xx.xxx.100 lin.foodomain.com lin
127.0.0.1 localhost loopback
127.0.1.1 ubuntu
::1 ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# cat /etc/hostname
lin
# cat /etc/mailname
foodomain.com
# hostname -f
lin.foodomain.com
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
compatibility_level = 2
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 0
masquerade_domains = $myorigin
milter_
milter_protocol = 2
mydestination = foodomain.com, lin.foodomain.com
mynetworks = 127.0.0.0/8 [::ffff:
mynetworks_style = host
myorigin = /etc/mailname
non_smtpd_milters = $smtpd_milters
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_milters = inet:localhost:8891
smtpd_relay_
smtpd_sasl_
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/
smtpd_tls_key_file = /etc/ssl/
smtpd_tls_
smtpd_use_tls = yes
smtputf8_enable = no
Changed in postfix (Ubuntu): | |
importance: | Undecided → Medium |
Status changed to 'Confirmed' because the bug affects multiple users.