Hello,

It is highly recommended for production servers to use a publicly 
accessible FQDN (for example: openwisp2.mydomain.com) as the hostname in 
the Ansible inventory file. This is needed to send emails properly.

If you are installing for development, you can bypass this error by adding 
postfix_myhostname: 
localhost as one of the vars in playbook.yml.

Regards,
Daniel

On Tuesday, October 22, 2019 at 12:12:06 AM UTC-4, Rental Net wrote:
>
> hello everyone, I try to install openwisp2 in ubuntu so after installation it 
> throws me the following error 
>
> fatal: [192.168.10.97]: FAILED! => {"changed": true, "cmd": 
> ["/usr/sbin/postmap"           , "/etc/postfix/generic"], "delta": 
> "0:00:01.010549", "end": "2019-10-22 01:08:5           4.446612", "msg": 
> "non-zero return code", "rc": 1, "start": "2019-10-22 01:08:53           
> .436063", "stderr": "postmap: warning: valid_hostname: numeric hostname: 
> 192.168           .10.97\npostmap: fatal: file /etc/postfix/main.cf: 
> parameter myhostname: bad par           ameter value: 192.168.10.97", 
> "stderr_lines": ["postmap: warning: valid_hostname           : numeric 
> hostname: 192.168.10.97", "postmap: fatal: file /etc/postfix/main.cf:         
>    parameter myhostname: bad parameter value: 192.168.10.97"], "stdout": "", 
> "stdou           t_lines": []}
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/b025adeb-d7a8-4732-bd71-a2c9dd0248f0%40googlegroups.com.

Reply via email to