Shouldn't postfix improve handling a user setting myhostname with a trailing dot? Or is it just expected to allow the user to set the value and then encounter the error later?
e.g. From Lain's #15 comment
# postconf -e myhostname=mail. mydomain=example.com # newaliases newaliases: warning: valid_hostname: misplaced delimiter: mail. newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: mail.
It sounds like in this scenario myhostname should expand to mail.example.com without an error.
However I do agree this is a weird scenario and I doubt any user will set their hostname with a trailing dot intentionally
Shouldn't postfix improve handling a user setting myhostname with a trailing dot? Or is it just expected to allow the user to set the value and then encounter the error later?
e.g. From Lain's #15 comment
# postconf -e myhostname=mail. mydomain= example. com main.cf: parameter myhostname: bad parameter value: mail.
# newaliases
newaliases: warning: valid_hostname: misplaced delimiter: mail.
newaliases: fatal: file /etc/postfix/
It sounds like in this scenario myhostname should expand to mail.example.com without an error.
However I do agree this is a weird scenario and I doubt any user will set their hostname with a trailing dot intentionally