Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
973 views
by Rookie
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.

1 Answer

0 votes
by Expert
  1. Yes.
  2. No, it's not normal.
Also, you should not manually reinstall packages, that's what Webinoly is for.
by Rookie
Thanks for the reply and sorry for the delay.

I think that one aspect that I did not take into account is that to receive emails in certain emails you have to do it through port 587 and TLS.

A greeting.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...