sudo apt-get install postfix
дает следующую проблему:
Setting up postfix (3.1.0-3ubuntu0.3) ...
Postfix configuration was not changed. 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 '/etc/init.d/postfix reload'.
Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: timber..name
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: timber..name
dpkg: error processing package postfix (--configure):
subprocess installed post-installation script returned error exit status 75
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
Я просмотрел другие подобные сообщения, подобные этому, и ошибка, похоже, является «..» в имени хоста, но всякий раз, когда я удаляю ее и меняю имя для дерева, перезагрузить его, а затем повторить установку postfix, он возвращает имя обратно в wood..name, и я снова получаю ту же ошибку.
Setting up postfix (3.1.0-3ubuntu0.3) ...
setting myhostname=timber..name in /etc/postfix
Postfix 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 '/etc/init.d/postfix reload'.
Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: timber..name
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: timber..name
dpkg: error processing package postfix (--configure):
subprocess installed post-installation script returned error exit status 75
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
Я не уверен, как постоянно менять имя или в любом случае, чтобы удалить ошибку. Теперь, когда я пытаюсь установить какой-либо пакет, я получаю ошибки из-за постфикса.