sudo apt-get install postfix
apresenta o seguinte problema:
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)
Procurei outros posts semelhantes como este e o erro parece ser o '..' no nome do host, mas sempre que eu removê-lo e mudar o nome para timber , recarregue-o e tente novamente instalar o postfix, ele reverte o nome de volta para timber..name e eu recebo o mesmo erro novamente.
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)
Não sei como alterar permanentemente o nome ou, em qualquer caso, remover o erro. Agora, sempre que tento instalar qualquer pacote, recebo erros por causa do postfix.