First thank Webinoly for its existence.
But I have problems with the functioning of the default mail server.
When I installed Webinoly and wanted to reset the wordpress password, the mail server was not working. I have read the previous forum queries related to SMTP but I have not been able to solve it. I have tried reinstalling postfix, installing mailutils and configuring the DNS but it has not worked. It's Ubuntu 18.04 and the firewall is ok.
Then I have a couple of doubts:
1.- After installing Webinoly by default. Should postfix be able to send emails? (At least to reset passwords in wordpress)
2.- After doing sudo "log -email" shows:
Aug 3 14:53:08 ubuntu-1804-image postmulti [1140]: warning: valid_hostname: numeric hostname: 04
Aug 3 14:53:08 ubuntu-1804-image postmulti [1140]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 16:22:42 ubuntu-1804-image postmulti [1171]: warning: valid_hostname: numeric hostname: 04
Aug 3 16:22:42 ubuntu-1804-image postmulti [1171]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 16:48:29 ubuntu-1804-image postfix / sendmail [1871]: warning: valid_hostname: numeric hostname: 04
Aug 3 16:48:29 ubuntu-1804-image postfix / sendmail [1871]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 16:48:40 ubuntu-1804-image postfix / sendmail [1874]: warning: valid_hostname: numeric hostname: 04
Aug 3 16:48:40 ubuntu-1804-image postfix / sendmail [1874]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 4 10:30:55 ubuntu-1804-image postmulti [1132]: warning: valid_hostname: numeric hostname: 04
Aug 4 10:30:55 ubuntu-1804-image postmulti [1132]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
==> /var/log/mail.err <==
Aug 2 20:14:39 webinoly-ubuntu-18 postfix / sendmail [51684]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 09:27:38 ubuntu-1804-image postmulti [1152]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 09:43:14 ubuntu-1804-image postfix / sendmail [2619]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 10:11:53 ubuntu-1804-image postfix / sendmail [3041]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 10:17:54 ubuntu-1804-image postfix / sendmail [3196]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 14:53:08 ubuntu-1804-image postmulti [1140]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 16:22:42 ubuntu-1804-image postmulti [1171]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 16:48:29 ubuntu-1804-image postfix / sendmail [1871]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 3 16:48:40 ubuntu-1804-image postfix / sendmail [1874]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Aug 4 10:30:55 ubuntu-1804-image postmulti [1132]: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 04
Is this normal?
Thanks and best regards.