Setting up postfix (3.3.0-1ubuntu0.1) ...
setting myhostname=akhilesh-Predator-G3-571..name 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 'service postfix reload'.
Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: akhilesh-Predator-G3-571..name
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: akhilesh-Predator-G3-571..name
dpkg: error processing package postfix (--configure):
installed postfix package post-installation script subprocess returned error exit status 75
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
Я все время меняю myhostname на допустимое имя, скажите «akhilesh» и запускаю:
sudo service postfix restart
Снова postfix изменит его на указанное выше имя или добавит «..name» . В чем тут прикол?