0 votes
by Talented

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 Talented
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.

* * * * * * *

If you have a question about Webinoly, please ask in English or Spanish.

To report a bug, please ask a question here with the bug tag.


Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations GitHub Sponsors

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

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