postconf: warning: valid_hostname: numeric hostname: 01
postconf: fatal: unable to use my own hostname
postconf: warning: valid_hostname: numeric hostname: 01
postconf: fatal: unable to use my own hostname
dpkg: error processing package postfix (--configure):
installed postfix package post-installation script subprocess returned error exit status 1
Setting up mailutils-common (1:3.4-1) ...
Setting up libgsasl7:amd64 (1.8.0-8ubuntu3) ...
Setting up libmailutils5:amd64 (1:3.4-1) ...
dpkg: dependency problems prevent configuration of mailutils:
mailutils depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package postfix which provides default-mta is not configured yet.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing package mailutils (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for systemd (237-3ubuntu10.38) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for rsyslog (8.32.0-1ubuntu4) ...
Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
Rules updated for profile 'Nginx HTTP'
Skipped reloading firewall
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
Errors were encountered while processing:
postfix
mailutils
E: Sub-process /usr/bin/dpkg returned an error code (1)
Já fiz algumas tentativas que vi na internet, mas nada adiantou. Alguma sugestão?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @fabiosjordao,
You can try to purge postfix and install it again. What you can try is :
rm /var/lib/dpkg/info/postfix.*
The above command will delete any cached files you have for postfix in dpkg. Then run
apt-get purge postfix
Now you should have postfix completely removed from the system. Now that you have it like that go ahead and try to install it again.
Regards, KFSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.