Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
by Rookie

What is the preferred way to set up sending of email (notifications from WordPress and from the server)? I thought I read that Postfix is installed but the mail command doesn't work. What would you recommend? I already have an external SMTP server that I can use.


1 Answer

0 votes
by Expert

Hi sshanky,

Postfix is already installed with Webinoly and WordPress should be able to send emails.

Check your server email log: sudo log -email

Check your firewall settings and be sure port 25 is open.


by Rookie
Thanks. I have a Cron job set up that uses the mail command and it fails because mail command not found.  Also, what's the best way to change the SMTP server?
by Expert

Mail command is not a native Linux feature and is not installed by default in Ubuntu, if you want to use something specific, you should install it by yourself.

sudo apt-get install mailutils


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.