1

Using Ubuntu 14.04 x64

I had a working installation of Postfix which was handy for sending emails in my terminal, but I had an issue with an application that was critical for my workflow. In order for it to function correctly and I had to change my local machine's hostname to my network IP.

hostname `hostname -I`

https://superuser.com/a/571073/175088

Doing this fixed my work-critical application, but now postfix isn't working. I purged and re-installed postfix to pick up the new hostname, but attempting to start the postfix service now errors with the following message:

postfix: warning: valid_hostname: numeric hostname: [IP-Redacted]
postfix: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: [IP-Redacted]

Is it possible to get postfix to work with an IP address as my hostname?

Nikole
  • 165

1 Answers1

0

change myhostname to ip-[IP-Redacted]